Code Monkey home page Code Monkey logo

Comments (7)

jiangxiluning avatar jiangxiluning commented on June 12, 2024

@Xujianzhong 方便贴下代码链接么,我没有指定h为1。

from master-tf.

Xujianzhong avatar Xujianzhong commented on June 12, 2024

backbone:
gcb:
ratio: 0.0625
headers: 1
att_scale: True
fusion_type: 'channel_add' # channel_add channel_mul channel_concat
pooling_type: 'att'
layers:
- False
- True
- True
- True

headers被设置为1,还有一个疑问请教一下,为啥layers 的第一个被设置False?

from master-tf.

Xujianzhong avatar Xujianzhong commented on June 12, 2024

@jiangxiluning 你好,multi GC block在结构中放在Res block后面而不是放在里面,是为了减少计算复杂度?

from master-tf.

jiangxiluning avatar jiangxiluning commented on June 12, 2024

@Xujianzhong 你说的是headers, 1是当前数据集下做的最好的超参设置,第一个 resnet block 不需要加 gc 是原论文中的实验结论,放在 resnet block 以后是能够将结合 low-level feature 和 high-level feature 一起计算attention,效果更好吧。

from master-tf.

Xujianzhong avatar Xujianzhong commented on June 12, 2024

@jiangxiluning 但是代码实现的时候,好像又放在Res的里面了?
def call(self, inputs, **kwargs):

    out = self.conv1(inputs)
    out = self.bn1(out)
    out = self.relu(out)

    out = self.conv2(out)
    out = self.bn2(out)


    out = self.gcb(out)
    out = out + self.downsample(inputs)

    out = self.relu(out)

论文的结构是Res block重复堆叠后再加multi GC block
image

from master-tf.

jiangxiluning avatar jiangxiluning commented on June 12, 2024

哦,这里的实验实现是照搬原GCB的实现的,@Xujiangzhong, 我只是针对 GCB 放在 skip connection 之后做了一个讨论。

from master-tf.

Xujianzhong avatar Xujianzhong commented on June 12, 2024

@jiangxiluning 您好,方便加一下联系方式,交流沟通起来方便一些哈。qq 274543014

from master-tf.

Related Issues (17)

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.