minigo
minigo copied to clipboard
softmax_cross_entropy_with_logits deprecated
Noticed while running tests
WARNING:tensorflow:From /Users/jhoak/inprogress/minigo/dual_net.py:274: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2.
I think this just started showing up in tensorflow-1.5.0
What should be used instead?
@mightypirate1 it looks like tf.nn.softmax_cross_entropy_with_logits_v2
If we do not change it, does the network still work properly?
it works fine with the existing version, yes.
Fixed via https://github.com/tensorflow/minigo/pull/149
so,how can i resolve this question??