Giter VIP home page Giter VIP logo

protgnn's People

Contributors

zaixizhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

protgnn's Issues

Datasets

Where can I get the datasets?

Feel confusing about the cluster loss and separation loss

In the paper, the cluster loss is defined as the average minimum of the distance between each graph embedding and the prototype of its own class. However, in the code:

cluster_cost = torch.mean(torch.min(min_distances * prototypes_of_correct_class, dim=1)[0])

The multiplication "min_distances * prototypes_of_correct_class" enables the "distance" of the other class equal to zero, thus the minimum is zero instead of the minimum corresponding distance. As a result, the cluster cost is always zero during the training process, and it doesn't work as expected.

The separation loss has the same problem.

Looking forward to your reply. Thanks!

ProtGNN+ usage

Hello,
I would like to reproduce the results of the paper related to ProtGNN+. In particular, I am interested in reproducing the results of the reasoning process, similarly to what is reported in Figure 3 of the work. However, in the current version of the repo, I think I am missing how to do it. Could you please provide code/instructions to run ProtGNN+ and visualize the corresponding reasoning process?

Thanks!

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.