Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi, dear community.
I'm fair new to the usage of PyG, and I'm trying to create a custom dataset based on a CSV file. I've read the oficial documentation and this other tutorial and come up with the following code:
where:
After this, I save the lists as a .pt file:
The issue appears when I load these files and try to access information about the graphs: num_nodes, num_edges, and other properties seem to be okay, but num_classes returns an error message.
Without num_classes:
output:
With num_classes:
output:
I appreciate any help on this matter.
Beta Was this translation helpful? Give feedback.
All reactions