DeepVO-pytorch
DeepVO-pytorch copied to clipboard
Problems of data preprocessing
Thanks for your great work, How can I convert the input six-dimensional vector back to the twelve-dimensional form of the data set?
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.