ChiWeiHsiao / DeepVO-pytorch

PyTorch Implementation of DeepVO
347 stars 105 forks source link

Problems of data preprocessing #41

Open XMU-qcj opened 3 years ago

XMU-qcj commented 3 years ago

Thanks for your great work, How can I convert the input six-dimensional vector back to the twelve-dimensional form of the data set?

mariakalimeri commented 2 years ago

Do you mean to say the "output pose of length 6"? If yes, then check the function eulerAnglesToRotationMatrix() in the helper.py module. It takes as input only the angles part of the 6-number long pose, i.e. positions 0, 1 and 2, and from that you should be able to construct the rotational matrix. The other three numbers at positions 3, 4 and 5 should be the translation vector that you can then append to the rotational matrix.