Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 714 Bytes

readme.md

File metadata and controls

23 lines (17 loc) · 714 Bytes

ImageNet superclass

The example of superclass list and source code. The number of superclasses is 558.

requirements

ImageNet dataset

See here for details.

wordnet.is_a.txt

Please download from here.

words.txt

Please download from here.

torch and torchvision

pip install -r requirements.txt

run

python create.py <imagenet_root> <wordnet_is_a_txt_path> <words_txt_path> -s <superclass_path> -sn <superclass_names_path>