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

loading non existent file 'train_X_small.npy' #4

Closed EyalRozenberg1 closed 6 years ago

EyalRozenberg1 commented 6 years ago

the file 'train_X_small.npy' is loaded from [path of preprocessed output (folder)], but it was never created. should it be downloaded from somewhere?

https://github.com/thtang/CheXNet-with-localization/blob/72a91f13c61bb470c69d912de055f5aed7bc8411/train.py#L38

thtang commented 6 years ago

After running the preprocessing.py , you would receive .npy files for training.

EyalRozenberg1 commented 6 years ago

yes

But you must name the file because it will be run over by the validation .npy file

maybe something like:

np.save(data_path + '/train_X_small', train_X)

np.save(data_path + '/valid_X_small', valid_X)

2018-06-11 11:30 GMT+03:00 T.H. Tang notifications@github.com:

After running the preprocessing.py , you would receive .npy files for training.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thtang/CheXNet-with-localization/issues/4#issuecomment-396163978, or mute the thread https://github.com/notifications/unsubscribe-auth/AkeccwemL0Z3hL3SvfEKAt-uoBty3ho_ks5t7iqcgaJpZM4UiPDV .

thtang commented 6 years ago

Yup, I've fixed it. Thanks

EyalRozenberg1 commented 6 years ago

👍

2018-06-11 11:48 GMT+03:00 T.H. Tang notifications@github.com:

Yup, I've fixed it. Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thtang/CheXNet-with-localization/issues/4#issuecomment-396169048, or mute the thread https://github.com/notifications/unsubscribe-auth/Akecc6htklEVHmWY6GD0JHjEkKhClCsjks5t7i7TgaJpZM4UiPDV .