Replies: 2 comments
-
AFAIK, there's no interface that PyG provides specifically to save generated data, so you have to implement it on your side. I think you can utilise |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can also just set a seed so that data is equvialent across runs. Otherwise, you can just do torch.save(dataset, 'dataset.pt')
dataset = torch.load('dataset.pt') |
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.
-
Such as
dataset = ExplainerDataset( graph_generator=BalancedBinaryTree(num_levels=8), motif_generator=CycleMotif(num_nodes=6), num_motifs=80, transform=MultiConstantFeat(value=1., num_dim=10, norm=True),)
The purpose of saving the data set is to keep the generated data set unchanged the next time you run the program.
Beta Was this translation helpful? Give feedback.
All reactions