Closed zeeshanalipanhwar closed 3 years ago
You need to define the output folder, otherwise you will get this error. Also, the output should come before —opts otherwise Detectron2 will raise error.
for example you should write it like this:
python demo/demo.py \ --config-file configs/CondInst/MS_R_50_1x.yaml \ --input 00070.jpg \ --output OutputFolder --opts MODEL.WEIGHTS training_dir/CondInst_MS_R_50_1x/model_final.pth
The above script leads to the following:
Why is that errors caused, and what is the warning about?