关于学习TensorFlow遇到的一些问题

TensorFlow 中文社区给的地址下载不了input_data.py,最后在网上找的该文件,但是运行时还是遇到错误,在提取训练图片时only integer scalar arrays can be converted to a scalar index,原因是

 

This appears to be an issue with the latest version of Numpy. A recent change made it an error to treat a single-element array as a scalar for the purposes of indexing.

 

链接:https://pan.baidu.com/s/1UJXAXIYVGbLeL80LhDwvxw 密码:tsnt修改后的input_data.py

 

posted @ 2018-09-19 11:13  lzyz  阅读(161)  评论(0)    收藏  举报