Synopsis
To whom needs access ImageNet-1k from HuggingFace Hub.
Prerequisite checklist
- Enough disk (>150GB)
- Anaconda pip
- Run the following code:
1
2
3
4
5
6pip install datasets
use a linux command screen to prevent session crashed
refer to https://www.geeksforgeeks.org/screen-command-in-linux-with-examples/
screen -S download
get a token from https://huggingface.co/settings/tokens
huggingface-cli login
Download ImageNet-1k with Token Assess
1 | # refer to https://huggingface.co/datasets/imagenet-1k |