-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Description
📚 The doc issue
The ImageNet documentation is quite short and skips a lot of steps on how to use it for the first time. A better description on how to use it would be nice.
As far as I understand
- one has to download
...train.tar,...val.tarand...test.tarfiles - one has to download the
task 1 and 2 devkit - one has to unpack these into
train,valandtestfolders respectively. - one has to use some shell script to reorganise the folder structure into
val/class_tag/image.jpeg. For val set or for all sets?
Suggest a potential alternative/fix
Add instructions:
- Visit https://www.image-net.org/ and download the 2012 train, test and val images for Task 1 and 2.
- In your
/data/ImageNetfolder create subfolderstrain,valandtest. - Unpack the image
.tarfiles for each split. - Copy the following [link here](link here) shell script into your train, val and test folders, respectively and run them. This will reorganize these folders to be compatible with
torchvision.dataset.ImageFolderwhich bases theImageNetclass.
cc @pmeier