Create inmemorydataset in PYG

I have already load my data, and split into train and valid. but i need to build them inmemory form, so i can implement repo model on my dataset.

bs = 4
train_loader = DataLoader(train_list, batch_size=bs, shuffle=True, num_workers=6)
test_loader = DataLoader(val_list, batch_size=bs, shuffle=False, num_workers=6),

how could i simply turn my data into inmemorydataset. should i Skip download and process?
can i have some code guidance?

1 Like