成功解决mnist.py:110: dense_to_one_hot (from tensorflow.contrib.learn.python.learn.datasets.mnist) is de
成功解決mnist.py:110: dense_to_one_hot (from tensorflow.contrib.learn.python.learn.datasets.mnist) is de
?
?
?
目錄
解決問題
解決思路
解決方法
?
?
?
?
?
?
解決問題
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
?
?
?
?
總結
以上是生活随笔為你收集整理的成功解决mnist.py:110: dense_to_one_hot (from tensorflow.contrib.learn.python.learn.datasets.mnist) is de的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决tensorflow\contr
- 下一篇: 成功解决 \tensorflow\…\d