Commit 316b6d21 authored by joel-shor's avatar joel-shor
Browse files

Fix two issues with tensorflow_models/slim downloading imagenet.

1) Fix word dir
2) Fix download url
parent 220772b5
...@@ -58,7 +58,7 @@ DATA_DIR="${1%/}" ...@@ -58,7 +58,7 @@ DATA_DIR="${1%/}"
SCRATCH_DIR="${DATA_DIR}/raw-data/" SCRATCH_DIR="${DATA_DIR}/raw-data/"
mkdir -p "${DATA_DIR}" mkdir -p "${DATA_DIR}"
mkdir -p "${SCRATCH_DIR}" mkdir -p "${SCRATCH_DIR}"
WORK_DIR="$0.runfiles/third_party/tensorflow_models/research/slim" WORK_DIR="$0.runfiles/__main__"
# Download the ImageNet data. # Download the ImageNet data.
LABELS_FILE="${WORK_DIR}/datasets/imagenet_lsvrc_2015_synsets.txt" LABELS_FILE="${WORK_DIR}/datasets/imagenet_lsvrc_2015_synsets.txt"
......
...@@ -49,7 +49,7 @@ mkdir -p "${BBOX_DIR}" ...@@ -49,7 +49,7 @@ mkdir -p "${BBOX_DIR}"
cd "${OUTDIR}" cd "${OUTDIR}"
# Download and process all of the ImageNet bounding boxes. # Download and process all of the ImageNet bounding boxes.
BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub" BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nnoupb"
# See here for details: http://www.image-net.org/download-bboxes # See here for details: http://www.image-net.org/download-bboxes
BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz" BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz"
......
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