解決問題
tensorflow\contrib\learn\python\learn\datasets\mnist.py:110: dense_to_one_hot (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.one_hot on tensors.
解決思路
tensorflow\contrib\learn\python\learn\datasets\mnist.py:110:dense_to_one_hot(來自tensorflow.contrib.learn.python.learn.datasets.mnist)已棄用,将在将來的版本中删除。
解決方法
更新說明:
請在張量上使用 tf.one_hot