aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/models/image
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <bsteiner@google.com>2016-08-12 15:02:49 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-12 16:16:31 -0700
commita92da9e09fb476a9b267499e326919a89b826fb7 (patch)
tree37c257b0d2d5e82b6f8caa8ad97e4f4de2b39a75 /tensorflow/models/image
parent9ace75c7c88f30a488ce022be03b8f6dc1c9c990 (diff)
Merge changes from github.
Change: 130150683
Diffstat (limited to 'tensorflow/models/image')
-rw-r--r--tensorflow/models/image/alexnet/alexnet_benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/models/image/alexnet/alexnet_benchmark.py b/tensorflow/models/image/alexnet/alexnet_benchmark.py
index ef6f9d1b66..4e6be48905 100644
--- a/tensorflow/models/image/alexnet/alexnet_benchmark.py
+++ b/tensorflow/models/image/alexnet/alexnet_benchmark.py
@@ -176,7 +176,7 @@ def time_tensorflow_run(session, target, info_string):
start_time = time.time()
_ = session.run(target)
duration = time.time() - start_time
- if i > num_steps_burn_in:
+ if i >= num_steps_burn_in:
if not i % 10:
print ('%s: step %d, duration = %.3f' %
(datetime.now(), i - num_steps_burn_in, duration))