nyukat / GMIC

An interpretable classifier for high-resolution breast cancer screening images utilizing weakly supervised localization
https://doi.org/10.1016/j.media.2020.101908
GNU Affero General Public License v3.0
163 stars 48 forks source link

without segmentation path #6

Closed ankitdata closed 4 years ago

ankitdata commented 4 years ago

hi,

How i can run the model without segmentation path and segmentation folder inside sample_data I have cropped images and i want visualization only. Is it possible ?

seyiqi commented 4 years ago

Yes. You can do so by replacing the benign_seg and malignant_seg in this line: https://github.com/nyukat/GMIC/blob/master/src/scripts/run_model.py#L191 with zero matrices that are exactly the same shapes with your input images.