mbanani / unsupervisedRR

[CVPR 2021 - Oral] UnsupervisedR&R: Unsupervised Point Cloud Registration via Differentiable Rendering
https://mbanani.github.io/unsupervisedrr
MIT License
136 stars 20 forks source link

Whether the calculated Rt is differentiable #7

Closed linxcan closed 1 year ago

linxcan commented 1 year ago

Hello, I observed on your code that when Rt is calculated according to the point correspondence, it is solved by SVD. But is the loss obtained in this way derivable? image

https://github.com/mbanani/unsupervisedRR/blob/4ba5b1cc76080f5c6fd99cec155453f43b547bcd/unsupervisedRR/models/alignment.py#L127

mbanani commented 1 year ago

Hi @linxcan,

PyTorch's implementation of SVD is differentiable, as seen here, allowing us to define losses using the estimated Rt and back propagating the loss to the features.

linxcan commented 1 year ago

Thanks for your response!