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

Play with the theta parameters? #12

Open
FengLoveBella opened this issue Jun 21, 2017 · 1 comment
Open

Play with the theta parameters? #12

FengLoveBella opened this issue Jun 21, 2017 · 1 comment

Comments

@FengLoveBella
Copy link

Rotation-only spatial transformer networks. I want to learn a theta parameters which only rotation support. I know rotation mean [cos(theta), -sin(theta),sin(theta),cos(theta)], but how to constrain the these parameters to let the stn only support rotation.

@daerduoCarey
Copy link
Owner

You have to write your own layer to use the input theta to generate output 2x2 matrix. It is not hard to do. Or, you can just predict the four values and put some additional loss to constraint the matrix to be a rotation matrix.

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

No branches or pull requests

2 participants