ChrisWu1997 / 2D-Motion-Retargeting

PyTorch implementation for our paper Learning Character-Agnostic Motion for Motion Retargeting in 2D, SIGGRAPH 2019
https://motionretargeting2d.github.io
MIT License
440 stars 86 forks source link

About .json to .npy #10

Closed iluvrachel closed 5 years ago

iluvrachel commented 5 years ago

Thank you for your excellent work! The code fbx2joints3d.py convert .fbx files into .json format. But only .npy format files could be recognized in the code preprocess.py and also the subsequent process. So how can I prepare my own dataset? Or how can I convert json files to npy files like you did?

ChrisWu1997 commented 5 years ago

Thanks for this issue! I forgot to upload that script. Now I add a function json2npy in fbx2joints3d.py to convert .json to .npy. Please check if that works since I haven't test it. Feel free to let me know if there is any problem.

iluvrachel commented 5 years ago

Thanks a lot!