chenzhike110 / Semantic-Motion-Retargeting

Code of [CVPR 2024] "Semantics-aware Motion Retargeting with Vision-Language Models"
MIT License
28 stars 2 forks source link

Semantic-Motion-Retargeting

Code of [CVPR 2024] "Semantics-aware Motion Retargeting with Vision-Language Models"

Teaser Image

Environment

conda create -f environment.yaml

Add extra dependence in libs

cd libs/PyMo && pip install -e .
cd ../sdf && python setup.py install --user

Download Data & Pre-trained Models

Training data:

Inference

python inference.py

Train && Fine-tuning

For geometry fine-tuning, edit source and target skeleton in config files

python train.py
python finetune.py 

Visualization

cd visualization
blender -P visualize.py -- --render_engine eevee\
                        --bvh_list  {bvh_file1} {bvh_file2} ...\
                        --fbx_list  {fbx_file1} {fbx_file1} ...\
                        --frame_end 60 --fps 30

ToDo

Citation

@article{zhang2023semantic,
  title={Semantics-aware Motion Retargeting with Vision-Language Models},
  author={Haodong Zhang and ZhiKe Chen and Haocheng Xu and Lei Hao and Xiaofei Wu and Songcen Xu and Zhensong Zhang and Yue Wang and Rong Xiong},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2024}
}