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 implementation for P4 and P4M GConv #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jornpeters
Copy link

This adds P4-conv and P4M-conv classes for PyTorch.

The implementation is based on the Chainer implementation (SplitGConv2D base class), the main difference being that the filter transforms are implemented using torch.gather instead of a custom function/kernel.

Equivariance tests (mimicking those for the Chainer implementation) are included. Moreover, the rotated MNIST experiment in [1] was reproduced to validate the implementation (the experiment file is not included in this pull request).

[1] T.S. Cohen, M. Welling, Group Equivariant Convolutional Networks. Proceedings of the International Conference on Machine Learning (ICML), 2016.

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.

None yet

1 participant