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

I run this project on Colab,Then I encounter a problem #15

Open
meiguoofa opened this issue Oct 12, 2020 · 13 comments
Open

I run this project on Colab,Then I encounter a problem #15

meiguoofa opened this issue Oct 12, 2020 · 13 comments

Comments

@meiguoofa
Copy link

The error information is No such file or directory: './dataset/ilsvrc2012/val/1/ILSVRC2012_val_00000059.JPEG',But I can find this image in the directory,Your prompt attention to my question is appreciated,Thanks for your help!!

@malcolm1232
Copy link

malcolm1232 commented Nov 20, 2020

Geez.... i love his work though!! i got the same problem.. was trying so hard to figure why i had this as well...

Any suggestions would be very well appreciated!!

@meiguoofa
Copy link
Author

I solve this problem by changing the path to the path that you specify , the args is in the train_options.py ,so change it and do not execute the make_ilsvrc_dataset.py

@malcolm1232
Copy link

Hi @meiguoofa !! good afternoon from Singapore!!
Sorry for the late reply.. been trying out what u said.. but to no avail, erms.. do you mind explaining what u did in a tad bit more detail?

Thank you in advance!!

@meiguoofa
Copy link
Author

What's your error information? you should change the dataset path that you specify in the train_options.py

@malcolm1232
Copy link

malcolm1232 commented Nov 25, 2020 via email

@meiguoofa
Copy link
Author

Sorry,my previous answer may be misleading to you
in the base_option.py parser.add_argument('--phase', type=str, default='val', help='train_small, train, val, test, etc')
the phase change to train
and in the train.py "opt.dataroot = './dataset/ilsvrc2012/%s/' % opt.phase" change to the dataset path that you specify

@malcolm1232
Copy link

malcolm1232 commented Nov 25, 2020 via email

@malcolm1232
Copy link

malcolm1232 commented Nov 26, 2020 via email

@meiguoofa
Copy link
Author

Thanks, But sorry, I don’t know about this problem either , if I solve this problem later, I will discuss with you again , If u solve this problem , I hope u can tell me how to solve this problem.😄

@malcolm1232
Copy link

malcolm1232 commented Nov 26, 2020 via email

@malcolm1232
Copy link

@meiguoofa hey i managed to get it working! For the 3 test.py

you just need to run it in python 2.7

@meiguoofa
Copy link
Author

Great job!!!!! Thanks 😊

@malcolm1232
Copy link

malcolm1232 commented Nov 26, 2020 via email

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