Skip to content

Commit 3e5575c

Browse files
committed
Add the error message the user will run into
1 parent e78aea7 commit 3e5575c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

official/mnist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ APIs.
1212
## Setup
1313

1414
To begin, you'll simply need the latest version of TensorFlow installed.
15-
First make sure you've [added the models folder to your Python path](/official/#running-the-models).
15+
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`.
1616

1717
Then to train the model, run the following:
1818

official/resnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Please proceed according to which dataset you would like to train/evaluate on:
1818
### Setup
1919

2020
You simply need to have the latest version of TensorFlow installed.
21-
First make sure you've [added the models folder to your Python path](/official/#running-the-models).
21+
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`.
2222

2323
Then download and extract the CIFAR-10 data from Alex's website, specifying the location with the `--data_dir` flag. Run the following:
2424

official/wide_deep/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The input function for the `Estimator` uses `tf.contrib.data.TextLineDataset`, w
1515
The `Estimator` and `Dataset` APIs are both highly encouraged for fast development and efficient training.
1616

1717
## Running the code
18-
First make sure you've [added the models folder to your Python path](/official/#running-the-models).
18+
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`.
1919

2020
### Setup
2121
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.

0 commit comments

Comments
 (0)