diff options
author | Shanqing Cai <cais@google.com> | 2017-12-06 18:43:24 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-06 18:47:41 -0800 |
commit | fe8406149feec453250905965a14285465cd2063 (patch) | |
tree | be3cd75d543f3c0f29f368da61d915abbae7fcbf /tensorflow/examples | |
parent | 8ad62af489df718992561710123bc8c037e7d17b (diff) |
Merge changes from github.
PiperOrigin-RevId: 178185697
Diffstat (limited to 'tensorflow/examples')
-rw-r--r-- | tensorflow/examples/android/README.md | 2 | ||||
-rw-r--r-- | tensorflow/examples/speech_commands/train.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/examples/android/README.md b/tensorflow/examples/android/README.md index 51621d51ef..30a26d13c5 100644 --- a/tensorflow/examples/android/README.md +++ b/tensorflow/examples/android/README.md @@ -168,7 +168,7 @@ download-models.gradle. **Optional**: If you wish to place the models in your assets manually, remove all of the `model_files` entries from the `assets` list in `tensorflow_demo` -found in the `[BUILD](BUILD)` file. Then download and extract the archives +found in the [`BUILD`](BUILD#L92) file. Then download and extract the archives yourself to the `assets` directory in the source tree: ```bash diff --git a/tensorflow/examples/speech_commands/train.py b/tensorflow/examples/speech_commands/train.py index f5bf04305a..bec7dacd21 100644 --- a/tensorflow/examples/speech_commands/train.py +++ b/tensorflow/examples/speech_commands/train.py @@ -161,7 +161,7 @@ def main(_): evaluation_step = tf.reduce_mean(tf.cast(correct_prediction, tf.float32)) tf.summary.scalar('accuracy', evaluation_step) - global_step = tf.contrib.framework.get_or_create_global_step() + global_step = tf.train.get_or_create_global_step() increment_global_step = tf.assign(global_step, global_step + 1) saver = tf.train.Saver(tf.global_variables()) |