You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shows how to use WindowsML and ONNX Runtime to write python machine learning projects that runs across Windows AI hardware.
extendedZipContent
path
target
LICENSE
LICENSE
Steps
Download test model
..\Download-Model.ps1
Prepare the python environment
Create a python environment with Python 3.10 - 3.13
Ensure that your Python installation is not from the Microsoft Store (you can install an unpackaged version from python.org or via winget). The sample depends on using the Windows App SDK dynamic dependency API, which is only valid for unpackaged apps.
Install the latest WinML python packages
.\Install-Requirements.ps1
Install WindowsAppRuntime
Please install the WindowsAppRuntime that matches the version of the python package wasdk-Microsoft.Windows.ApplicationModel.DynamicDependency.Bootstrap
For experimental or preview WASDK. The version tags -xxxN are changed to .devN to fit Python's version requirements.