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

How does the imagenet dir organized? #4

Closed
henanjun opened this issue Aug 14, 2019 · 2 comments
Closed

How does the imagenet dir organized? #4

henanjun opened this issue Aug 14, 2019 · 2 comments

Comments

@henanjun
Copy link

I want to run 'imagenet.py' and it needs specify a 'path' to 'image_dir'. Can you show me how does the files organized in 'image_dir'? Thank you very much,

@tanglang96
Copy link
Owner

It's similar to torchvision.datasets.ImageFolder, images are arranged in this way:

path/dog/xxx.png
path/dog/xxy.png
path/dog/xxz.png

path/cat/123.png
path/cat/nsdf3.png
path/cat/asd932_.png

@henanjun
Copy link
Author

Thanks for kind reply.:)

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