Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem:Transfer the final data to bvh file #14

Open
ESJIAN opened this issue Aug 5, 2024 · 8 comments
Open

Problem:Transfer the final data to bvh file #14

ESJIAN opened this issue Aug 5, 2024 · 8 comments

Comments

@ESJIAN
Copy link

ESJIAN commented Aug 5, 2024

HOW TO TRANSFER THE DATA INTO BVH FILE?

@ESJIAN
Copy link
Author

ESJIAN commented Aug 5, 2024

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
Copy link
Author

ESJIAN commented Aug 5, 2024

屏幕截图 2024-08-05 125851

@ESJIAN ESJIAN changed the title DATA TRANSFER Problem:Transfer the final data to bvh file Aug 5, 2024
@yufu-wang
Copy link
Owner

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
Copy link
Author

ESJIAN commented Aug 22, 2024

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
Copy link
Author

ESJIAN commented Aug 22, 2024

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
Copy link
Author

ESJIAN commented Aug 22, 2024

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

@ESJIAN
Copy link
Author

ESJIAN commented Aug 23, 2024

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

@tppqt
Copy link

tppqt commented Nov 25, 2024

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我已经解决了这个问题,但我遇到了新的问题。pred_rotmat 中的数据似乎不是每个 JOINTS 的Euler_angle数据。我正在寻找的正确数据在哪里 - 我想用它来拟合 bvh 文件的运动数据

Have you solved these issues? I also want to convert files to BVH or FBX, but the characters shake after conversion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants