CNN模型:MobileNet v1
MobileNet v1是谷歌2017提出的轻量级模型,其基本单元是深度可分离卷积(depthwise separable convolution)。
-
depthwith convolution:不同卷积核分别用于各通道。
-
pointwise convolution:1x1的普通卷积。
-
depthwise separable convolution:首先depthwise卷积,再pointwise卷积。
基本模块:
模型定义如下(其中s2表示步长stride=2下采样,5x即有5倍的,3x3xN dw表示depthwise separable深度可分离卷积,其步骤depthwith convolution卷积核为3;除最后几层外,每个卷积后跟BN和RELU):