Views
No views yet
@misc{zhu2024champ,
title={Champ: Controllable and Consistent Human Image Animation with 3D Parametric Guidance},
author={Shenhao Zhu and Junming Leo Chen and Zuozhuo Dai and Yinghui Xu and Xun Cao and Yao Yao and Hao Zhu and Siyu Zhu},
year={2024},
eprint={2403.14781},
archivePrefix={arXiv},
primaryClass={cs.CV}
}pip install git+https://github.com/painebenjamin/champ.git1from champ import CHAMPPipeline
2pipeline = CHAMPPipeline.from_pretrained(
3 "benjamin-paine/champ",
4 torch_dtype=torch.float16,
5 variant="fp16",
6 device="cuda"
7).to("cuda", dtype=torch.float16)1from champ import CHAMPPipeline
2pipeline = CHAMPPipeline.from_single_file(
3 "benjamin-paine/champ",
4 torch_dtype=torch.float16,
5 variant="fp16",
6 device="cuda"
7).to("cuda", dtype=torch.float16)1result = pipeline(
2 reference: PIL.Image.Image,
3 guidance: Dict[str, List[PIL.Image.Image]],
4 width: int,
5 height: int,
6 video_length: int,
7 num_inference_steps: int,
8 guidance_scale: float
9).videos
10# Result is a list of PIL Imagesnum_inference_steps and guidance_scale are 20 and 3.5, respectively.depth, normal, dwpose and semantic_map (densepose.) This guide does not provide details on how to obtain those samples, but examples are available in the git repository.