lindawangg / COVID-Net

COVID-Net Open Source Initiative
Other
1.15k stars 480 forks source link

how to inference the other models? #80

Closed jomollin closed 3 years ago

jomollin commented 4 years ago

model COVIDNet-CXR3-B for inference works fine like in die example

how is the cli for the other models?

lindawangg commented 4 years ago

To inference the other files it's the same as the command for model B, but with different weightpath and ckptname, like below.


python inference.py \
    --weightspath models/COVIDNet-CXR3-X \
    --metaname model.meta \
    --ckptname model-XXXX \
    --imagepath assets/ex-covid.jpeg```