Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zejun-Yang committed Mar 28, 2024
1 parent dc06efb commit 195652d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ Note: If you have installed some of the pretrained models, such as `StableDiffus

Here are the cli commands for running inference scripts:

**Kindly note that increasing L will lead to the creation of a longer video.**
**Kindly note that you can set -L to the desired number of generating frames in the command, for example, -L 300.**

### Self driven

```shell
python -m scripts.pose2vid --config ./configs/prompts/animation.yaml -W 512 -H 512 -L 64
python -m scripts.pose2vid --config ./configs/prompts/animation.yaml -W 512 -H 512
```

You can refer the format of animation.yaml to add your own reference images or pose videos. To convert the raw video into a pose video (keypoint sequence), you can run with the following command:
Expand All @@ -155,15 +155,15 @@ python -m scripts.vid2pose --video_path pose_video_path.mp4
### Face reenacment

```shell
python -m scripts.vid2vid --config ./configs/prompts/animation_facereenac.yaml -W 512 -H 512 -L 64
python -m scripts.vid2vid --config ./configs/prompts/animation_facereenac.yaml -W 512 -H 512
```

Add source face videos and reference images in the animation_facereenac.yaml.

### Audio driven

```shell
python -m scripts.audio2vid --config ./configs/prompts/animation_audio.yaml -W 512 -H 512 -L 64
python -m scripts.audio2vid --config ./configs/prompts/animation_audio.yaml -W 512 -H 512
```

Add audios and reference images in the animation_audio.yaml.
Expand Down

0 comments on commit 195652d

Please sign in to comment.