Add pre-release onnxruntime-extensions python package install instru… (#14737)

This commit is contained in:
Nat Kershaw (MSFT) 2023-02-22 16:28:52 -08:00 committed by GitHub
parent 345214c0f4
commit c1c00e7a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,13 +33,13 @@ We provide a convenient Python script that exports the PyTorch model into ONNX f
```bash
pip install torch
pip install pillow
pip install onnx
pip install onnxruntime
pip install onnxruntime-extensions
pip install pillow
pip install --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ onnxruntime-extensions
```
A note on versions: the best super resolution results are achieved with ONNX opset 18 (with its support for the Resize operator with anti-aliasing), which is supported by onnx 1.13.0 and onnxruntime 1.14.0 and later.
A note on versions: the best super resolution results are achieved with ONNX opset 18 (with its support for the Resize operator with anti-aliasing), which is supported by onnx 1.13.0 and onnxruntime 1.14.0 and later. The onnxruntime-extensions package is a pre-release version. The release version will be available soon.
2. Then download the script and test image from the onnxruntime-extensions GitHub repository (if you have not already cloned this repository):