jannisborn / covid19_ultrasound

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

missing model_factory #113

Closed garytann closed 1 year ago

garytann commented 1 year ago

Hi all, I am reproducing the training environment with the train_covid19 script. However from

from pocovidnet import MODEL_FACTORY

I cannot seemed to locate the directory to this module, anyone faced similar issues?

jannisborn commented 1 year ago

Hi, Thanks for your interest. I'm pretty sure this is a local issue on your side. Are you sure that you followed the installation instructions in the README?

garytann commented 1 year ago

Hi @jannisborn thanks for the reply,

yes I did follow the installations via the README and I am executing the train_covid19.py script from the directory of the README of pocovidnet. However, I keep getting an error of

ModuleNotFoundError: No module named 'pocovidnet'

when I run the script, I have checked that the module exists in the directory

jannisborn commented 1 year ago

Can you

cd covid19_ultrasound/pocovidnet
pip install -e .

and try again?

garytann commented 1 year ago

hi @jannisborn thanks for the help, I realised I used a different virtual env thus did not have the dependencies setup. Apologies. Please close this issue