yufu-wang / tram

TRAM: Global Trajectory and Motion of 3D Humans from in-the-wild Videos
MIT License
177 stars 13 forks source link

Problem:Transfer the final data to bvh file #14

Open ESJIAN opened 1 month ago

ESJIAN commented 1 month ago

HOW TO TRANSFER THE DATA INTO BVH FILE?

ESJIAN commented 1 month ago

I want to transfer the final body posture tensor data matrixand relative angles tensor matrix into a bvh file,but I cant analysis where the data that i want is. I have tried to extract data from object results in vimo_video.py.But only get results like below ![Uploading 屏幕截图 2024-08-05 125851.png…]()

ESJIAN commented 1 month ago

屏幕截图 2024-08-05 125851

yufu-wang commented 1 month ago

The smpl pose results are saved under "results/you_video_name/hps/*.npy". Each person will have one .npy file. To get the global trajectory, you need to combine those with the camera motion similar to here

ESJIAN commented 3 weeks ago

The smpl pose results are saved under "results/you_video_name/hps/*.npy". Each person will have one .npy file. To get the global trajectory, you need to combine those with the camera motion similar to here

Thank you for your replying ,I wonder pred_pose,pred_cam,pred_shape , pred_rotmat and pred_trans in vivo_track_0.npy means what?

ESJIAN commented 3 weeks ago

The smpl pose results are saved under "results/you_video_name/hps/*.npy". Each person will have one .npy file. To get the global trajectory, you need to combine those with the camera motion similar to here

image

Because I used the data from j3d.pth as skeleton joint data and it looks normal when i preview in the scatter plot

ESJIAN commented 3 weeks ago

Here are my projects,I will keep trying https://github.com/ESJIAN/TRAM_DATA_TO_BVH

ESJIAN commented 2 weeks ago

I have solved that,but I meet new problem .The data in pred_rotmat seems not to be the Euler_angle data of each JOINTS .Where is the right data I am looking for ?I want use it to fit the motion data of bvh file