Update README.md
This commit is contained in:
Родитель
ed12aba917
Коммит
5731063c2a
|
@ -1,20 +1,20 @@
|
|||
|
||||
# WinML Runner Sample
|
||||
# WinMLRunner tool
|
||||
|
||||
The WinMLRunner program can run .onnx or .pb models where the input and output variables are tensors or images. It will attempt to load, bind, and evaluate a model and output error messages if these steps were unsuccessful. It will also capture performance measurements on the GPU and/or CPU. If using the performance flag, the GPU, CPU and wall-clock times for loading (on CPU only), binding, and evaluating and the CPU and GPU memory usage during evaluate will print to the command line and to a CSV file.
|
||||
The WinMLRunner is a command-line based tool that can run .onnx or .pb models where the input and output variables are tensors or images. It will attempt to load, bind, and evaluate a model and output error messages if these steps were unsuccessful. It will also capture performance measurements on the GPU and/or CPU. If using the performance flag, the GPU, CPU and wall-clock times for loading, binding, and evaluating and the CPU and GPU memory usage during evaluation will print to the command line and to a CSV file.
|
||||
|
||||
## Prerequisites
|
||||
- [Visual Studio 2017 Version 15.7.4 or Newer](https://developer.microsoft.com/en-us/windows/downloads)
|
||||
- [Windows 10 - Build 17738 or higher](https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewiso)
|
||||
- [Windows SDK - Build 17738 or higher](https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewSDK)
|
||||
|
||||
## Build the sample
|
||||
## Build the tool
|
||||
|
||||
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the following link or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2017. Notes: Before you unzip the archive, right-click it, select Properties, and then select Unblock.
|
||||
Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive. In Visual Studio 2017, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device. Reminder: If you unzip individual samples, they will not build due to references to other portions of the ZIP file that were not unzipped.
|
||||
You must unzip the entire archive if you intend to build the samples.
|
||||
|
||||
## Run the sample
|
||||
## Run the tool
|
||||
```
|
||||
Required command-Line arguments:
|
||||
-model <path> : Fully qualified path to a .onnx or .pb model file.
|
||||
|
@ -259,4 +259,4 @@ tracerpt.exe winmllog.etl -o logdump.csv -of CSV
|
|||
2. Windows Performance Analyzer (from Visual Studio)
|
||||
* Launch Windows Performance Analyzer and open the winmllog.etl.
|
||||
## License
|
||||
MIT. See [LICENSE file](https://github.com/Microsoft/Windows-Machine-Learning/blob/master/LICENSE).
|
||||
MIT. See [LICENSE file](https://github.com/Microsoft/Windows-Machine-Learning/blob/master/LICENSE).
|
||||
|
|
Загрузка…
Ссылка в новой задаче