用tensorflow实现卷积神经网络CNN
2018-01-21 22:14
253 查看
首先是记录一些重要的知识点
神经网络参数增多带来两个问题:训练变慢与过拟合卷积过程:三维w和三维数据做卷积,然后加上bias(一层feature map共享一个bias),然后做非线性激活得到最终结果
只有全连接层权重需要加入正则化(因为weights数量太多)
只有全连接层需要用dropout,relu之后的结果加入dropout,丢弃某些节点的输出(即输出变为0)
最后一层,matmul之后接激活函数softmax,得到分类概率
![](https://wx4.sinaimg.cn/mw690/c2dcca38gy1fnol0p6ykcj20ne0dyqco.jpg)
![](https://wx3.sinaimg.cn/mw690/c2dcca38gy1fnol1ivzi3j20nf0nbk4v.jpg)
最后用tensorflow实现lenet-5 (有问题的欢迎交流)
![](https://wx2.sinaimg.cn/mw690/c2dcca38gy1fnol204gxmj20lb07t0xt.jpg)
![](https://wx1.sinaimg.cn/mw690/c2dcca38gy1fnol2ef6b9j20lp0kgx3e.jpg)
![](https://wx3.sinaimg.cn/mw690/c2dcca38gy1fnol2m7dn1j20hr0n7e0p.jpg)
![](https://wx3.sinaimg.cn/mw690/c2dcca38gy1fnol2u977zj20hh0m51ew.jpg)
相关文章推荐
- TensorFlow上实现卷积神经网络CNN
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例
- TensorFlow实现卷积神经网络CNN
- tensorflow 下CNN卷积神经网络实现
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例
- TensorFlow-5实现简单的卷积神经网络CNN
- 卷积神经网络CNN:Tensorflow实现(以及对卷积特征的可视化)
- 【Tensorflow】实现简单的卷积神经网络CNN实际代码
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例
- 使用TensorFlow实现一个文本分类的卷积神经网络Implementing a CNN for Text Classification in TensorFlow
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例详细介绍(转载)
- tensorflow 学习专栏(六):使用卷积神经网络(CNN)在mnist数据集上实现分类
- 深度学习之卷积神经网络CNN及tensorflow代码实现示例
- 卷积神经网络CNN原理以及TensorFlow实现
- CNN 卷积神经网络TensorFlow简单实现
- tensorflow实现简单的卷积神经网络CNN
- 深度学习之卷积神经网络CNN及tensorflow代码实现
- tensorflow 学习笔记9 卷积神经网络(CNN)实现mnist手写识别