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
d6bee2c7
Commit
d6bee2c7
authored
Apr 05, 2017
by
Neal Wu
Browse files
Clarifications for the inception README
parent
68e47ad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
inception/README.md
inception/README.md
+6
-6
No files found.
inception/README.md
View file @
d6bee2c7
...
@@ -435,12 +435,12 @@ JPEG-encoded string and an integer label. Please see [`parse_example_proto`](inc
...
@@ -435,12 +435,12 @@ JPEG-encoded string and an integer label. Please see [`parse_example_proto`](inc
The script just takes a few minutes to run depending your network connection
The script just takes a few minutes to run depending your network connection
speed for downloading and processing the images. Your hard disk requires 200MB
speed for downloading and processing the images. Your hard disk requires 200MB
of free storage. Here we select
`DATA_DIR=
$HOME
/flowers-data`
as such a location
of free storage. Here we select
`DATA_DIR=
/tmp
/flowers-data
/
`
as such a location
but feel free to edit accordingly.
but feel free to edit accordingly.
```
shell
```
shell
# location of where to place the flowers data
# location of where to place the flowers data
FLOWERS_DATA_DIR
=
$HOME
/flowers-data
FLOWERS_DATA_DIR
=
/tmp
/flowers-data
/
# build the preprocessing script.
# build the preprocessing script.
bazel build inception/download_and_preprocess_flowers
bazel build inception/download_and_preprocess_flowers
...
@@ -473,9 +473,9 @@ model like so:
...
@@ -473,9 +473,9 @@ model like so:
```
shell
```
shell
# location of where to place the Inception v3 model
# location of where to place the Inception v3 model
DATA
_DIR
=
$HOME
/inception-v3-model
INCEPTION_MODEL
_DIR
=
$HOME
/inception-v3-model
mkdir
-p
${
DATA
_DIR
}
mkdir
-p
${
INCEPTION_MODEL
_DIR
}
cd
${
DATA
_DIR
}
cd
${
INCEPTION_MODEL
_DIR
}
# download the Inception v3 model
# download the Inception v3 model
curl
-O
http://download.tensorflow.org/models/image/imagenet/inception-v3-2016-03-01.tar.gz
curl
-O
http://download.tensorflow.org/models/image/imagenet/inception-v3-2016-03-01.tar.gz
...
@@ -526,7 +526,7 @@ the flowers data set with the following command.
...
@@ -526,7 +526,7 @@ the flowers data set with the following command.
bazel build inception/flowers_train
bazel build inception/flowers_train
# Path to the downloaded Inception-v3 model.
# Path to the downloaded Inception-v3 model.
MODEL_PATH
=
"
${
INCEPTION_MODEL_DIR
}
/model.ckpt-157585"
MODEL_PATH
=
"
${
INCEPTION_MODEL_DIR
}
/
inception-v3/
model.ckpt-157585"
# Directory where the flowers data resides.
# Directory where the flowers data resides.
FLOWERS_DATA_DIR
=
/tmp/flowers-data/
FLOWERS_DATA_DIR
=
/tmp/flowers-data/
...
...
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