数字人对口型工具LatentSyn的colab安装笔记

数字人对口型工具LatentSyn的colab安装笔记

800_auto

三步执行:

第一步:注意执行代码过程中弹出任何框点击取消即可

#@title Install LatentSync and 'restart the session'. If you receive any pop-ups, click 'Cancel'.
%cd /content/
!rm -rf /content/LatentSync
!git clone https://github.com/bytedance/LatentSync.git
%cd /content/LatentSync
!pip install huggingface-hub==0.25.2
from huggingface_hub import snapshot_download
snapshot_download(repo_id="chunyu-li/LatentSync",local_dir="/content/LatentSync/checkpoints", ignore_patterns=["*.git" "*.md"])
!mkdir -p ~/.cache/torch/hub/checkpoints
checkpoint_path="/content/LatentSync/checkpoints"
!ln -s $checkpoint_path/checkpoints/auxiliary/2DFAN4-cd938726ad.zip /root/.cache/torch/hub/checkpoints/2DFAN4-cd938726ad.zip
!ln -s $checkpoint_path/checkpoints/auxiliary/s3fd-619a316812.pth /root/.cache/torch/hub/checkpoints/s3fd-619a316812.pth
!ln -s $checkpoint_path/checkpoints/auxiliary/vgg16-397923af.pth /root/.cache/torch/hub/checkpoints/vgg16-397923af.pth
# !hug...

点击查看剩余70%

{{collectdata}}

网友评论