Replies: 1 comment 2 replies
-
@rusty1s
Data transform function
Saving the data object using this
I used your provided skeleton
I tried to use the above class to make the custom data set
Generates this error
|
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi Altruists,
Can anyone tell me how to make a custom dataset from a data object? I am needing this to save it in a local machine such as Planetoid, TUDataset? Following is my data object created by the following snippet of code
data = Data(x=id_matrix, edge_index=edge_index.contiguous(), y = target_tensor)
-> Data(x=[8114, 8114], edge_index=[2, 303074], y=[8114], train_mask=[5000], test_mask=[1000], val_mask=[500])
The neighborLoader also works fine with my created PYG data object
-> 128
I am struggling to make my data object to a dataset using the following skeleton code
This question is also asked here https://torchgeometricco.slack.com/archives/CRAR9HK2P/p1661978641653829
Beta Was this translation helpful? Give feedback.
All reactions