Giter Site home page Giter Site logo

Comments (4)

xvjiarui avatar xvjiarui commented on June 14, 2024

Hi @dingjiansw101
(1) pre_assign_attn is used to aggregate information from image tokens to group tokens. It is omitted in the paper for simplicity.
(2) Yes.

from groupvit.

dingjiansw101 avatar dingjiansw101 commented on June 14, 2024

Thanks for the reply. But I still have a little question about (1).
From my understanding, the Transformer Layers before the Grouping Block already have the information propagations. Why do we need the extra pre_assign_attn for aggregation? What are the differences between them?

from groupvit.

xvjiarui avatar xvjiarui commented on June 14, 2024

Hi @dingjiansw101
Yes. You are correct. The only difference is the cross attention and self attention. pre_assign_attn is there for some legacy reasons. We didn't ablate whether it is import for our model but I guess no.

from groupvit.

l784669877 avatar l784669877 commented on June 14, 2024

半夜找到相同的疑问的人 有点激动

from groupvit.

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.