Skip to content
Discussion options

You must be logged in to vote

Hi
I think if you change the nodes feature shape to (number of nodes, node feature dimension) your problem will be solved. I guess your input dimension is one so you can use the below code instead of what you used.

out = model(data.x.reshape(-1,1), data.edge_index, data.batch)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anthonysirico
Comment options

Answer selected by anthonysirico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants