Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on running demo #16

Open
aditya-droid opened this issue Nov 12, 2019 · 4 comments
Open

Error on running demo #16

aditya-droid opened this issue Nov 12, 2019 · 4 comments

Comments

@aditya-droid
Copy link

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?

@pikapikazhou
Copy link

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

@aditya-droid
Copy link
Author

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

@pikapikazhou
Copy link

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

@foamliu
Copy link
Owner

foamliu commented Dec 13, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants