adding cifar100 download script in linux

this is the linux version of cifar100 download script !
This commit is contained in:
Seyyed Hossein Hasan Pour 2016-07-20 18:07:13 +04:30 коммит произвёл GitHub
Родитель 353b9d257f
Коммит e09cd70629
1 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,19 @@
#!/usr/bin/env sh
# This scripts downloads the CIFAR100 (binary version) data and unzips it.
# After executing this script, and files being extracted, you need to head to
# examples/cifar100 and then execute create_cifar100
DIR="$( cd "$(dirname "$0")" ; pwd -P )"
cd $DIR
echo "Downloading..."
wget --no-check-certificate http://www.cs.toronto.edu/~kriz/cifar-100-binary.tar.gz
echo "Unzipping..."
tar -xf cifar-100-binary.tar.gz && rm -f cifar-100-binary.tar.gz
# Creation is split out because leveldb sometimes causes segfault
# and needs to be re-created.
echo "Done."