神经网络
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 · 142 阅读 · 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 · 302 阅读 · 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 · 227 阅读 · 0 评论