Comments (2)
首先,BAM模块的输入有两个: feature(N,C,H,W), coarse box(N,4,H,W)。
step1. 会先把feature用1x1conv去提升通道数到(N,5C,H,W),为了location sensitive,不同通道对应不同位置。
step2. coarse box代表每个点都会生成一个box,用这个box的坐标,就可以得到每条边上对应的n个采样点的位置,由于采样点是浮点数,所以需要用双线性插值插出来。每条边会插值出来的n个点,做max-pooling,就只剩下一个点,大小是(4C, 1, 1),加上原始anchor点的特征,就是(5C, 1, 1),把这个特征放到anchor点的位置,就完成一个点的操作。
step3. (N,4,H,W)上每个框都进行step2,则输出的结果就是(N,5C,H,W).
总的来说,BorderAlign中每个coarse box对应的采样点的个数比RoIALign少很多,所以速度上也是有优势的。
不知道你大概明白了没。
from borderdet.
大概明白了,真的非常感谢
from borderdet.
Related Issues (20)
- example for instance segmentation. HOT 2
- AssertionError: Requires PyTorch >= 1.3 HOT 1
- How to trun on evaluation during the training. HOT 2
- Details of enhacing the single point feature with region features? HOT 2
- 一个不成熟的小建议 HOT 2
- > 1. They are the same.
- I have the same question. HOT 1
- I wonder how you implement border align? HOT 1
- How do you realize border feature extracting in Table 1? HOT 2
- Border Feature Extraction HOT 2
- code issue HOT 1
- Can not reproduce the results. HOT 2
- where is the implementation details of border_align_forward HOT 2
- How to solve the error "cuda runtime error (98) : invalid device function" when run the borderDet? HOT 4
- Error at inference
- HTTP Error HOT 5
- no kernel image is available for execution on the device: border_align_kernel.cu:202 HOT 3
- BorderDet can not run on RTX 3090 GPU? HOT 3
- 论文图2中的实验也是在coarse的分支基础上,再添加新的分支来实现的吗
- 多尺度训练
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borderdet.