1系统没有检测到input_data模块,但是此模块在tensorflow的例子中已经存在了,所以不需要额外去下载此模块
from tensorflow.examples.tutorials.mnist import input_data直接在tensorflow中导入就可以了
2.在占位符方面,教程中说是tf.types.float32,但是在系统中会报错,所以修改为
input1 = tf.placeholder(tf.float32)#教程中的tf.types.float32是错误的
1系统没有检测到input_data模块,但是此模块在tensorflow的例子中已经存在了,所以不需要额外去下载此模块
from tensorflow.examples.tutorials.mnist import input_data直接在tensorflow中导入就可以了
2.在占位符方面,教程中说是tf.types.float32,但是在系统中会报错,所以修改为
input1 = tf.placeholder(tf.float32)#教程中的tf.types.float32是错误的