Skip to content

Commit

Permalink
fix wav2lip docs error (PaddlePaddle#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
lijianshe02 committed Feb 24, 2021
1 parent 32d179e commit 9b98542
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en_US/tutorials/wav2lip.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Runing the following command to complete the lip-syning task. The output is the

```
cd applications
python tools/wav2lip.py --face ../../imgs/mona7s.mp4 --audio ../../imgs/guangquan.m4a --outfile pp_guangquan_mona7s.mp4
python tools/wav2lip.py --face ../docs/imgs/mona7s.mp4 --audio ../docs/imgs/guangquan.m4a --outfile pp_guangquan_mona7s.mp4
```

**params:**
Expand All @@ -36,7 +36,7 @@ Place the LRS2 filelists(train, val, test) `.txt` files in the `filelists/` fold
- For single GPU:
```
export CUDA_VISIBLE_DEVICES=0
python tools/main.py --confit-file configs/wav2lip.yaml
python tools/main.py --config-file configs/wav2lip.yaml
```

- For multiple GPUs:
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/tutorials/wav2lip.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Wav2Lip实现的是视频人物根据输入音频生成与语音同步的人物

```
cd applications
python tools/wav2lip.py --face ../../imgs/mona7s.mp4 --audio ../../imgs/guangquan.m4a --outfile pp_guangquan_mona7s.mp4
python tools/wav2lip.py --face ../docs/imgs/mona7s.mp4 --audio ../docs/imgs/guangquan.m4a --outfile pp_guangquan_mona7s.mp4
```
**参数说明:**
- face: 视频或图片,视频或图片中的人物唇形将根据音频进行唇形合成,以和音频同步
Expand All @@ -38,7 +38,7 @@ preprocessed_root (lrs2_preprocessed)
- GPU单卡训练:
```
export CUDA_VISIBLE_DEVICES=0
python tools/main.py --confit-file configs/wav2lip.yaml
python tools/main.py --config-file configs/wav2lip.yaml
```

- GPU多卡训练:
Expand Down

0 comments on commit 9b98542

Please sign in to comment.