-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor multi test set datasets; add seq id test splits to GO #72
Conversation
@@ -518,7 +530,7 @@ def get(self, idx: int) -> Data: | |||
:return: PyTorch Geometric Data object. | |||
""" | |||
if self.in_memory: | |||
return self._batch_format(self.data[idx]) | |||
return self._batch_format(copy.deepcopy(self.data[idx])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this lead to one of the performance enhancements we discussed previously?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No noticeable delta but it makes me feel better about some of the gotchas here: https://alecstashevsky.com/post/on-the-fly-augmentation-with-pytorch-geometric-and-lightning-what-tutorials-dont-teach/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. SGTM
Besides the two comments above, LGTM! |
setup
in base datamodule to avoid setting up all datasets at once