Update run.sh

pull/1080/head
TianYuan 3 years ago committed by GitHub
parent 9614330850
commit 45edb67552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then
wget -P download https://paddlespeech.bj.bcebos.com/Parakeet/released_models/fastspeech2/fastspeech2_nosil_baker_ckpt_0.4.zip
unzip -d download download/fastspeech2_nosil_baker_ckpt_0.4.zip
# donload sources
wget -P dowload https://paddlespeech.bj.bcebos.com/demos/metaverse/Lamarr.png
wget -P download https://paddlespeech.bj.bcebos.com/demos/metaverse/Lamarr.png
fi
@ -57,7 +57,7 @@ if [ ${stage} -le 4 ] && [ ${stop_stage} -ge 4 ]; then
CUDA_VISIBLE_DEVICES=${gpus} \
python3 PaddleGAN/applications/tools/wav2lip.py \
--checkpoint_path download/wav2lip_hq.pdparams \
--face dowload/Lamarr.png \
--face download/Lamarr.png \
--audio output/wavs/000.wav \
--outfile output/tts_lips.mp4 \
--face_enhancement

Loading…
Cancel
Save