Update README.md
This commit is contained in:
parent
dc9c0708c6
commit
5e69637f64
@ -92,6 +92,7 @@ library_name: diffusers
|
||||
```python
|
||||
python single_inference.py \
|
||||
--user_prompt 'A seaside harbor with bright sunlight and sparkling seawater, with many boats in the water. From an aerial view, the boats vary in size and color, some moving and some stationary. Fishing boats in the water suggest that this location might be a popular spot for docking fishing boats.' \
|
||||
--save_path ./output_videos/test_video.mp4
|
||||
--vae your/path/to/vae \
|
||||
--dit your/path/to/transformer \
|
||||
--text_encoder your/path/to/text_encoder \
|
||||
@ -100,6 +101,14 @@ library_name: diffusers
|
||||
--num_sampling_steps 100 \
|
||||
--seed 42
|
||||
```
|
||||
|
||||
Use '--enable_cpu_offload' to offload the model into CPU for less GPU memory cost (about 9.3G, compared to 27.5G if CPU offload is not enabled), but the inference time will increase significantly.
|
||||
|
||||
5. (Optional) Interpolate the video to 30 FPS.
|
||||
|
||||
It is recommended to use [EMA-VFI](https://github.com/MCG-NJU/EMA-VFI) to interpolate the video from 15 FPS to 30 FPS.
|
||||
|
||||
For better visual quality, please use imageio to save the video.
|
||||
|
||||
# License
|
||||
This repo is released under the Apache 2.0 License.
|
||||
|
Loading…
x
Reference in New Issue
Block a user