R-MAC(Regional Raximum Activation of Convolutions)
来源:互联网 发布:amd游戏优化档案 编辑:程序博客网 时间:2024/06/16 02:25
众所周知,卷积神经网络的卷积层会产生一个三维的矩阵:W*H*K。如何将三维的转化为二维的,并加以利用呢?
R-MAC(Regional Raximum Activation of Convolutions)方法是一个十分常用的方法。
该方法在论文《PARTICULAR OBJECT RETRIEVAL WITH INTEGRAL MAX-POOLING OF CNN ACTIVATIONS》有详细介绍。
1.产生regions
首先,需要强调的一点,regions产生在feature maps上,而不是在原图上。
在L个不同的尺度上产生正方形regions。在最大的尺度(l=1)上,region的尺寸最大。如图所示,依次为l=1,2,3。
在某一个尺度 l 上,类似于滑动窗口,只需保证连续的两个region之间的重叠率接近于40%即可。
采样时,regions的宽=高=2min(W,H)/(l+1),共采样 l*(l+1)个regions。
假设卷积网络结构中,提取特征的layer产生的feature map大小为W*H*K。以产生的region R1为例,其中的每一层d(1<=d<=K)均会产生一个大小位置与R1相同的regions。
提取每个region的feature vector,依次进行L2-normalize,PCA-whitening,L2-normalize。
2.图像表示
以产生的region R1为例,从d层的每个region中找到其最大的激活值 f(R1,d),以该最大值代表这个region。
所以R1的feature vector可以表示为 f(R1)=[ f(R1,1),...,f(R1,d),...,f(R1,K)],是一个1*K的向量。再次进行L2-normalize。
公式表示为:
整张图像的描述记为:
该过程以图表示:
- R-MAC(Regional Raximum Activation of Convolutions)
- HDU 4089 Activation(概率DP好题)——2011 Asia Beijing Regional Contest
- H264 Activation of Parameter Sets
- Registration-Free Activation of COM
- Activation (概率DP)
- Going deeper with convolutions-GoogLeNet(阅读)
- Going deeper with convolutions-GoogLeNet(阅读)
- googlenet笔记(Going Deeper with Convolutions)
- Going deeper with convolutions-GoogLeNet(阅读)
- 图像语义分割(3)- Dilated Convolutions
- R note_01_Overview of R
- Hdu 4089 Activation (概率dp) - 2011 ACM-ICPC Beijing Regional Contest Problem I
- uvalive5721 Activation(概率dp)
- 激活函数(Activation Functions)
- 激活函数(Activation function)
- 激活函数(Activation Functions)
- (Entlib 5.0)Activation error occured while trying to get instance of type ICacheManager, key ""求解决办法
- HDU-4432-Sum of divisors ( 2012 Asia Tianjin Regional Contest )
- IO
- String、StringBuffer、StringBuilder区别
- Python 请用sorted对上述列表按名字和分数排序
- python DEAP学习2(遗传算法) 最大值问题
- Freeline
- R-MAC(Regional Raximum Activation of Convolutions)
- Unity3D-优化之二 代码质量
- vi命令的使用
- Unity获取隐藏物体
- 不同型号DVR的通道模式选择
- Tomcat最基本的五脏六腑与经络运行
- 网络地址处理方法<arpa/inet.h>
- 项目中ListView使用分析
- 自己对回调函数的一些简单理解