Car-Recognition icon indicating copy to clipboard operation
Car-Recognition copied to clipboard

Error on running demo

Open aditya-droid opened this issue 6 years ago • 4 comments

Hi, Firsty, I would like to thank you for the awesome work you have been contributing towards open-source for car-model detection. I have been getting the following error while running the demo.py file:

image

Also, which model are you using for the this repo?

aditya-droid avatar Nov 12 '19 16:11 aditya-droid

I met the problem too, and if you can tell me the solution if you solve this trouble . Thank you so much

pikapikazhou avatar Dec 10 '19 15:12 pikapikazhou

I still haven't found the solution. I am waiting for the developer's response.

aditya-droid avatar Dec 11 '19 06:12 aditya-droid

I still haven't found the solution. I am waiting for the developer's response.

I solved the problem yesterday.
demo.py line24: os.path.isfile(os.path.join(test_path, f)) and f.endswith('.jpg')] #change the .jpg to .png

that's because in the images folder , the number of jpg pictures is less than 20

image hope it can help you

pikapikazhou avatar Dec 12 '19 01:12 pikapikazhou

Thanks @pikapikazhou , could you please create a PR to fix this? @aditya-droid Sorry, I've switched to PyTorch 1 year ago and don't have a keras/tf environement.

foamliu avatar Dec 13 '19 03:12 foamliu