MuseV: Infinite-length and High Fidelity Virtual Human Video Generation with Visual Conditioned Parallel Denoising
MuseV: Infinite-length and High Fidelity Virtual Human Video Generation with Visual Conditioned Parallel Denoising
MuseV: Infinite-length and High Fidelity Virtual Human Video Generation with Visual Conditioned Parallel Denoising
Zhiqiang Xia *,
Zhaokang Chen*,
Bin Wu†,
Chao Li,
Kwok-Wai Hung,
Chao Zhan,
Yingjie He,
Wenjiang Zhou
(*co-first author, †Corresponding Author, [email protected])
Lyra Lab, Tencent Music Entertainment
github huggingface HuggingfaceSpace project Technical report (comming soon)
We have setup the world simulator vision since March 2023, believing diffusion models can simulate the world. MuseV was a milestone achieved around July 2023. Amazed by the progress of Sora, we decided to opensource MuseV, hopefully it will benefit the community. Next we will move on to the promising diffusion+transformer scheme.
Update:
MuseV is a diffusion-based virtual human video generation framework, which
base_model, lora, controlnet, etc. IPAdapter, ReferenceOnly, ReferenceNet, IPAdapterFaceID.musev_referencenet_pose: model_name of unet, ip_adapter of Command is not correct, please use musev_referencenet_pose instead of musev_referencenet.MuseV project and trained model musev, muse_referencenet.All frames were generated directly from text2video model, without any post process. MoreCase is in project, including 1-2 minute video.
Examples bellow can be accessed at configs/tasks/example.yaml
| image | video | prompt |
| ||
| ||
| ||
| ||
| ||
| ||
|
| image | video | prompt |
| ||
|
pose2video
In duffy mode, pose of the vision condition frame is not aligned with the first frame of control video. posealign will solve the problem.
| image | video | prompt |
| ||
|
The character of talk, Sun Xinying is a supermodel KOL. You can follow her on douyin.
| name | video |
| talk | |
| sing |
posealign modulePrepare python environment and install extra package like diffusers, controlnet_aux, mmcm.
Thanks for the third-party integration, which makes installation and use more convenient for everyone. We also hope you note that we have not verified, maintained, or updated third-party. Please refer to this project for specific results.
netdisk:https://www.123pan.com/s/Pf5Yjv-Bb9W3.html
code: glut
You are recommended to use docker primarily to prepare python environment.
Attention: we only test with docker, there are maybe trouble with conda, or requirement. We will try to fix it. Use docker Please.
docker pull anchorxia/musev:latestdocker run --gpus all -it --entrypoint /bin/bash anchorxia/musev:latestThe default conda env is musev.
create conda environment from environment.yaml
conda env create --name musev --file ./environment.ymlpip install -r requirements.txtif not use docker, should install mmlab package additionally.
pip install --no-cache-dir -U openmim
mim install mmengine
mim install "mmcv>=2.0.1"
mim install "mmdet>=3.1.0"
mim install "mmpose>=1.1.0" git clone --recursive https://github.com/TMElyralab/MuseV.gitcurrent_dir=$(pwd)
export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV
export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/MMCM
export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/diffusers/src
export PYTHONPATH=${PYTHONPATH}:${current_dir}/MuseV/controlnet_aux/src
cd MuseVMMCM: multi media, cross modal process package。diffusers: modified diffusers package based on diffuserscontrolnet_aux: modified based on controlnet_auxgit clone https://huggingface.co/TMElyralab/MuseV ./checkpointsmotion: text2video model, trained on tiny ucf101 and tiny webvid dataset, approximately 60K videos text pairs. GPU memory consumption testing on resolution$=512*512$, time_size=12.musev/unet: only has and train unet motion module. GPU memory consumption $\approx 8G$. musev_referencenet: train unet module, referencenet, IPAdapter. GPU memory consumption $\approx 12G$. unet: motion module, which has to_k, to_v in Attention layer refer to IPAdapterreferencenet: similar to AnimateAnyoneip_adapter_image_proj.bin: images clip emb project layer, refer to IPAdaptermusev_referencenet_pose: based on musev_referencenet, fix referencenetand controlnet_pose, train unet motion and IPAdapter. GPU memory consumption $\approx 12G$t2i/sd1.5: text2image model, parameter are frozen when training motion module. Different t2i base_model has a significant impact.could be replaced with other t2i base.majicmixRealv6Fp16: example, download from majicmixRealv6Fp16fantasticmix_v10: example, download from [fantasticmix_v10](https://civitai.com/models/22402?modelVerNo open issues yet, or sync has not completed.