packnet-sfm
packnet-sfm copied to clipboard
set image_shape in infer.py
in the argument:
python3 scripts/infer.py --checkpoint <checkpoint.ckpt> --input
i followed it and type: $ python infer.py --checkpoint PackNet01_MR_semisup_CStoK.ckpt --input Testbilder/test_01.jpg --output Output/test_01_out_shaped.jpg --image_shape (640,640)
and got this error: bash: syntax error near unexpected token `('
can someone give me an example how to write the command correctly? thanks!
Use spaces instead:
$ python infer.py --checkpoint PackNet01_MR_semisup_CStoK.ckpt --input Testbilder/test_01.jpg --output Output/test_01_out_shaped.jpg --image_shape 640 640
However, I tried it and it's not working with every shape ...