MSKCC-Computational-Pathology / MIL-nature-medicine-2019

340 stars 104 forks source link

Error while running MIL_train.py #20

Open naveenagorre opened 2 years ago

naveenagorre commented 2 years ago

Hello, I'm working on running the MIL_train script and it's throwing me the below mentioned error:

Any suggestions what's going on.

OS - Linux Openslide-python version 1.1.2

qiyueliuhuo23 commented 2 years ago

Hi,naveenagorre. I run the code recently and I got the same errors. So could you tell me how you deal with the error? Thanks a lot.

naveenagorre commented 2 years ago

Hi huo,

Thank you for reaching out. Few of my input variables obtained from dictionary are not int/float which is what the code expects. I have tried converting them into int/float and now I'm able to fix it. Also there is another repo who have also implemented code for MIL/RNN. https://github.com/TankZhouFirst/clinical-grade-computational-pathology-using-weakly-supervised-deep-learning-on-whole-slide-images

Regards [image002] Naveena Gorre Machine Learning Engineer Moffitt Cancer Center 12902 Magnolia Drive, Tampa, FL 33612 | email: @.***>

From: qiyueliuhuo23 @.> Sent: Friday, July 1, 2022 5:49 AM To: MSKCC-Computational-Pathology/MIL-nature-medicine-2019 @.> Cc: Gorre, Naveena @.>; Author @.> Subject: EXT:Re: [MSKCC-Computational-Pathology/MIL-nature-medicine-2019] Error while running MIL_train.py (Issue #20)

Hi,naveenagorre. I run the code recently and I got the same errors. So could you tell me how you deal with the error? Thanks a lot.

- Reply to this email directly, view it on GitHubhttps://github.com/MSKCC-Computational-Pathology/MIL-nature-medicine-2019/issues/20#issuecomment-1172159946, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUBUFZCQXW2A73E2CLONWYLVR25JRANCNFSM5LF2YP6A. You are receiving this because you authored the thread.Message ID: @.**@.>>

This transmission may be confidential or protected from disclosure and is only for review and use by the intended recipient. Access by anyone else is unauthorized. Any unauthorized reader is hereby notified that any review, use, dissemination, disclosure or copying of this information, or any act or omission taken in reliance on it, is prohibited and may be unlawful. If you received this transmission in error, please notify the sender immediately. Thank you.

qiyueliuhuo23 commented 2 years ago

Your answer was very useful to me, thank you very much for your help. Have a nice day!