摘要: 1 import os 2 import tab 3 import tensorflow as tf 4 5 print "tensorflow 5.2 " 6 7 from tensorflow.examples.tutorials.mnist import input_data 8 9 ''' 10 mnist = input_data.read_... 阅读全文
posted @ 2018-11-09 14:05 苍洱 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 第五章中完整的训练MNIST数据的神经网络模型的程序代码中,直接运行程序的话会遇到以下的错误。 把下面的这行代码 tf.initialize_all_variables.run()AttributeError: 'function' object has no attribute 'run' 阅读全文
posted @ 2018-11-09 14:00 苍洱 阅读(144) 评论(0) 推荐(0) 编辑