SRC icon indicating copy to clipboard operation
SRC copied to clipboard

elements of A_pred are all zeros

Open krishia opened this issue 2 years ago • 2 comments

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.

krishia avatar Feb 10 '23 13:02 krishia

Hey,

what script are you running exactly?

danielegrattarola avatar Feb 11 '23 12:02 danielegrattarola

I runned src/autoencoder/run_ndp.py

krishia avatar Feb 11 '23 14:02 krishia