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

elements of A_pred are all zeros #1

Open
krishia opened this issue Feb 10, 2023 · 2 comments
Open

elements of A_pred are all zeros #1

krishia opened this issue Feb 10, 2023 · 2 comments

Comments

@krishia
Copy link

krishia commented Feb 10, 2023

Thank you for great paper.
I'm trying to reproduce the result of node attributes(point locations) reconstruction experiment with NDP, dataset=Grid2d.
The result of reconstructed node feature(X_pred), was really good. But the reconstructed adjacency matrix (A_pred) was all zeros.
There was no code modification except the

from spektral.layers import ops
...
A = ops.sp_matrix_to_sp_tensor(A.astype("f4"))

to

from spektral.layers import ops
from spektral.utils import sparse
...
A = sparse.sp_matrix_to_sp_tensor(A.astype("f4"))

due to "Move sp_matrix_to_sp_tensor and sp_batch_to_sp_tensor to spektral.uti…" in Spektral library.
If there is something that i missed, please let me know.

I'll be glad to see your answer.
Thanks.

@danielegrattarola
Copy link
Owner

danielegrattarola commented Feb 11, 2023

Hey,

what script are you running exactly?

@krishia
Copy link
Author

krishia commented Feb 11, 2023

I runned src/autoencoder/run_ndp.py

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

2 participants