您当前的位置: 首页 >  Python
  • 0浏览

    0关注

    2393博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

成功解决read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and wil

一个处女座的程序猿 发布时间:2019-03-28 15:15:11 ,浏览量:0

成功解决read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and wil

目录

解决问题

解决思路

解决方法

解决问题

read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version. Instructions for updating: Please use alternatives such as official/mnist/dataset.py from tensorflow/models.

解决思路

read_data_set(来自tensorflow.contrib.learn.python.learn.data sets.mnist)已弃用,将在将来的版本中删除。  

解决方法

更新说明:使用tensorflow/models中的official/mnist/dataset.py等备选方案。 将

from tensorflow.examples.tutorials.mnist import input_data

改为

from tensorflow.contrib.learn.python.learn.datasets.mnist import read_data_sets

哈哈,大功告成!

关注
打赏
1664196048
查看更多评论
立即登录/注册

微信扫码登录

0.0453s