Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

triples_plus contain original triples twice #11

Open
Tauboga208 opened this issue Oct 10, 2021 · 0 comments
Open

triples_plus contain original triples twice #11

Tauboga208 opened this issue Oct 10, 2021 · 0 comments

Comments

@Tauboga208
Copy link

In the forward() function of the RelationalGraphConvolutionLP Layer, the generate_self_loops() function concatenates the triples and self-edges, which are then concatenated again for the triples_plus with the triples and inverse_triples. This way the triples_plus contain the original edges twice.
Also, self-edges are created not only for the nodes left in the sampled (and edge-dropped) graph but for all nodes of the original graph. Is this implemented this way on purpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant