GithubHelp home page GithubHelp logo

不太理解BAM模块与Coarse Box Reg之间具体是怎么作用的,代码里面也没看懂,烦请解答一下 about borderdet HOT 2 CLOSED

BITQinYong avatar BITQinYong commented on July 20, 2024
不太理解BAM模块与Coarse Box Reg之间具体是怎么作用的,代码里面也没看懂,烦请解答一下

from borderdet.

Comments (2)

Maycbj avatar Maycbj commented on July 20, 2024 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.

BITQinYong avatar BITQinYong commented on July 20, 2024

大概明白了,真的非常感谢

from borderdet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.