Champ模型部署指南champ是由阿里巴巴、复旦大学和南京大学的研究人员共同提出的一种基于3D的将人物图片转换为视频动画的模型,该方法结合了3D参数化模型(特别是SMPL模型)和潜在扩散模型,能够精确地捕捉和再现人体的3D形状和动态,同时保持动画的时间一致性和视觉真实性,以生成高质量的人类动画视频。
基础配置推荐:
系统:Ubuntu系统,
显卡:3090,
显存:24G,cuda12.1
conda -V
输入下列命令将系统更新及系统下载
apt-get update && apt-get install ffmpeg libsm6 libxext6 -y

输入下列命令对champ模型进行下载
git clone https://gitclone.com/github.com/fudan-generative-vision/champ.git

conda create -n champ python=3.10

conda activate champ

进入champ文件输入下列命令:
cd champ
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

输入下列命令:
git lfs install
git clone https://huggingface.co/fudan-generative-ai/champ pretrained_models
输入下列命令:
git lfs install
git clone https://huggingface.co/datasets/fudan-generative-ai/champ_motions_example example_data

注意:如果 VRAM 不足,您可以切换到较短的运动序列或从长序列中剪切出一段。我们在其中提供了一个帧范围选择器,您可以将其替换为列表,以方便从序列中剪切出一段。inference.yaml[min_frame_index, max_frame_index]
输入下列命令:
python inference.py --config configs/inference/inference.yaml

点击此处,立即体验Champ!
