:::| 目前位置圖示目前位置:首頁圖示回首頁 | 主功能頁圖示相關問答
WARNING:tensorflow ..tf.nn.softmax_cross_entropy_with_logits

[日期]:2018/05/16  [瀏覽人數]:470

使用Tensorflow softmax_cross_entropy_with_logits出現WARNING

WARNING:tensorflow:From <ipython-input-30-eab92abfb667>:9: 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.

將softmax_cross_entropy_with_logits改為softmax_cross_entropy_with_logits_V2