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

Check for getting ILSVRC2012 datasets from image-net.org #1291

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion imagenet/extract_ILSVRC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,29 @@
# │ ├── ......
# ├── ......
#
#

if [ ! -f ILSVRC2012_img_train.tar ]; then
read -p "There is no train data. Do you want to download ILSVRC2012_img_train.tar (about 138 GB)? (y/n): " answer
if [ "$answer" = "y" ]; then
wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_train.tar --no-check-certificate
else
exit
fi
else
echo "The train data 'ILSVRC2012_img_train.tar' is in the current directory."
fi

if [ ! -f ILSVRC2012_img_val.tar ]; then
read -p "There is no train data. Do you want to download ILSVRC2012_img_val.tar (about 6.3 GB)? (y/n): " answer
if [ "$answer" = "y" ]; then
wget https://image-net.org/data/ILSVRC/2012/ILSVRC2012_img_val.tar --no-check-certificate
else
exit
fi
else
echo "The val data 'ILSVRC2012_img_val.tar' is in the current directory."
fi

# Make imagnet directory
#
mkdir imagenet
Expand Down