Replies: 1 comment
-
|
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
-
Hi,
I am currently working with the PROTEINS dataset from TUDataset(). The way I am loading my data is as follows:
dataset = TUDataset(root='.', name='PROTEINS', use_node_attr = True).shuffle()
Now, when I print the number of features, i.e., dataset.num_features I am getting 4 although the dataset says there are 3 features.
Also printing the number of nodes keeps giving me a different number with every run. I am doing it as follows:
print('Number of nodes:', dataset[0].x.shape[0])
Why am I encountering such behavior? Can someone tell me what dataset[0].x is?
Beta Was this translation helpful? Give feedback.
All reactions