matterport / Mask_RCNN

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
Other
24.67k stars 11.71k forks source link

How to load an entire black mask? #510

Open bertocast opened 6 years ago

bertocast commented 6 years ago

Hi folks,

I'm currently trying to work with some mask with are all background, i.e., no object is present in the image.

How am I supposed to load those masks? In particular, which is the expected output of load_mask method?

Thank you.

bertocast commented 6 years ago

Any comments on this?

taijizhao commented 6 years ago

I have the same question. I am working on medical image lesion detection, and there are considerable amount of "clean" images which don't contain any lesions which need to be trained on.

pangwenfeng commented 6 years ago

Anyone one find the solution? I also faced the same problem.