Training on Multiple Datasets #3275
Unanswered
ZikangZhou
asked this question in
Q&A
Replies: 1 comment
-
You can use |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have two datasets, lets' say dataset A and dataset B, where each sample is a small graph. Dataset A contains more samples than dataset B, let's say the ratio is 3:1.
I want to train a GNN model using these two datasets in a mini-batch manner. I have implemented torch_geometric.data.Dataset for both A and B, but how can I concatenate them so that each batch samples 3 / 4 graphs from A and 1 / 4 graphs from B?
Beta Was this translation helpful? Give feedback.
All reactions