Skip to content
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

add pytorch-geometric style batching for the online backend #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tbrugere
Copy link

Hi!

This is pretty much WIP, but I added the option to use pytorch-geometric style batching, like mentioned in this comment: #35 (comment)

It is only added for the online backend (I think adding it to the multiscale backend would require a major rework)

Besides that, I am kind of worried that in tests, using this batching introduces a ~1% difference from computing the losses independently (see test_scrip.py)… I am not sure whether to attribute it to numerical error or if there is a subtle error I made in the implementation

Please have a look when you get the time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant