Skip to content

Commit

Permalink
added output_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaytc committed May 13, 2017
1 parent 188ce45 commit 730e01a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion retrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def add_final_training_ops(class_count, final_tensor_name, bottleneck_tensor):

with tf.name_scope('cross_entropy'):
cross_entropy = tf.nn.softmax_cross_entropy_with_logits(
logits, ground_truth_input)
logits=logits, labels=ground_truth_input)
with tf.name_scope('total'):
cross_entropy_mean = tf.reduce_mean(cross_entropy)
tf.summary.scalar('cross_entropy', cross_entropy_mean)
Expand Down

0 comments on commit 730e01a

Please sign in to comment.