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