DeepVO-pytorch icon indicating copy to clipboard operation
DeepVO-pytorch copied to clipboard

Problems of data preprocessing

Open XMU-qcj opened this issue 3 years ago • 1 comments

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

XMU-qcj avatar Sep 27 '21 02:09 XMU-qcj

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.

mariakalimeri avatar Nov 17 '21 14:11 mariakalimeri