thtang / CheXNet-with-localization

Weakly Supervised Learning for Findings Detection in Medical Images
https://www.csie.ntu.edu.tw/~yvchen/f106-adl/doc/HTCMedical.pdf
GNU General Public License v3.0
314 stars 108 forks source link

How to run find_bbox_size.py? #24

Open Warrior996 opened 1 year ago

Warrior996 commented 1 year ago

Thank you very much for your project! I am trying to run the find_bbox_size.py for obtaining IOU scores.

This is the annotation in the find_bbox_size.py.

Find the size of bounding boxes Usage: python3 find_bbox_size.py <{train,valid}heatmap> contains .npy files named 'heatmap_.npy' describing the heatmap of positive cases predicted by our model files in will only be used to calculate IOU scores

is the order of each validation image (in valid.txt) is the disease class in alphabetical order (0-7)

Where to obtain ? Follow your prompts,<{train,valid}heatmap> contains .npy files named 'heatmap_.npy'

I really hope to receive your answer! Thanks!