05 2017 档案
摘要:下面是训练的结果,需要等到所有的机器都开起来之后才能进行训练
阅读全文
摘要:''' Created on 2017年5月23日 @author: weizhen ''' import os import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data # minist_i
阅读全文
摘要:''' Created on May 24, 2017 @author: p0079482 ''' #使用程序输出日志 import tensorflow as tf with tf.Session() as sess: tf.initialize_all_variables().run() for i in range(TRAINING_STEPS): xs,...
阅读全文
摘要:1、还是以手写识别为类,至于为什么一直用手写识别这个例子,原因很简单,因为书上只给出了这个类子呀,哈哈哈,好神奇 下面是可视化学习的标准函数 下面是封装mnist_inference和mnist_train的函数 mnist_train 最后train的结果如下所示 可视化学习的过程,将log写在/
阅读全文
摘要:预测的结果如下所示
阅读全文
摘要:''' Created on 2017年5月13日 @author: weizhen ''' import numpy as np import tensorflow as tf import ptb_iterator as reader from tensorflow.contrib import
阅读全文