-
Notifications
You must be signed in to change notification settings - Fork 75
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
checking equivariance for the angles that are not 90n #61
Comments
Hi @ahyunSeo Unfortunately, it is impossible to achieve perfect equivariance to rotations smaller than 90 deg rotations since the images are sampled on a squared grid. To test equivariance to these rotations, you can include a few tricks:
You can take a look at the MNIST example here. If you want to improve the stability of your model, you can also make use of wider filters (e.g. 5x5 filters instead of 3x3) to reduce the discretization artifacts. Hope this helps! |
Hi, Gabriele Thank you for your useful tricks and comments. Best, |
Hello,
I want to check equivariance for the angles like 22.5, 45, ... that are not the multiples of 90 degrees.
To avoid the interpolation issue, I only tried to compute the values of the image center.
However, I could not find a proper way to prove the equivariance.
I created a gist for sharing.
In the code, I use C8 group.
The outputs of the printing are always False, True.
I even tried a single 3x3 conv for the 'model' but I never pass the allclose for the 45 degree.
I wonder whether I'm doing something wrong.
Best,
Ahyun
The text was updated successfully, but these errors were encountered: