InMemoryDataset new input parameter #5558
-
Can someone help define the init class shown here. I want to add a parameter called
so when I run |
Beta Was this translation helpful? Give feedback.
Answered by
EdisonLeeeee
Sep 29, 2022
Replies: 1 comment 3 replies
-
Did you mean that? class ImbCircuitDataset(InMemoryDataset):
def __init__(self, root, split, transform=None, pre_transform=None,
pre_filter=None):
super().__init__(root, transform, pre_transform, pre_filter)
self.split = split
self.data, self.slices = torch.load(self.processed_paths[0]) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
anthonysirico
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you mean that?