当前位置:网站首页>Semantic segmentation | learning record (5) FCN network structure officially implemented by pytoch
Semantic segmentation | learning record (5) FCN network structure officially implemented by pytoch
2022-07-08 02:10:00 【coder_ sure】
List of articles
Preface
Pytorch Officially realized FCN It is slightly different from the structure diagram of the paper in that year , Because now there are more backbone The choice of , And the expansion convolution technology is applied .
FCN Network structure
The picture below is Pytorch Officially realized FCN Network structure :
The picture below is Resnet Network structure :
Compare the two networks for analysis :FCN Online backbone The choice is Resnet50 backbone
, In this part of the blue dotted box in front of the structure and Resnet It's exactly the same .
Focus on layer3 and layer4 Part of .FCN Of layer3 and layer4 Corresponding to Resnet Of conv4_x and conv5_x. The difference lies in :
- Resnet Of
conv4_x
Medium 6 The residual structures correspond to FCN Oflayer3
Medium 1 individualBottleneck1
and 5 individualBottleneck2.
- Resnet Of
conv5_x
Medium 3 The residual structures correspond to FCN Oflayer4
Medium 1 individualBottleneck1
and2 individual Bottleneck2
.
Let's focus on that
Bottleneck1
andBottleneck2
Structure :
Bottleneck1
Corresponding to the dotted line structure in the residual structure , Here and resnet The difference is that it will be a shortcut to branch on 1 ∗ 1 1*1 1∗1 ConvolutionThe step length is changed to 1.
Therefore, there is no down sampling operation here , If the down sampling ratio in semantic segmentation is too large, the original image effect will be affected . In addition to 3 ∗ 3 3*3 3∗3 At the convolution kernelThe step length is also changed to 1, And the expansion convolution is introduced
.Bottleneck2
It also introducesExpansion convolution .
Let's take a look at FCN Head part :
- Through a 3*3 The convolution of layer , Enter the... Of the characteristic graph channel The number is adjusted to the original 1/4 Turn into 512.
- Through one Dropout layer
- Through one more 1*1 Convolution layer , Adjust the feature layer channel For the number of categories .
- Finally, through a bilinear interpolation method , Return to the original size .
There is another one on the right FCN Head, The official reasons : Preventing error gradients cannot be transferred to the shallow layer of the network
, So the auxiliary classifier is introduced here .
You can enable this auxiliary classifier during training , You can try it . When actually deploying to the real environment , We only use output.
Reference material
边栏推荐
- Get familiar with XML parsing quickly
- 科普 | 什么是灵魂绑定代币SBT?有何价值?
- 力扣6_1342. 将数字变成 0 的操作次数
- Deeppath: a reinforcement learning method of knowledge graph reasoning
- LeetCode精选200道--链表篇
- 快手小程序担保支付php源码封装
- 分布式定时任务之XXL-JOB
- PHP calculates personal income tax
- Kwai applet guaranteed payment PHP source code packaging
- PB9.0 insert OLE control error repair tool
猜你喜欢
Reading notes of Clickhouse principle analysis and Application Practice (7)
Towards an endless language learning framework
Alo who likes TestMan
Why did MySQL query not go to the index? This article will give you a comprehensive analysis
JVM memory and garbage collection-3-direct memory
给刚入门或者准备转行网络工程师的朋友一些建议
系统测试的类型有哪些,我给你介绍
文盘Rust -- 给程序加个日志
[reinforcement learning medical] deep reinforcement learning for clinical decision support: a brief overview
What are the types of system tests? Let me introduce them to you
随机推荐
The way fish and shrimp go
[error] error loading H5 weight attributeerror: 'STR' object has no attribute 'decode‘
Introduction à l'outil nmap et aux commandes communes
Talk about the cloud deployment of local projects created by SAP IRPA studio
#797div3 A---C
Ml self realization / linear regression / multivariable
Uniapp one click Copy function effect demo (finishing)
WPF 自定义 写实风 雷达图控件
系统测试的类型有哪些,我给你介绍
MySQL查询为什么没走索引?这篇文章带你全面解析
电路如图,R1=2kΩ,R2=2kΩ,R3=4kΩ,Rf=4kΩ。求输出与输入关系表达式。
[knowledge map paper] Devine: a generative anti imitation learning framework for knowledge map reasoning
直接加比较合适
Keras深度学习实战——基于Inception v3实现性别分类
What are the types of system tests? Let me introduce them to you
Height of life
Ml backward propagation
Ml self realization /knn/ classification / weightlessness
Redismission source code analysis
力扣5_876. 链表的中间结点