Open Mps24-7uk opened 4 years ago
Same question, pls help~
@PingoLH @Mps24-7uk @huang45 I have same issue.
I am trying to use test.py to test a single (or couple of) images. Can you share a typical test.py command line to do this? I am using the following but it is not working: python test.py --model_path '/home/arl/Documents/FCHARDNET/FCHarDNet-master/ptsemseg/models/hardnet.py' --dataset 'cityscapes' --input '/home/arl/Documents/FCHARDNET/FCHarDNet-master/test_image/index.jpeg' --output '/home/arl/Documents/FCHARDNET/FCHarDNet-master/test_image/index_output.jpeg' In particular what should the --model_path point to? hardnet.py? or the weights *.pkl? Also why does --dataset point to cityscapes if I am trying to test my own data?
I get the following error:
File "test.py", line 122, in
Thanks for an amazing repository.
How can I test the result with Cityscapes pre-trained weights for the single image?