From 5e69637f64473957196d5d2aa55edb9817f79322 Mon Sep 17 00:00:00 2001 From: Huan Yang Date: Mon, 21 Oct 2024 15:14:42 +0000 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 229a6c8..a217e57 100644 --- a/README.md +++ b/README.md @@ -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.