datadings.sets.ImageNet21k_create_meta module
This module is used to convert/create required metadata for the ImageNet21k dataset (winter release) to be included with datadings.
This tool will look for the following files in the input directory:
imagenet21k_miil_tree.pth
winter21_whole.tar.gz
Important
PyTorch is required to load imagenet21k_miil_tree.pth. The more lightweight CPU-only version is sufficient.
Note
Registration is required to download winter21_whole.tar.gz. Please visit the website to download it. If you experience issues downloading you may consider using bittorrent: https://academictorrents.com/details/8ec0d8df0fbb507594557bce993920442f4f6477