OGNet icon indicating copy to clipboard operation
OGNet copied to clipboard

help to run code

Open valadad opened this issue 3 years ago • 2 comments

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

valadad avatar Aug 31 '21 20:08 valadad

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

eladmeir avatar Sep 22 '21 13:09 eladmeir

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

valadad avatar Sep 28 '21 11:09 valadad