Giter Site home page Giter Site logo

AFF-FPN about open-aff HOT 3 OPEN

yimiandai avatar yimiandai commented on July 22, 2024
AFF-FPN

from open-aff.

Comments (3)

YimianDai avatar YimianDai commented on July 22, 2024

因为语义分割的实验我就做了 二分类,所以输出的 channel 我是递减的,从 512 -> 256 -> 128 -> 64

from open-aff.

lab-gpu avatar lab-gpu commented on July 22, 2024

根据论文里面的说明,蓝线表示通道扩张,红线表示上采样,那按照您的通道递减,那红线就改为通道缩减以及上采样,蓝线就表示逐点卷积,然后再使用AFF进行特征融合,请问这样可以吗
微信图片_20210601112220

from open-aff.

YimianDai avatar YimianDai commented on July 22, 2024

一般论文类别数多的话都是采用比如固定一个维数(FPN 的原始做法,256 维)的,这是主流的做法,毕竟通道信息丰富,有助于分类准确。

image

我觉得还是要看具体的任务,我做实验的时候只做了二分类(我主要的任务是二分类),所以我试了一下发现效果差不多,就采用降采样了。代码需要选一下 fuse_order,看是按照哪种来

            if fuse_order == 'reverse':
                self.fuse12 = self._fuse_layer(fuse_mode, channels=channels[2])  # channels[2]
                self.fuse23 = self._fuse_layer(fuse_mode, channels=channels[3])  # channels[3]
                self.fuse34 = self._fuse_layer(fuse_mode, channels=channels[4])  # channels[4]
            elif fuse_order == 'normal':
	        self.fuse34 = self._fuse_layer(fuse_mode, channels=channels[4])  # channels[4]
	        self.fuse23 = self._fuse_layer(fuse_mode, channels=channels[4])  # channels[4]
	        self.fuse12 = self._fuse_layer(fuse_mode, channels=channels[4])  # channels[4]

from open-aff.

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.