mbortolon97 / 6dgs

Code of the paper: 6DGS: 6D Pose Estimation from a Single Image and a 3D Gaussian Splatting Model
Other
134 stars 11 forks source link

the role of cam_up_similarity #7

Open yuyouxixi opened 2 months ago

yuyouxixi commented 2 months ago

Hi, thank you for your wonderful work! I notice that in the training process, the loss function is composed of the attention loss and the cam_up_similarity. Since the cam_up_similarity was not discussed in the paper, may I ask what is the role of cam_up_similarity?

mbortolon97 commented 2 months ago

The cam_up_similarity is a simple loss that predicts the up direction of the model from the image. This is necessary to remove the last degree of freedom when predicting the rotation matrix. While you can predict it directly from the attention map, we notice that especially in some scenes this solution tends to be more stable at training time, but still with results extremely close to the ones published.