Skip to content

Commit

Permalink
fixed test op
Browse files Browse the repository at this point in the history
  • Loading branch information
aaalgo committed Sep 8, 2017
1 parent 76698ba commit 38b71f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tensorflow/train-slim.py
Expand Up @@ -174,7 +174,7 @@ def run_training ():
numpy.resize(labels, (bs,))
feed_dict = {X: images,
Y_: labels}
_, loss_value, accuracy_value = sess.run([train_op, loss, accuracy], feed_dict=feed_dict)
_, loss_value, accuracy_value = sess.run([loss, accuracy], feed_dict=feed_dict)
batch_sum2 += bs
loss_sum2 += loss_value * bs
accuracy_sum2 += accuracy_value * bs
Expand Down

0 comments on commit 38b71f2

Please sign in to comment.