Skip to content

Commit

Permalink
Add instructions on how to create long videos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Biao-Gong authored Dec 19, 2024
1 parent 7f74026 commit fdc8090
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,22 @@ The default inputs are a image (.jpg) and a dance video (.mp4). The default outp


Some key parameters in the `.yaml` configuration file are described as follows. For example, users can adjust the `max_frames` or `sampling interval` of the dance video to generate videos of varying durations or speeds.
- `max_frames`: Number of frames in the generated video (fps: 8).
- `max_frames`: Number of frames (default as 32) in the generated video (fps: 8).
- If you want to generage longer video with more frames, you should modify
- `max_frames` as the number of frames
- `seq_len` in `UNet` as the number of frames + 1
- We take 96 frames as an example, and the config should be:
```python
{
max_frames: 96 # 1. modify `max_frames` as the number of frames (e.g. 96)
......
UNet: {
......
'use_sim_mask': False,
'seq_len': 97, # 2. modify `seq_len` in `UNet` as the number of frames + 1 (e.g. 97 = 96 + 1)
}
}
```
- `round`: The number of times each test case is generated.
- `test_list_path`: The input paths for all test cases, for example:
```python
Expand Down Expand Up @@ -163,4 +178,4 @@ If you find this codebase useful for your research, please use the following ent
journal={arXiv preprint arXiv:2412.03085},
year={2025}
}
```
```

0 comments on commit fdc8090

Please sign in to comment.