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

trainer.py not running #14

Open
AbdullahAlfayez opened this issue Aug 22, 2019 · 4 comments
Open

trainer.py not running #14

AbdullahAlfayez opened this issue Aug 22, 2019 · 4 comments

Comments

@AbdullahAlfayez
Copy link

It shows errors when I try to run the trainer file. Could you please help? I am trying to run it on windows 10

@satinder147
Copy link
Owner

What is the error?

@abeepathak96
Copy link

It shows error while running on Ubuntu18.04

Traceback (most recent call last):
File "trainer.py", line 34, in
y_data.append(int(x[-1]))
ValueError: invalid literal for int() with base 10: 'i'

@satinder147
Copy link
Owner

The error I think is that you have not correctly named the directories as mentioned in the readme. The label of the class is taken from the folder which has the images. If you will not insert a number in the end, it would raise an error.

@AbhishekP-Ai
Copy link

Thank you for the advise.

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

4 participants