浏览代码

Clarifications for the inception README

Neal Wu 8 年之前
父节点
当前提交
d6bee2c713
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      inception/README.md

+ 6 - 6
inception/README.md

@@ -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:
 
 
 ```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
-mkdir -p ${DATA_DIR}
-cd ${DATA_DIR}
+INCEPTION_MODEL_DIR=$HOME/inception-v3-model
+mkdir -p ${INCEPTION_MODEL_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.
 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/