tensorflow mnist read_data_sets fails
生活随笔
收集整理的這篇文章主要介紹了
tensorflow mnist read_data_sets fails
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
下載處理mnist數據時出現如下錯誤
VisibleDeprecationWarning: converting an array with ndim > 0 to an index will result in an error in the future
解決方法:
在input_data.py文件中return numpy.frombuffer(bytestream.read(4), dtype=dt) 后添加[0]
?
return numpy.frombuffer(bytestream.read(4), dtype=dt)[0]
轉載于:https://www.cnblogs.com/xiaochaoyxc/p/6226726.html
總結
以上是生活随笔為你收集整理的tensorflow mnist read_data_sets fails的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python之路【第八篇】:堡垒机实例以
- 下一篇: my-innodb-heavy-4g.c