"mmdet3d/vscode:/vscode.git/clone" did not exist on "5db915b5e563affaf378076408544aa4c8b2f781"
Commit 1493624e authored by Martin Wicke's avatar Martin Wicke
Browse files

Merge pull request #33 from ffmpbgrnn/master

The ILSVRC original image url somehow changed, use the new one if failed
parents d51fdd20 2aff70fc
...@@ -56,6 +56,12 @@ BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub" ...@@ -56,6 +56,12 @@ BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub"
BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz" BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz"
BBOX_TAR_BALL="${BBOX_DIR}/annotations.tar.gz" BBOX_TAR_BALL="${BBOX_DIR}/annotations.tar.gz"
echo "Downloading bounding box annotations." echo "Downloading bounding box annotations."
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"
BBOX_TAR_BALL="${BBOX_DIR}/annotations.tar.gz"
fi
wget "${BOUNDING_BOX_ANNOTATIONS}" -O "${BBOX_TAR_BALL}" wget "${BOUNDING_BOX_ANNOTATIONS}" -O "${BBOX_TAR_BALL}"
echo "Uncompressing bounding box annotations ..." echo "Uncompressing bounding box annotations ..."
tar xzf "${BBOX_TAR_BALL}" -C "${BBOX_DIR}" 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