v0.5.0
[platform/upstream/caffeonacl.git] / data / ilsvrc12 / get_ilsvrc_aux.sh
1 #!/usr/bin/env sh
2 #
3 # N.B. This does not download the ilsvrcC12 data set, as it is gargantuan.
4 # This script downloads the imagenet example auxiliary files including:
5 # - the ilsvrc12 image mean, binaryproto
6 # - synset ids and words
7 # - Python pickle-format data of ImageNet graph structure and relative infogain
8 # - the training splits with labels
9
10 DIR="$( cd "$(dirname "$0")" ; pwd -P )"
11 cd "$DIR"
12
13 echo "Downloading..."
14
15 wget -c http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
16
17 echo "Unzipping..."
18
19 tar -xf caffe_ilsvrc12.tar.gz && rm -f caffe_ilsvrc12.tar.gz
20
21 echo "Done. "