Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
316b6d21
Commit
316b6d21
authored
Nov 26, 2017
by
joel-shor
Browse files
Fix two issues with tensorflow_models/slim downloading imagenet.
1) Fix word dir 2) Fix download url
parent
220772b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
research/slim/datasets/download_and_convert_imagenet.sh
research/slim/datasets/download_and_convert_imagenet.sh
+1
-1
research/slim/datasets/download_imagenet.sh
research/slim/datasets/download_imagenet.sh
+1
-1
No files found.
research/slim/datasets/download_and_convert_imagenet.sh
View file @
316b6d21
...
@@ -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"
...
...
research/slim/datasets/download_imagenet.sh
View file @
316b6d21
...
@@ -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/n
onpu
b"
BASE_URL
=
"http://www.image-net.org/challenges/LSVRC/2012/n
noup
b"
# 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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment