keras-rcnn icon indicating copy to clipboard operation
keras-rcnn copied to clipboard

test_malaria takes too long

Open JihongJu opened this issue 7 years ago • 3 comments

Maybe we could mock the downloading procedure? @jhung0

JihongJu avatar Jun 09 '17 23:06 JihongJu

@JihongJu I agree. It’ll also save us some money. Especially when providing COCO and VOC (I’m working on a VOC dataset this weekend).

0x00b1 avatar Jun 10 '17 21:06 0x00b1

@JihongJu what do you mean by mock the downloading procedure?

jhung0 avatar Jun 11 '17 20:06 jhung0

@jhung0 So if you have operations that you don't want them to be executed during unit testing, you can "mock" these operations so that they will be replaced by "fake" ones. You can find a better summary of "mocking" here, and a library for Python here.

JihongJu avatar Jun 11 '17 21:06 JihongJu