Replies: 1 comment 3 replies
-
Are you getting this error in the line |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello experts,
I have a class:
My dataset is the TUD protein dataset. For example it looks like:
Number of graphs: 1113
Number of nodes: 47
Number of features: 3
Number of classes: 2
But number of nodes is variable, as each graph is is a different protein.
When I run my training, I get the error:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (2184x3 and 96x2)
How can I resolve this? I guess the batch dimension is not matching the linear layer input, but the details escape me.
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions