Skip to content

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