模型加速--LCNN: Lookup-based Convolutional Neural Network

LCNN: Lookup-based Convolutional Neural Network
CVPR2017
https://github.com/ildoonet/tf-lcnn
https://github.com/hessamb/lcnn

本文使用查表法加速CNN网络训练和计算,可以在嵌入式设备终端进行CNN网络训练

本文对每个网络层构建一个 字典 Dictionary,每个 weight filter 可以由这个字典中的某些向量线性组合得到
在这里插入图片描述

Fast Convolution using a Shared Dictionary
在这里插入图片描述

instead of reconstructing the weight tensor W and convolving with the input, we can convolve the input with all of the dictionary vectors, and then compute the output according to I and C
我们将输入向量和整个字典里的向量进行卷积,使用这个卷积结果经过 查表得到 输入和滤波器W 的卷积结果

Experiments
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

LCNN can obtain higher accuracy on few iterations by transferring the dictionaries D from a shallower architecture
在这里插入图片描述

11

猜你喜欢

转载自blog.csdn.net/zhangjunhit/article/details/83657179