zju3dv / neuralbody

Code for "Neural Body: Implicit Neural Representations with Structured Latent Codes for Novel View Synthesis of Dynamic Humans" CVPR 2021 best paper candidate
Other
917 stars 128 forks source link

easymocap_to_neuralbody.py cannot generate params? #146

Closed leviome closed 1 year ago

leviome commented 1 year ago

Hi @pengsida, I tried easymocap_to_neuralbody.py to make custom dataset, but I only got vertices. Is it a bug or just a personal misoperation?

pengsida commented 1 year ago

Yes, it is a bug. Please revise the code by yourself.

pengsida commented 1 year ago

I have updated the script: https://github.com/zju3dv/neuralbody/blob/master/zju_smpl/easymocap_to_neuralbody.py

xianrui-luo commented 3 weeks ago

I have updated the script: https://github.com/zju3dv/neuralbody/blob/master/zju_smpl/easymocap_to_neuralbody.py

In line 63-70, I use ZJU-Mocap and get the poses of the shape [1,69], but in neuralbody I need [1,72], I wonder do I need to transform the poses? `params = {'poses': poses, 'Rh': Rh, 'Th': Th, 'shapes': shapes}

np.save('params_0.npy', params)

np.save(osp.join(param_out, "{}.npy".format(root)), params)`