Unverified Commit 67d65c69 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #3691 from tensorflow/readme-run-instructions

Updated README run instructions
parents f478547e 3e5575c9
...@@ -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/#running-the-models); otherwise you may encounter an error like `ImportError: No module named official.mnist`.
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/#running-the-models); otherwise you may encounter an error like `ImportError: No module named official.resnet`.
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/#running-the-models); otherwise you may encounter an error like `ImportError: No module named official.wide_deep`.
### 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