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
168 stars 48 forks source link

How to run the code with my own images? #12

Closed viniciosgnr closed 3 years ago

viniciosgnr commented 3 years ago

How to run the code with my own images?

seyiqi commented 3 years ago

Hi,

You can do so by:

  1. replacing the images in https://github.com/nyukat/GMIC/tree/master/sample_data/images. The model expects images with size 2944*1920.
  2. Creating your own data list pickle file such as the one in https://github.com/nyukat/GMIC/blob/master/sample_data/exam_list_before_cropping.pkl
  3. Follow the pipeline in https://github.com/nyukat/GMIC/blob/master/example_notebook.ipynb.