Replies: 1 comment 4 replies
-
You may want to call this function via: torch.manual_seed(12345)
train_test_split_edges()
torch.manual_seed(time()) but I'm actually not sure if that's the best way how you want to do it in PyTorch. |
Beta Was this translation helpful? Give feedback.
4 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.
-
Is it possible to control the seed used for
train_test_split_edges
to consistently return the same dataset split? Conversely, would it also be possible to set the seed to get different dataset splits?I guess setting the torch seed might fix this? However I am concerned setting it might affect other functions such as
negative_sampling
which would be better if it remained random.Beta Was this translation helpful? Give feedback.
All reactions