Upload ./README.md with huggingface_hub
Browse files79 unmodified lines808182838485868788899091929394959697989910079 unmodified linespython sample_t2i.py --prompt "渔舟唱晚" --infer-mode trt --no-enhance
```
### 5. Notice
The TensorRT engine is designed to support following shapes of input for performance reasons.
In the future, we will verify and try to support arbitrary shapes.
```python
STANDARD_SHAPE = [
[(768, 768), (1024, 1024), (1280, 1280)], # 1:1
[(1024, 768), (1152, 864), (1280, 960)], # 4:3
[(768, 1024), (864, 1152), (960, 1280)], # 3:4
[(1280, 768)], # 16:9
[(768, 1280)], # 9:16
]
```
## ❓ Q&A
Please refer to the [Q&A](./QA.md) for more questions and answers about building the TensorRT Engine.README.md+15