GithubHelp home page GithubHelp logo

Comments (7)

tangrizzly avatar tangrizzly commented on June 1, 2024

The result after normalization is a little bit better.

from sr-gnn.

tangrizzly avatar tangrizzly commented on June 1, 2024

Sorry to misunderstand your question.
connection matrix
As shown in the image, u_A_out is the transposed matrix of u_A_in. Since a horizontal vector in the connection matrix represents the connection relationship of one node.

from sr-gnn.

hutuxian avatar hutuxian commented on June 1, 2024

Yeah, but what confuses me is it seems the code and the figure in the paper doesn't match.
Take the above figure as an example, some of the corresponding variables in the code looks like:
connection matrix
So i say maybe we should add a transpose in u_A_in and u_A_out?

from sr-gnn.

tangrizzly avatar tangrizzly commented on June 1, 2024

We have added a transpose in u_A after concatenating the u_A_in and u_A_out. You can refer to our code in utils.py.
Screen Shot 2019-03-31 at 9 10 32 AM

from sr-gnn.

hutuxian avatar hutuxian commented on June 1, 2024

Oh, I guess what you refer to is the pytorch code, and what I showed before is the tensorflow code, but I didn't see the transpose. I hope this time we are on the same page.

from sr-gnn.

tangrizzly avatar tangrizzly commented on June 1, 2024

Thank you for pointing out. I think it does need a transpose.

Our original code is the PyTorch version and the Tensorflow version is reproduced by another student after the paper was accepted. I will recheck the Tensorflow code to make sure it is consistent with the Pytorch version as well as the paper. And if you are in a hurry, you can refer to our PyTorch code first.

from sr-gnn.

hutuxian avatar hutuxian commented on June 1, 2024

Got it, thanks for your patient reply.

from sr-gnn.

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.