![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MNIST数据集
Coding#Life
欢迎大家一起分享编程知识!
展开
-
Tensorflow入门(谭秉峰)(六)MNIST数据集手写体识别(参数改进,使用relu激活GPU训练)
# Author: Zubin # -*- coding: utf-8 -* from MNIST_defiction import * import tensorflow as tf #每个批次的大小 batch_size=100 #计算一共有多少个批次 n_batch=mnist.train.num_examples//batch_size #mnist数据集常数 INPUT_NODE...原创 2019-04-21 11:39:13 · 305 阅读 · 0 评论 -
Tensorflow入门(谭秉峰)(六)MNIST数据集手写体识别(模型的保存,saver=tf.train.Saver())(GPU训练)
# Author: Zubin # -*- coding: utf-8 -* #有时候需要把模型保存起来,提供下一次测试或者计算机宕机时候数据恢复 from MNIST_defiction import * import tensorflow as tf #每个批次的大小 batch_size=100 #计算一共有多少个批次 n_batch=mnist.train.num_examples/...原创 2019-04-21 21:39:38 · 311 阅读 · 0 评论 -
Tensorflow入门(谭秉峰)(六)MNIST数据集手写体识别(模型的恢复,saver.restore(sess,“...”))(GPU训练)
# Author: Zubin # -*- coding: utf-8 -* from MNIST_defiction import * import tensorflow as tf #每个批次的大小 batch_size=100 #计算一共有多少个批次 n_batch=mnist.train.num_examples//batch_size #mnist数据集常数 INPUT_NODE...原创 2019-04-21 21:53:14 · 230 阅读 · 0 评论