阅读笔记5——深度可分离卷积

理解深度可分离卷积 深度可分离卷积其实只对常规卷积做了一个很小的改动,但是带来的确实参数量的下降,这无疑为网络的轻量化带来了好处。 阅读详情

一、标准卷积

  标准卷积在卷积时,同时考虑了特征图的区域和通道信息。

  标准卷积的过程如图1-1所示,假设输入特征图的channel=3,则每个卷积核的channel都为3,每个卷积核的3个channel对应提取输入特征图的3个channel的特征(考虑了特征图的区域信息),并输出channel=1的输出特征图(考虑了特征图的通道信息)。即:

  • 卷积核的channel=输入特征图的channel
  • 输出特征图的channel=卷积核的个数

在这里插入图片描述

图1-1 标准卷积过程图

二、Depthwise卷积

  对于一个通道的输入特征H×WH×WH×W,利用一个3×3的卷积核进行点乘求和,得到一个通道的输出H×WH×WH×W。然后,对于所有的输入通道CCC,使用CCC个3×3卷积核即可得到C×H×WC×H×WC×H×W大小的输出。

  通道之间相互独立,没有各通道间的特征融合,这也是Depthwise卷积的核心思想。即:

  • 卷积核的channel=1
  • 输入特征图的channel=卷积核的个数=输出特征图的channel

在这里插入图片描述

图2-1 Depthwise卷积过程图

三、Pointwise卷积

  由于Depthwise卷积的通道间缺少特征融合,并且通道数无法改变,因此后续还需要继续连接一个逐点的1×1的卷积,一方面可以融合不同通道间的特征,同时也可以改变特征图的通道数。

  Pointwise卷积就是卷积核大小为1的标注卷积。即:

  • 卷积核的channel=输入特征图的channel
  • 输出特征图的channel=卷积核的个数
  • 卷积核的大小为1

在这里插入图片描述

图3-1 Pointwise卷积过程图
MobileNet V2阅读笔记 文章目录前言摘要(Abstract)1. 介绍(Introduction)2. 相关工作(Releated Work)3. 预习,讨论和直觉(Preliminaries, dicusssion and intuition)3.1 基于深度可分离的卷积(Depthwise Separable Convolutions)3.2 线性瓶颈层(Linear Bottlenecks)总结 前言 今天开始阅读轻量级分类网络MobileNet v2, 这里写下阅读笔记,方便以后复习。 论文标题:MobileNetV2: 阅读详情

相关推荐

*第六篇《基于多分支深度可分离卷积神经网络的滚动轴承故障诊断研究》论文阅读笔记

[1]许贵阳,史天运,任盛伟,韩强,王登阳.基于计算机视觉的车载轨道巡检系统研制[J].中国铁道科学,2013,34(01):139-144. 基于计算机视觉的车载轨道巡检系统研制 [1]刘恒畅,姚德臣,杨建伟,张骄.基于多分支深度可分离卷积神经网络的滚动轴承故障诊断研究[J].振动与冲击,2021,40(10):95-102. 基于多分支深度可分离卷积神经网络的滚动轴承故障诊断研究 *note:本文研究方法不太能理解,后期需要再看一遍思路。 一、文章本身 文章框架 Research question.

weixin_39128932的博客 891

卷积核里面的参数怎么来的_深度可分离卷积(Depthwise separable convolution)

一、深度可分离卷积(Depthwise separable convolution)一些轻量级的网络,如mobilenet中,会有深度可分离卷积depthwise separable convolution,由depthwise(DW)和pointwise(PW)两个部分结合起来,用来提取特征feature map。相比常规的卷积操作,其参数数量和运算成本比较低。二、常规卷积操作对于5x5x3的输...

weixin_39669265的博客 2045

论文阅读笔记之MobileNetV2

论文题目: MobileNetV2: Inverted Residuals and Linear Bottlenecks 论文代码: MobileNetV2——Pytorch版本 目录摘要一、介绍二、相关工作三、深度可分离卷积3.1 常规卷积3.2 Depthwise and Pointwise Convolution四、线性瓶颈五、反向残差六、模型结构 摘要 在本文中,我们提出了一个新的移动架构——MobileNetV2。同时,我们也描述了一种应用这些移动模型到目标检测的有效方法——SSDLite。另外,

weixin_42621901的博客 1115

深度可分离卷积(计算过程及代码实现)

深度可分离卷积计算过程及实现

m0_45267220的博客 7751

MobileNet V1阅读笔记

文章目录前言摘要(Abstract)1. 介绍(Introduction)2. 以前成果(Prior Work)3。 MobileNet 架构(Architecture)3.1 深度可分离卷积(Depth Separable Convolution)3.2 网络结构和训练(Network Structure and Training)3.3 宽度乘法因子:让模型更瘦(Width Multiplier: Thinner Models)3.4 分辨率乘法因子:减少表示(Resolution Multiplier

DU_YULIN的博客 349

论文阅读笔记——Xception: Deep Learning with Depthwise Separable Convolutions

我们提出了卷积神经网络中Inception模块的解释,作为常规卷积和深度可分离卷积操作(深度卷积之后是点卷积)之间的中间步骤。从这个角度来看,深度可分离卷积可以被理解为具有最大数量塔的Inception模块。这一观察结果使我们提出了一种受Inception启发的新型深度卷积神经网络架构,其中Inception模块已被深度可分离卷积所取代。

人生不是轨道,是旷野。希望每天都有好心情。 1340

深度可分离卷积_深度学习—深度可分离卷积

点击蓝字关注我们AI研习图书馆,发现不一样的世界深度可分离卷积深度可分离卷积(depthwise separable convolution)在可分离卷积(separable convolution)中,通常将卷积操作拆分成多个步骤。而在神经网络中通常使用的就是深度可分离卷积(depthwise separable convolution)。举个例子,假设有一个3×3大小的卷积层,其输入...

weixin_39637700的博客 974

红日-VulnStack靶场-ATT&CK(二):从Weblogic漏洞到域控渗透实战

本文详细解析了红日安全团队VulnStack靶场中从Weblogic漏洞到域控渗透的完整攻击链。通过实战演示Weblogic反序列化漏洞利用、Cobalt Strike持久化控制、域内信息收集及PsExec横向移动等关键技术,复现了企业内网渗透的典型场景,并提供了防御建议。

tgb3456789的博客 943

深度可分离卷积原理分析回顾、代码实践与优缺点对比学习记录

深度可分离卷积原理分析回顾、代码实践与优缺点对比学习记录

Together_CZ的博客 2895

从稳压管到LDO芯片:一张图看懂线性电源的‘内卷’进化史

本文追溯了从稳压管到LDO芯片的线性电源技术进化历程,详细解析了各阶段的技术突破与局限。重点探讨了现代LDO在超低功耗、高精度控制等方面的创新,并提供了实战选型的黄金法则,帮助工程师在电子设备小型化与低功耗化趋势中做出最优选择。

weixin_42525551的博客 214

ANSYS MAXWELL内置式永磁同步电机(IPMSM)转矩最大时输入电流相位的确定

1.在转子转速为零时看一个周期内的转矩变化

qq_41752507的博客 6523

【论文笔记】MobileNet系列论文阅读笔记

本文为MobileNet系列论文阅读笔记。MobileNet是一个轻量级模型,参数少、推理快,在学术界和工业界都很受欢迎。

AI爱好者的博客,分享计算机领域相关知识 2079

从零开始学华为设备:手把手教你用ENSP搭建OSPF实验环境(附拓扑文件)

本文详细介绍了如何使用华为ENSP模拟器从零开始搭建OSPF多区域网络实验环境,包括拓扑规划、设备配置、OSPF参数优化及故障排查技巧。通过实战案例和配置示例,帮助网络工程师快速掌握华为设备的OSPF协议配置,提升企业网络环境中的实战能力。

weixin_29305313的博客 295

【论文笔记】DeepLab系列论文阅读笔记

本文为DeepLab系列论文阅读笔记,包括DeepLabV1、DeepLabV2、DeepLabV3、DeepLabV3+。

AI爱好者的博客,分享计算机领域相关知识 1万+

《驾驭你的AI同事:WorkBuddy深度精通》027:11.1 私有知识库接入

本文详解WorkBuddy中私有知识库接入的RAG实现路径,聚焦“解析→切分→向量化→入库”四步流水线。强调知识源质量决定RAG上限:优先使用Markdown等结构化文档,扫描件需先OCR;切分采用递归字符+重叠(overlap)防语义断裂;向量化统一模型并附带元数据以支持溯源与权限控制;最终选择Pinecone、Weaviate或内置方案存入向量库。核心目标是让AI“基于资料说话”,杜绝“凭空编造”。

LuckyHanMo的博客 158

PINN物理信息网络 | 非线性薛定谔方程的物理信息神经网络

PINN物理信息网络 | 非线性薛定谔方程的物理信息神经网络

算法如诗的博客 1301

【论文笔记】RepLKNet论文阅读笔记

自从VGG提出以后,各种CNN网络层出不穷,但是他们都遵循了VGG的设计思想,通过多个小卷积核叠加来得到大的感受野同时保证较少的参数量(2各3x3的卷积核感受野和5x5的卷积核感受野相同,但是参数18<25)。随着ViT逐渐在各类视觉任务种拿到SOTA的表现,CNN似乎有点后继无力。RepLKNet打破了这种现象,提出使用在CNN网络中使用大的卷积核,RepLKNet在各类视觉任务中获得了SOTA表现。

AI爱好者的博客,分享计算机领域相关知识 2740

机器学习笔记——30种常见机器学习算法简要汇总

本笔记介绍机器学习中常见的30种机器学习算法。

haopinglianlian的博客 3206

【论文阅读笔记】——VapSR论文阅读笔记

VapSR,改进的像素注意力机制

weixin_52143654的博客 490

【OpenClaw从入门到精通】第45篇:Skill供应链安全——如何识别并避开恶意技能插件?(2026实测版)

随着OpenClaw生态爆发式增长,全球Skills总量近75万个,日均新增2.1万个,但恶意/问题插件已超600个,数十万用户受影响。本文基于奇安信威胁报告及360安全实践,拆解恶意技能的五大核心特征,提出"安装前三步法"安全审查流程,详解安全技能来源白名单与定期审计方案,并深度解析360龙虾Skill安全超市的分级认证机制。读者可掌握从技能筛选、安装审查到术后审计的全流程安全防护手段,通过实操命令与案例演示,零成本构建Skill供应链安全防线,避免遭遇私钥窃取、资产损失等安全事件。

专注于人工智能、软件开发、工控自动化、工厂数字化及智能化等领域,希望和大家共同进步! 566

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

MobileNet论文阅读笔记

目录 论文链接: 摘要: 网络结构 MobileNet架构 MobileNet的两个超参数 实验结果 论文链接: MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications 摘要: 本文提出的MobileNets基于流线型架构,使用深度可分离卷积来构建轻量级深度神经网络。介...

tuntunmmd的博客 376

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

deeplabv3p 阅读笔记

摘要 Spatial pyramid pooling module or encode-decoder structure are used in deep neural networks for semantic segmentation task. The former networks are able to encode multi-scale contextual information by probing the incoming features with filters or pooli

张洁的笔记 2862

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

文献阅读笔记整理--ConvNext:A ConvNet for the 2020s

convnext,一篇20世纪20年代的卷积网络,以ResNet-50为基础,采用Vision-Transformer、Swin-Transformer等的部分设计思想,来进行优化改进。最终在ImageNet-1k、22k上,处理照片速度、分类准确率都有着非常好的效果

cunxiang1997的博客 564

【文献阅读笔记】之基于Deeplabv3+的图像语义分割优化方法

中文,包装工程,第 43 卷 第 1 期,2022 年 1 月 DOI:10.19554/j.cnki.1001-3563.2022.01.024 摘要 目的 为了实现良好的图像语义分割精度,同时尽可能降低网络的参数量,加快网络训练速度, 提出基于 DeepLabv3+ 的图像语义分割优化方法。方法 编码器主干网络增加注意力机制模块,并采用更 密集的特征池化模块有效聚合多尺度特征,同时使用深度可分离卷积降低网络计算复杂度。结果 基于 CamVid 数据集的对比实验显示,优化后网络的 MIoU 分数达到

qq_44785998的博客 6197

论文阅读笔记:GhostNet

1. GhostNet Han, Kai, et al. “Ghostnet: More features from cheap operations.” Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020. 本文的题目起得很fancy,有一种神秘的色彩,其实读完文章之后,就会觉得ghost这个比喻非常的有趣也很贴切。阅读本文的前提必须对SENet以及深度可分离卷积这些工作有一定的

loki2018的博客 1960

(MobileNets)Efficient Convolutional Neural Networks for Mobile Vision Applications论文阅读笔记

文章目录MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications论文阅读笔记2017Abstract1. Introduction2. Prior Work3. MobileNet Architecture3.1 Depthwise Separable Convolution3.2 Network Structure and Training3.3 Width Multiplier: Thinner

weixin_43422466的博客 725
上一篇: 与感受野相关的几种网络结构
下一篇: 阅读笔记6——通道混洗
晓shuo
晓shuo 优质创作者: 人工智能技术领域 优质创作者: 人工智能技术领域
博客等级 码龄7年 4万+粉丝 113原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

晓shuo

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址