Skip to content

help to run code #5

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

Open
valadad opened this issue Aug 31, 2021 · 2 comments
Open

help to run code #5

valadad opened this issue Aug 31, 2021 · 2 comments

Comments

@valadad
Copy link

valadad commented Aug 31, 2021

Hi

I am a beginner in the python language, when I run the code I get this error, knowing that the data has been added ( data {test[0 , 1] , train[0]} , I don't know if miss something

The code which I run : python train.py

And this is the output :
image
Thanks

@eladmeir
Copy link

You must keep your data in a sub-directory, under the name of the class
You have probably added your "0" class instances to "./data/train/", instead of "./data/train/0"

At least that's how I could reproduce your exact error... When creating a sub directory "0" as "./data/train/0" and moving all files into it I couldn't see any errors whatsoever

@valadad
Copy link
Author

valadad commented Sep 28, 2021

You must keep your data in a sub-directory, under the name of the class You have probably added your "0" class instances to "./data/train/", instead of "./data/train/0"

At least that's how I could reproduce your exact error... When creating a sub directory "0" as "./data/train/0" and moving all files into it I couldn't see any errors whatsoever

Hi eladmeir
This is project folders
image

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

2 participants