.......................................................................................序................................................................................................................................................
本系列基于
谷歌开源的TensorFlow
Python 3.5
Ubuntu 16.04
作为初学神经网络的学生,暂时还没有自己设计网络结构和调整超参数的丰富经验,就先熟悉经典结构,完成入门的手写数字识别项目。
.....................................................................................................................................................................................................................................................................
ALEXNET在2012年的imagnet比赛中获得了冠军。由LeNet发展过来。详见:https://github.com/BVLC/caffe/blob/master/models/bvlc_alexnet/deploy.prototxt
..................................................................................................................................................................................................................................................................
Alexnet主要的分类图像颜色通道为3,MNIST颜色通道为1,在常用代码上需要进行稍许改动。
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)
import tensorflow as tf