Views
No views yet
![]() |
conda:1conda create -n Animate-X++ python=3.9.21
2# or conda create -n Animate-X++ python=3.10.16 # Python>=3.10 is required for Unified Sequence Parallel (USP)
3conda activate Animate-X++
4
5# CUDA 11.8
6pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu118
7# CUDA 12.1
8pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu121
9# CUDA 12.4
10pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124
11
12git clone https://github.com/Lucaria-Academy/Animate-X++.git
13cd Animate-X++
14pip install -e .torch>=2.5.0 is recommended.)pip install "huggingface_hub[cli]"
huggingface-cli download Wan-AI/Wan2.1-I2V-14B-720P --local-dir ./Wan2.1-I2V-14B-720Ppip install modelscope
modelscope download Wan-AI/Wan2.1-I2V-14B-720P --local_dir ./Wan2.1-I2V-14B-720Pcheckpoints dir./checkpoints/ as follows:./checkpoints/
|---- animate-x++.ckpt
|---- animate-x++_simple.ckpt
|---- dw-ll_ucoco_384.onnx
|---- open_clip_pytorch_model.bin
└---- yolox_l.onnx./outputs dir. We give a set of example data in Animate-X++ example data. Please put it in ./data1python process_data.py \
2 --source_video_paths data/videos \
3 --saved_pose_dir data/saved_pkl \
4 --saved_pose data/saved_pose \
5 --saved_frame_dir data/saved_frames1pip install xfuser
2CUDA_VISIBLE_DEVICES=0,1,2,3 torchrun --standalone --nproc_per_node=4 examples/inference_480p_usp.py
3# or
4CUDA_VISIBLE_DEVICES=0 torchrun --standalone --nproc_per_node=1 examples/inference_480p_usp.py CUDA_VISIBLE_DEVICES=0 torchrun --standalone --nproc_per_node=1 examples/inference_480p.py Although Animate-x does not rely on strict pose alignment and we did not perform any manual alignment operations for all the results in the paper, we cannot guarantee that all cases are perfect. Therefore, users can perform handmade pose alignment operations themselves, e.g, applying the overall x/y translation and scaling on the pose skeleton of each frame to align with the position of the subject in the reference image. (put indata/saved_pose)
1@article{AnimateX2025,
2 title={Animate-X: Universal Character Image Animation with Enhanced Motion Representation},
3 author={Tan, Shuai and Gong, Biao and Wang, Xiang and Zhang, Shiwei and Zheng, Dandan and Zheng, Ruobing and Zheng, Kecheng and Chen, Jingdong and Yang, Ming},
4 journal={ICLR 2025},
5 year={2025}
6}
7
8@article{Mimir2025,
9 title={Mimir: Improving Video Diffusion Models for Precise Text Understanding},
10 author={Tan, Shuai and Gong, Biao and Feng, Yutong and Zheng, Kecheng and Zheng, Dandan and Shi, Shuwei and Shen, Yujun and Chen, Jingdong and Yang, Ming},
11 journal={arXiv preprint arXiv:2412.03085},
12 year={2025}
13}