Unverified Commit 3cb798fe authored by Chris Shallue's avatar Chris Shallue Committed by GitHub
Browse files

Merge pull request #3063 from DecentGradient/readme

readme fixes
parents f729a8c8 95b0b036
...@@ -119,8 +119,8 @@ First ensure that you have installed the following required packages: ...@@ -119,8 +119,8 @@ First ensure that you have installed the following required packages:
* **NumPy** ([instructions](http://www.scipy.org/install.html)) * **NumPy** ([instructions](http://www.scipy.org/install.html))
* **Natural Language Toolkit (NLTK)**: * **Natural Language Toolkit (NLTK)**:
* First install NLTK ([instructions](http://www.nltk.org/install.html)) * First install NLTK ([instructions](http://www.nltk.org/install.html))
* Then install the NLTK data ([instructions](http://www.nltk.org/data.html)) * Then install the NLTK data package "punkt" ([instructions](http://www.nltk.org/data.html))
* **Unzip**
### Prepare the Training Data ### Prepare the Training Data
To train the model you will need to provide training data in native TFRecord To train the model you will need to provide training data in native TFRecord
...@@ -145,7 +145,7 @@ available space for storing the downloaded and processed data. ...@@ -145,7 +145,7 @@ available space for storing the downloaded and processed data.
MSCOCO_DIR="${HOME}/im2txt/data/mscoco" MSCOCO_DIR="${HOME}/im2txt/data/mscoco"
# Build the preprocessing script. # Build the preprocessing script.
cd tensorflow-models/im2txt cd research/im2txt
bazel build //im2txt:download_and_preprocess_mscoco bazel build //im2txt:download_and_preprocess_mscoco
# Run the preprocessing script. # Run the preprocessing script.
...@@ -212,7 +212,7 @@ INCEPTION_CHECKPOINT="${HOME}/im2txt/data/inception_v3.ckpt" ...@@ -212,7 +212,7 @@ INCEPTION_CHECKPOINT="${HOME}/im2txt/data/inception_v3.ckpt"
MODEL_DIR="${HOME}/im2txt/model" MODEL_DIR="${HOME}/im2txt/model"
# Build the model. # Build the model.
cd tensorflow-models/im2txt cd research/im2txt
bazel build -c opt //im2txt/... bazel build -c opt //im2txt/...
# Run the training script. # Run the training script.
...@@ -306,7 +306,7 @@ VOCAB_FILE="${HOME}/im2txt/data/mscoco/word_counts.txt" ...@@ -306,7 +306,7 @@ VOCAB_FILE="${HOME}/im2txt/data/mscoco/word_counts.txt"
IMAGE_FILE="${HOME}/im2txt/data/mscoco/raw-data/val2014/COCO_val2014_000000224477.jpg" IMAGE_FILE="${HOME}/im2txt/data/mscoco/raw-data/val2014/COCO_val2014_000000224477.jpg"
# Build the inference binary. # Build the inference binary.
cd tensorflow-models/im2txt cd research/im2txt
bazel build -c opt //im2txt:run_inference bazel build -c opt //im2txt:run_inference
# Ignore GPU devices (only necessary if your GPU is currently memory # Ignore GPU devices (only necessary if your GPU is currently memory
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment