jannisborn / covid19_ultrasound

Open source lung ultrasound (LUS) data collection initiative for COVID-19.
https://www.mdpi.com/2076-3417/11/2/672
152 stars 80 forks source link

update README butterfly ultrasound gallery link #102

Closed nickdnickd closed 2 years ago

jannisborn commented 2 years ago

Thanks a lot for finding and sharing the updated link!

rafaelblevin821 commented 2 years ago

Hi, I'm running into an error when trying to test the model.

test.py: error: unrecognized arguments: [-h] [--data DATA] [--weights WEIGHTS] [--m_id M_ID] [--classes CLASSES] [--folds FOLDS] [--save_path SAVE_PATH]

Any ideas how I can rectify this? Thanks.

nickdnickd commented 2 years ago

Thanks a lot for finding and sharing the updated link!

any time! Thank you for open sourcing this.

nickdnickd commented 2 years ago

Hi, I'm running into an error when trying to test the model.

test.py: error: unrecognized arguments: [-h] [--data DATA] [--weights WEIGHTS] [--m_id M_ID] [--classes CLASSES] [--folds FOLDS] [--save_path SAVE_PATH]

Any ideas how I can rectify this? Thanks.

Hi @rafaelblevin821 This is a pull request and not the issues page, but I can try to help. It seems like you might have pasted this line from the README. That is actually help text for the command; in reality you usually don't use square brackets in a command []. The real command looks like it can actually run with defaults if you have been using defaults all the way through. However, on my first run I used 3 classes instead of 4 (the extra class is unknown IIRC). Also my models are in a different location

This is what worked for me but your results may be different: python scripts/test.py --weights models/test --classes 3

rafaelblevin821 commented 2 years ago

Hi, I'm running into an error when trying to test the model. test.py: error: unrecognized arguments: [-h] [--data DATA] [--weights WEIGHTS] [--m_id M_ID] [--classes CLASSES] [--folds FOLDS] [--save_path SAVE_PATH] Any ideas how I can rectify this? Thanks.

Hi @rafaelblevin821 This is a pull request and not the issues page, but I can try to help. It seems like you might have pasted this line from the README. That is actually help text for the command; in reality you usually don't use square brackets in a command []. The real command looks like it can actually run with defaults if you have been using defaults all the way through (although you may have to update data).

Try python scripts/test.py in your terminal

Hi, Sorry, I will post this in the issues section.

I tried python scripts/test.py but got more errors.

Will continue the thread in the issues section if that is ok?