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

Output embedding size does not match the input #3

Open
iacopogentile opened this issue Dec 11, 2023 · 0 comments
Open

Output embedding size does not match the input #3

iacopogentile opened this issue Dec 11, 2023 · 0 comments

Comments

@iacopogentile
Copy link

iacopogentile commented Dec 11, 2023

Hi,

I ran the following code:

print(nx.info(H))

>>>Graph with 18640 nodes and 31096080 edges

import SpectralEmbeddings.GraphAutoencoder as graph_ae

alpha = 1e-4
beta = 1e-5
hidden_dims = [128,64]  # Example dimensions
epochs = 1000
ae = graph_ae.AutoEncoder(H, alpha, beta, hidden_dims, epochs)
ae.model()
embeddings = ae.get_embeddings()
len(embeddings)
>>> 37280

Maybe I am interpreting the output improperly, but I would expect embeddings to have as many elements as the number of nodes in the graph.

Best,

IG

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