Skip to content

Commit 5a04686

Browse files
authored
Merge pull request #94647 from arunguru-msft/patch-10
ONNX Compat issues with latest skl2onnx
2 parents 80d5f9e + dd939e2 commit 5a04686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/azure-sql-edge/deploy-onnx.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ onnx_model_path = 'boston1.model.onnx'
179179
onnxmltools.utils.save_model(onnx_model, onnx_model_path)
180180
```
181181

182+
> [!NOTE]
183+
> You may need to set the `target_opset` parameter for the skl2onnx.convert_sklearn function if there is a mismatch between ONNX runtime version in SQL Edge and skl2onnx packge. For more information, see the [SQL Edge Release notes](release-notes.md) to get the ONNX runtime version corresponding for the release, and pick the `target_opset` for the ONNX runtime based on the [ONNX backward compatibility matrix](https://github.com/microsoft/onnxruntime/blob/master/docs/Versioning.md#version-matrix).
184+
182185
## Test the ONNX model
183186

184187
After converting the model to ONNX format, score the model to show little to no degradation in performance.

0 commit comments

Comments
 (0)