Git Product home page Git Product logo

Comments (4)

heykeetae avatar heykeetae commented on July 21, 2024 2

We have updated the 'sagan_models.py'. please check it out!

from self-attention-gan.

heykeetae avatar heykeetae commented on July 21, 2024 1

Yes, for now, although computational graph goes the same, there are some parts being corrected based on your opinions. Will be uploaded very soon!

from self-attention-gan.

affromero avatar affromero commented on July 21, 2024

Also, according to the paper softmax is performed on each row. Is https://github.com/heykeetae/Self-Attention-GAN/blob/master/sagan_models.py#L43 (dim=1) choosing columns instead?

@ognkrmms I agree with you in the first part (f_x * g_x). However, it does not make sense for the h_x * attn_score part to be matmul because of the softmax probability distribution, don't you think?

@ognkrmms @heykeetae do you know some theoretical explanation either for matmul or mul at the very first part?

from self-attention-gan.

aelnouby avatar aelnouby commented on July 21, 2024

Is there something wrong with the dimension the softmax is applied to as mentioned be @affromero ? Shoud it be dim=1 instead ?

Also in this case I think the transpose to attention tensor is not needed. Looking forward to your reply.

from self-attention-gan.

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.