update inference command (#382)

This commit is contained in:
Zheng Zangwei (Alex Zheng) 2024-05-09 16:52:15 +08:00 committed by GitHub
parent 5080a86593
commit 9e9d62da20

View file

@ -249,8 +249,7 @@ Since Open-Sora 1.1 supports inference with dynamic input size, you can pass the
```bash
# text to video
python scripts/inference.py configs/opensora-v1-1/inference/sample.py \
--ckpt-path CKPT_PATH --prompt "A beautiful sunset over the city" --num-frames 32 --image-size 480 854
python scripts/inference.py configs/opensora-v1-1/inference/sample.py --prompt "A beautiful sunset over the city" --num-frames 32 --image-size 480 854
```
See [here](docs/commands.md#inference-with-open-sora-11) for more instructions including text-to-image, image-to-video, video-to-video, and infinite time generation.