-
Hello, I'm wondering if there's a way to train on two datasets but not sequentially. So let's say I have Dataset1 containing graphs A, B and C and Dataset2 containing graphs D and E. I would like to be able to generate a random sequence like B, D, A, C, E to train my model on. Is there a way to currently do this without writing a third Dataset class that processes both sets of graphs? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Sep 16, 2021
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
a-ism256
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
torch.utils.data.ConcatDataset
for that, see here.