Samples and Tools for Windows ML.
This change removes the ability of WinMLRunner.exe to load Windows.AI.MachineLearning.dll locally if the DLL is within the same directory as the executable. Instead, MicrosoftMLRunner.exe should be used for loading Microsoft.AI.MachineLearning.dll within the same directory. More details below.
MicrosoftMLRunner.exe uses Microsoft.AI.MachineLearning.dll
in the immediate directory of the executable instead of loading Windows.AI.MachineLearning.dll
from System32 (that is for WinMLRunner). MicrosoftMLRunner is useful to compare performance with an older version of WinML or to test a newer version of WinML's NuGet. For more information, please reference Microsoft.AI.MachineLearning NuGet page.
New Features:
-Tensor [function] : load the input as a tensor, with optional function for input preprocessing
Example Usage:
WinMLRunner.exe -model ./densenet121.onnx -Tensor Normalize 255 0.485,0.456,0.406 0.229,0.224,0.225 -CPU -SaveTensorData First -PerIterationPath <tensorDataPath>
New Features:
.\WinMLRunner.exe -model .\SqueezeNet.onnx -inputimagefolder .\images\
Updates and fixes:
New change:
Delayload DXGI and D3d11.dll with DxCore Path
New Features!
Bug Fixes:
-TopK <number>: print top <number> values in the result. Default to 1