marshuang80 / gloria

GLoRIA: A Multimodal Global-Local Representation Learning Framework forLabel-efficient Medical Image Recognition
Apache License 2.0
173 stars 29 forks source link

pretrained code #9

Closed raytaoliu closed 2 years ago

raytaoliu commented 2 years ago

Hi, i am running your pretrained code and I got this error and do you know how to deal with this? image

marshuang80 commented 2 years ago

Hi there, you are seeing this error because the config is missing the "norm" argument under model. I have updated chexpert_pretrain_config.yaml with that configuration (link). Can you please check if that solves the problem?

raytaoliu commented 2 years ago

Hi , I still got this error. If I update the config do I need to reinstall the package?

marshuang80 commented 2 years ago

Which config file are you using?

raytaoliu commented 2 years ago

pretrained config

raytaoliu commented 2 years ago

I just run the pretrained code and I don't find which config I am using.

marshuang80 commented 2 years ago

Can you confirm that you've pulled the lastest changes and this is the commands you ran: python run.py -c ./configs/chexpert_pretrain_config.yaml --train

raytaoliu commented 2 years ago

No, I am just running the 'Load GLoRIA pretrained models' and I got this error.

raytaoliu commented 2 years ago

If I run the commends 'python run.py -c #./configs/chexpert_pretrain_config.yaml --train' and I will get error: image Is this normal?

marshuang80 commented 2 years ago

You'l need to modify CHEXPERT_DATA_DIR in constants.py (link) to point to your chexpert data directory to avoid the "FileNotFoundError"

marshuang80 commented 2 years ago

Thank you for helping me debug the error. I've made some changes - can you pull the repo again and try load GLoRIA pretrained models again?

raytaoliu commented 2 years ago

Solved with the previous error but there is a new error: image

marshuang80 commented 2 years ago

Made new changes - how about now?

raytaoliu commented 2 years ago

still got error: image

marshuang80 commented 2 years ago

My apologies, how about now?

raytaoliu commented 2 years ago

got error: image

marshuang80 commented 2 years ago

How about now

raytaoliu commented 2 years ago

image Is this a typo or other error?

marshuang80 commented 2 years ago

typo, thank you for your help

raytaoliu commented 2 years ago

Thanks for your patience and can I know where to download chexpert?

marshuang80 commented 2 years ago

Please refer to this link for more information on CheXpert: https://stanfordmlgroup.github.io/competitions/chexpert/

Just a heads up - the CheXpert reports are still under review to ensure HIPPA compliance and patient privacy; hence not publicly accessible yet.

zyt0211 commented 1 year ago

Thank you for your outstanding work! May I ask when master_updated.csv will be published, or can you tell me what parts it consists of? Looking forward to your reply!