Closed ixiaoli closed 5 years ago
Have you seen this file https://github.com/ankurhanda/gvnn/blob/master/test.lua. You can use this as your sample to build off of it.
thank you~ and I don't understand the meaning of this code. self.u0 = -1 + 2 (u0-1)/(self.width-1) self.v0 = -1 + 2 (v0-1)/(self.height-1) ,can you tell me? Thank you!
you should read the spatial transformer paper. it is to make sure that the coordinates are [-1, 1]
Thank you for your explanation.
I now understand SO3 code, you say the paper is exponential map,But the actual result in the code is logarithmic mapping?like that
completeTransformation = completeTransformation + torch.cmul(sin_theta_div_theta_tensor,omega_skew) + torch.cmul(one_minus_cos_div_theta_sqr_tensor, omega_skew_sqr)
Some information I found shows that the result of the exponential mapping may be not divided by theta and theta square.Maybe my understanding is too shallow。
hi! @ankurhanda , I want to test the functionality of the backward,but I don't know how to set the gradOutput.I am aimlessly changing parameters,but it dosen't work.Can you tell me how I set the gradOutput that I could run the code smoothly.? Thank you very much!