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
a704458a
Commit
a704458a
authored
Sep 20, 2016
by
Chris Shallue
Browse files
Add Bazel workspace name to fix bug in relative path of shell scripts.
parent
091d6e4a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
4 deletions
+6
-4
im2txt/WORKSPACE
im2txt/WORKSPACE
+1
-0
im2txt/im2txt/data/download_and_preprocess_mscoco.sh
im2txt/im2txt/data/download_and_preprocess_mscoco.sh
+1
-1
inception/WORKSPACE
inception/WORKSPACE
+1
-0
inception/inception/data/download_and_preprocess_flowers.sh
inception/inception/data/download_and_preprocess_flowers.sh
+1
-1
inception/inception/data/download_and_preprocess_flowers_mac.sh
...ion/inception/data/download_and_preprocess_flowers_mac.sh
+1
-1
inception/inception/data/download_and_preprocess_imagenet.sh
inception/inception/data/download_and_preprocess_imagenet.sh
+1
-1
No files found.
im2txt/WORKSPACE
View file @
a704458a
workspace
(
name
=
"im2txt"
)
im2txt/im2txt/data/download_and_preprocess_mscoco.sh
View file @
a704458a
...
...
@@ -35,7 +35,7 @@ SCRATCH_DIR="${OUTPUT_DIR}/raw-data"
mkdir
-p
"
${
OUTPUT_DIR
}
"
mkdir
-p
"
${
SCRATCH_DIR
}
"
CURRENT_DIR
=
$(
pwd
)
WORK_DIR
=
"
$0
.runfiles/
__main__
/im2txt"
WORK_DIR
=
"
$0
.runfiles/
im2txt
/im2txt"
# Helper function to download and unpack a .zip file.
function
download_and_unzip
()
{
...
...
inception/WORKSPACE
View file @
a704458a
workspace
(
name
=
"inception"
)
inception/inception/data/download_and_preprocess_flowers.sh
View file @
a704458a
...
...
@@ -44,7 +44,7 @@ DATA_DIR="${1%/}"
SCRATCH_DIR
=
"
${
DATA_DIR
}
/raw-data/"
mkdir
-p
"
${
DATA_DIR
}
"
mkdir
-p
"
${
SCRATCH_DIR
}
"
WORK_DIR
=
"
$0
.runfiles/
__main__
/inception"
WORK_DIR
=
"
$0
.runfiles/
inception
/inception"
# Download the flowers data.
DATA_URL
=
"http://download.tensorflow.org/example_images/flower_photos.tgz"
...
...
inception/inception/data/download_and_preprocess_flowers_mac.sh
View file @
a704458a
...
...
@@ -44,7 +44,7 @@ DATA_DIR="${1%/}"
SCRATCH_DIR
=
"
${
DATA_DIR
}
/raw-data/"
mkdir
-p
"
${
DATA_DIR
}
"
mkdir
-p
"
${
SCRATCH_DIR
}
"
WORK_DIR
=
"
$0
.runfiles/
__main__
/inception"
WORK_DIR
=
"
$0
.runfiles/
inception
/inception"
# Download the flowers data.
DATA_URL
=
"http://download.tensorflow.org/example_images/flower_photos.tgz"
...
...
inception/inception/data/download_and_preprocess_imagenet.sh
View file @
a704458a
...
...
@@ -58,7 +58,7 @@ DATA_DIR="${1%/}"
SCRATCH_DIR
=
"
${
DATA_DIR
}
/raw-data/"
mkdir
-p
"
${
DATA_DIR
}
"
mkdir
-p
"
${
SCRATCH_DIR
}
"
WORK_DIR
=
"
$0
.runfiles/
__main__
/inception"
WORK_DIR
=
"
$0
.runfiles/
inception
/inception"
# Download the ImageNet data.
LABELS_FILE
=
"
${
WORK_DIR
}
/data/imagenet_lsvrc_2015_synsets.txt"
...
...
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