Commit bbf46694 authored by Sebastian Brodehl's avatar Sebastian Brodehl
Browse files

Remove partial download option, as it has no effect combined with -O

parent f50bc179
......@@ -55,11 +55,11 @@ BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub"
BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz"
BBOX_TAR_BALL="${BBOX_DIR}/annotations.tar.gz"
echo "Downloading bounding box annotations."
wget -c "${BOUNDING_BOX_ANNOTATIONS}" -O "${BBOX_TAR_BALL}" || BASE_URL_CHANGE=1
wget "${BOUNDING_BOX_ANNOTATIONS}" -O "${BBOX_TAR_BALL}" || BASE_URL_CHANGE=1
if [ $BASE_URL_CHANGE ]; then
BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nnoupb"
BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz"
wget -c "${BOUNDING_BOX_ANNOTATIONS}" -O "${BBOX_TAR_BALL}"
wget "${BOUNDING_BOX_ANNOTATIONS}" -O "${BBOX_TAR_BALL}"
fi
echo "Uncompressing bounding box annotations ..."
tar xzf "${BBOX_TAR_BALL}" -C "${BBOX_DIR}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment