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

Cann't find the file clsloc.txt #2

Open
hengliangzhu opened this issue Dec 5, 2018 · 1 comment
Open

Cann't find the file clsloc.txt #2

hengliangzhu opened this issue Dec 5, 2018 · 1 comment

Comments

@hengliangzhu
Copy link

Hi,
I have a problem when i run the code, the error is that:
cann't find the file clsloc.txt

Then i check the file helpers.py, the source code as follows:
…………
def get_labels(filename_list):
# load 1000 categories ids
clsloc_file = '/localdisk/dataset/tiny-imagenet-100-A/clsloc.txt'
with open(clsloc_file) as f:
content = f.readlines()
content = [x.strip() for x in content]
…………
But the file clsloc.txt is not exist, so i don't know the format of this file.
can you give me a help?
Thanks!!!

@IAMONLYERIC
Copy link

maybe this can solve your question.
https://gist.github.com/aaronpolhamus/964a4411c0906315deb9f4a3723aac57

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