![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
神经网络
Coding#Life
欢迎大家一起分享编程知识!
展开
-
Tensorflow入门(谭秉峰)(六)MNIST数据集手写体识别
1. 加载已经下载好的数据集(MNIST) # Author: Zubin # -*- coding: utf-8 -* from tensorflow.examples.tutorials.mnist import input_data #载入MNIST数据集,如果指定地址没有下载好的数据,则会自动下载 mnist = input_data.read_data_sets("D:/Pycha...原创 2019-04-20 21:12:05 · 145 阅读 · 0 评论 -
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 · 307 阅读 · 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 · 232 阅读 · 0 评论