Open duytrangiale opened 10 months ago
Thanks for your attention to our work and sorry for the late reply.
To use our RPMG layer, you need to first convert the ground truth quaternion to a 3x3 rotation matrix. You also need to add the RPMG layer after the network prediction as in this line. Then, compute the loss between gt and the output of the RPMG layer, and you are done.
Jiayi Chen
Hi Jiayi,
Thanks for your response. I will try again following your suggestion. I also have a few issues during implement your method, hope you can help me answer them.
In my particular case, the network produces an intermediate rotation vector (let call it delta_r), I then apply this delta_r to rotate another orientation vector (r0) to produce the predicted vector (pred_r). This predicted vector will be compared with a ground truth rotation vector (gt_r) in the loss function.
Do you think my case is suitable to apply your method?
Sorry for asking too many questions and thanks for your help.
Cheers, Duy
Hi Duy,
By the way, since currently I am not studying in this field, I may not be able to give you valuable suggestions.
Jiayi
Hi Jiayi,
Thanks a lot for your suggestion. I have a bit clearer idea about your approach, will need to do some more experiments to have better understanding.
I may come back here and ask you if I get stuck at some points in the future but hopefully it can work well.
Cheers, Duy
Hi Jiayi,
Thanks for sharing this amazing work. I have read through the paper and can understand the main idea of your method. However, after going the example codes, I still don't know how to apply the RPMG to my own project.
Could you please describe the general steps I should do to use the RPMG layer in my network?
For my work, the output of neural network are rotation vectors that I then use it to compute the predicted rotation. My orientation loss is the difference between ground truth and predicted quaternions (which I convert from the rotation vectors).
Thanks for your help.
Cheers, Duy