运行CNN代码提示mnist库换地方了?求助

来源:4-23 动手实现CNN卷积神经网络(五)

unity_1

2020-01-11

WARNING:tensorflow:From E:/TensorFlow/CNN-teacher.py:15: 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.
WARNING:tensorflow:From C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py:260: maybe_download (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Please write your own downloading logic.
WARNING:tensorflow:From C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py:252: _internal_retry..wrap..wrapped_fn (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Please use urllib or similar directly.
Traceback (most recent call last):

老师好!请问是把加粗那一行换到原来代码的哪里就可以了吗?

写回答

1回答

unity_1

提问者

2020-01-11

已经用老师课程里提供的源码运行成功了,谢谢老师,很喜欢你的课,期待新课程。

老师声音也好听hhhhhh……

1
0

基于Python玩转人工智能最火框架 TensorFlow应用实践

机器学习入门,打牢TensorFlow框架应用是关键!

2214 学习 · 688 问题

查看课程