当前位置:网站首页>TensorFlow: NameError: name 'input_data' is not defined
TensorFlow: NameError: name 'input_data' is not defined
2022-08-09 10:45:00 【qq_26391203】
xueli1991's blog
In the tutorial of the TensorFlow Chinese documentation, the section on Getting Started with MNIST Machine Learning starts with the code for down load mnist dataset
import tensorflow.examples.tutorials.mnist.input_datamnist = input_data.read_data_sets(“MNIST_data/”, one_hot=True) Direct copy operation will report an error, NameError: name 'input_data' is not defined
Should be changed to the following code:
import tensorflow.examples.tutorials.mnist.input_data as input_datamnist = input_data.read_data_sets(“MNIST_data/”, one_hot=True) 边栏推荐
- tensorflow实现线性方程的参数调整
- 单元测试2之实际结果检查的引用
- 多商户商城系统功能拆解26讲-平台端分销设置
- xmms播放器加了播放列表的管理功能
- tensorflow和numpy对应的版本,报FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecate
- 笔记本电脑使用常见问题,持续更新
- Electron application development best practices
- 【原创】解决阿里云oss-browser.exe双击没反应打不开,提供一种解决方案
- kubernetes中不可见的OOM
- VBA实战(11) - 工作表(Sheet) 操作汇总
猜你喜欢
随机推荐
jmeter BeanShell 后置处理器
今天做了手机播放器的均衡器
unix系统编程 第十五章 15.2管道
实现下拉加载更多
Oracle数据库:for update 和for update nowait的区别
MySQL外键在数据库中的作用
备战金三银四:如何成功拿到阿里offer(经历+面试题+如何准备)
json库的dumps()方法和loads()方法
How tall is the B+ tree of the MySQL index?
numpy库中的函数 bincount() where() diag() all()
autogluon安装,使用指南,代码
【原创】JPA中@PrePersist和@PreUpdate的用法
上传张最近做的E2用的xmms的界面的截图
Pyhton实战汇总篇
Nodejs服务端
好久没上博客了,好长时间没有进展了
【原创】解决阿里云oss-browser.exe双击没反应打不开,提供一种解决方案
源代码阅读器项目
笔记本电脑使用常见问题,持续更新
PoseNet: A Convolutional Network for Real-Time 6-DOF Camera Relocalization论文阅读








