Commit 41e60b0d authored by Neal Wu's avatar Neal Wu
Browse files

Updates to individual official/ README files to make sure users can run the models

parent 4b85dab1
...@@ -11,9 +11,8 @@ APIs. ...@@ -11,9 +11,8 @@ APIs.
## Setup ## Setup
To begin, you'll simply need the latest version of TensorFlow installed, To begin, you'll simply need the latest version of TensorFlow installed.
and make sure to run the command to export the `/models` folder to the First make sure you've [added the models folder to your Python path](official/README.md#running-the-models).
python path: https://github.com/tensorflow/models/tree/master/official#running-the-models
Then to train the model, run the following: Then to train the model, run the following:
......
...@@ -18,8 +18,9 @@ Please proceed according to which dataset you would like to train/evaluate on: ...@@ -18,8 +18,9 @@ Please proceed according to which dataset you would like to train/evaluate on:
### Setup ### Setup
You simply need to have the latest version of TensorFlow installed. You simply need to have the latest version of TensorFlow installed.
First make sure you've [added the models folder to your Python path](official/README.md#running-the-models).
First download and extract the CIFAR-10 data from Alex's website, specifying the location with the `--data_dir` flag. Run the following: Then download and extract the CIFAR-10 data from Alex's website, specifying the location with the `--data_dir` flag. Run the following:
``` ```
python cifar10_download_and_extract.py python cifar10_download_and_extract.py
......
...@@ -15,7 +15,7 @@ The input function for the `Estimator` uses `tf.contrib.data.TextLineDataset`, w ...@@ -15,7 +15,7 @@ The input function for the `Estimator` uses `tf.contrib.data.TextLineDataset`, w
The `Estimator` and `Dataset` APIs are both highly encouraged for fast development and efficient training. The `Estimator` and `Dataset` APIs are both highly encouraged for fast development and efficient training.
## Running the code ## Running the code
Make sure to run the command to export the `/models` folder to the python path: https://github.com/tensorflow/models/tree/master/official#running-the-models First make sure you've [added the models folder to your Python path](official/README.md#running-the-models).
### Setup ### Setup
The [Census Income Data Set](https://archive.ics.uci.edu/ml/datasets/Census+Income) that this sample uses for training is hosted by the [UC Irvine Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/). We have provided a script that downloads and cleans the necessary files. The [Census Income Data Set](https://archive.ics.uci.edu/ml/datasets/Census+Income) that this sample uses for training is hosted by the [UC Irvine Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/). We have provided a script that downloads and cleans the necessary files.
......
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