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
c778f4ad
"test/vscode:/vscode.git/clone" did not exist on "69ce4523390c673ee48a96946868b7268eec437d"
Commit
c778f4ad
authored
Sep 22, 2016
by
Chris Shallue
Browse files
Add Bazel workspace name to fix bug in relative path of shell scripts.
parent
42037654
Changes
6
Hide 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 @
c778f4ad
workspace
(
name
=
"im2txt"
)
im2txt/im2txt/data/download_and_preprocess_mscoco.sh
View file @
c778f4ad
...
...
@@ -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 @
c778f4ad
workspace
(
name
=
"inception"
)
inception/inception/data/download_and_preprocess_flowers.sh
View file @
c778f4ad
...
...
@@ -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/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 @
c778f4ad
...
...
@@ -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/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 @
c778f4ad
...
...
@@ -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/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