参看:
https://github.com/kleinlee/DH_live
ubuntu 测试
apt install ffmpeg
下载安装:
git clone https://github.com/kleinlee/DH_live.git
cd DH_live
conda create -n dh_live python=3.12
conda activate dh_live
pip install -r requirements.txt
pip install torch torchvision tensorboard -i https://pypi.tuna.tsinghua.edu.cn/simple
cd checkpoint
gzip -d -c render.pth.gz.001 > render.pth
1)视频特征提取
python data_preparation.py /home/loong/Downloads/loong.mp4
结果保存在video_data/下面
2)运行demo合成视频
python demo.py video_data/test v