Skip to content

Math/AveragePooling #403

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

Open
wants to merge 37 commits into
base: develop
Choose a base branch
from
Open

Math/AveragePooling #403

wants to merge 37 commits into from

Conversation

Pwhsky
Copy link
Collaborator

@Pwhsky Pwhsky commented Jul 30, 2025

Docs, torch, unit tests for averagepooling.
Unit test currently failing as develop/deeptrack2/optics.py does not have torch backend support yet.
AveragePooling is used in line 364 of optics.py.

The errors are caused in various unit tests due to numpy arrays being passed to torch.nn.functional.avg_pool2d with a torch backend in math.py, so this will need to be looked at.

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