ChiWeiHsiao / DeepVO-pytorch

PyTorch Implementation of DeepVO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems of data preprocessing

XMU-qcj opened this issue · 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?

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.