Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c1d309

Browse files
authored
Merge pull request tensorflow#2902 from joel-shor/fix_slim
Fix two issues with tensorflow_models/slim downloading imagenet.
2 parents 0d24f25 + 316b6d2 commit 8c1d309

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

research/slim/datasets/download_and_convert_imagenet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ DATA_DIR="${1%/}"
5858
SCRATCH_DIR="${DATA_DIR}/raw-data/"
5959
mkdir -p "${DATA_DIR}"
6060
mkdir -p "${SCRATCH_DIR}"
61-
WORK_DIR="$0.runfiles/third_party/tensorflow_models/research/slim"
61+
WORK_DIR="$0.runfiles/__main__"
6262

6363
# Download the ImageNet data.
6464
LABELS_FILE="${WORK_DIR}/datasets/imagenet_lsvrc_2015_synsets.txt"

research/slim/datasets/download_imagenet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ mkdir -p "${BBOX_DIR}"
4949
cd "${OUTDIR}"
5050

5151
# Download and process all of the ImageNet bounding boxes.
52-
BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub"
52+
BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nnoupb"
5353

5454
# See here for details: http://www.image-net.org/download-bboxes
5555
BOUNDING_BOX_ANNOTATIONS="${BASE_URL}/ILSVRC2012_bbox_train_v2.tar.gz"

0 commit comments

Comments
 (0)