tijiang13 / InstantAvatar

InstantAvatar: Learning Avatars from Monocular Video in 60 Seconds (CVPR 2023)
365 stars 31 forks source link

How can I get the npz from the video of AIST dataset? #58

Closed dsdf783 closed 10 months ago

dsdf783 commented 11 months ago

I want use the animation from my own video, can you tell me how can I get the correct npz file with the same format like aist_demo.npz?

tijiang13 commented 10 months ago

Hi dsdf783,

The npz files is a format of numpy. Basically it's a dict of arrays. If you already have the SMPL parameters prepared you can save it as a npz file using:

np.savez("<your filename here>.npz", **smpl_params)

Best, Tianjian

dsdf783 commented 10 months ago

Dear tijiang13, I wanna use the animation in my own video, but how can I get the smpl parameters from my own video?

hrx20000209 commented 9 months ago

Dear tijiang13, I wanna use the animation in my own video, but how can I get the smpl parameters from my own video?

I have the same question. Have you solved it?