MobileNet网络结构

https://upload-images.jianshu.io/upload_images/13228477-7b03fe39342e5464.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/842/format/webp
当stride=1时,输入首先经过11的卷积进行通道数的扩张,此时激活函数为ReLU6;然后经过33的depthwise卷积,激活函数是ReLU6;接着经过1*1的pointwise卷积,将通道数压缩回去,激活函数是linear;最后使用shortcut,将两者进行相加。而当stride=2时,由于input和output的特征图的尺寸不一致,所以就没有shortcut了。

https://upload-images.jianshu.io/upload_images/13228477-b0979b7001639ecd.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/720/format/webp
http://static.zybuluo.com/Team/1ymy3gg7ue2liouzhui5e2b5/image.png
https://yinguobing.com/content/images/2018/03/mobilenet-v1-conv.jpg
https://yinguobing.com/content/images/2018/03/mobilenet-v2-conv.jpg

原文地址:https://www.cnblogs.com/geoffreyone/p/12421100.html