broadinstitute / keras-rcnn

Keras package for region-based convolutional neural networks (RCNNs)
Other
555 stars 222 forks source link

test_malaria takes too long #29

Open JihongJu opened 7 years ago

JihongJu commented 7 years ago

Maybe we could mock the downloading procedure? @jhung0

0x00b1 commented 7 years ago

@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).

jhung0 commented 7 years ago

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

JihongJu commented 7 years ago

@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.