[docs] inference-long merge (#475)

This commit is contained in:
Zheng Zangwei (Alex Zheng) 2024-06-19 17:31:15 +08:00 committed by GitHub
parent 403772eee1
commit 7c9a33b7a3

View file

@ -28,6 +28,8 @@ python scripts/inference.py configs/opensora-v1-2/inference/sample.py \
--image-size 480 853
```
In this version, we have merged all functions in previous `inference-long.py` into `inference.py`. The command line arguments are the same as before (only note that the frame index and length is calculated with 4x compressed).
### Inference with Open-Sora 1.1
Since Open-Sora 1.1 supports inference with dynamic input size, you can pass the input size as an argument.