Open gokul-uf opened 6 years ago
In section 8 of the tutorial, the call to softmax is cross_entropy = tf.nn.softmax_cross_entropy_with_logits(Ylogits, Y_)
cross_entropy = tf.nn.softmax_cross_entropy_with_logits(Ylogits, Y_)
Latest versions of TF require that you explicitly mention which arguments are logits and labels.
So, it should be cross_entropy = tf.nn.softmax_cross_entropy_with_logits(logits = Ylogits, labels = Y_)
cross_entropy = tf.nn.softmax_cross_entropy_with_logits(logits = Ylogits, labels = Y_)
I just experienced the same issue.
In section 8 of the tutorial, the call to softmax is
cross_entropy = tf.nn.softmax_cross_entropy_with_logits(Ylogits, Y_)
Latest versions of TF require that you explicitly mention which arguments are logits and labels.
So, it should be
cross_entropy = tf.nn.softmax_cross_entropy_with_logits(logits = Ylogits, labels = Y_)