How to blend the dataset in function and generative data to on dataset? #6711
Answered
by
rusty1s
jiaruHithub
asked this question in
Q&A
-
I am working on a graph classification problem. Based on IDMB dataset, I have generated some graphs with labels. How to mix those graphs with graphs from IDMB in one dataset ? Or how to use Expect result: Every batch has some graphs from IDBM and generative graphs. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Feb 15, 2023
Replies: 1 comment
-
You can just put them into a list of data_list = [data for data in dataset]
data_list.extend(generated_data_objects)
loader = DataLoader(data_list, batch_size=128, shuffle=True) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jiaruHithub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just put them into a list of
Data
objects and input them into your loader: