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
-folder <path> : Fully qualifed path to a folder with .onnx and/or .pb models, will run all of the models in the folder.
31
31
32
32
#Optional command-line arguments:
33
-
-version: : prints the version information for this build of WinMLRunner.exe
34
-
-Perf : optional:<all>: capture performance measurements such as timing and memory usage. Specifying "all" will output all measurements
35
-
-Iterations <int> : Number of times to evaluate the model when capturing performance measurements.
36
-
-CPU : Will create a session on the CPU.
37
-
-GPU : Will create a session on the GPU.
38
-
-GPUHighPerformance : Will create a session with the most powerful GPU device available.
39
-
-GPUMinPower : Will create a session with GPU with the least power.
40
-
-CreateDeviceOnClient : Will create the device on the client and explicitly pass it to WinML via the API. GPU runs using this flag will usually be faster than -CreateDeviceInWinML since we avoid a cross-device copy by creating the video frame on the same device that DML uses to bind inputs.
41
-
-CreateDeviceInWinML : Will create the device inside WinML. GPU runs using this flag will usually be slower than -CreateDeviceOnClient since we have to copy the video frame to a different device.
42
-
-CPUBoundInput : Will bind the input to the CPU.
43
-
-GPUBoundInput : Will bind the input to the GPU.
44
-
-BGR : Will load the input as a BGR image.
45
-
-RGB : Will load the input as an RGB image.
46
-
-Tensor : Will load the input as a tensor.
47
-
-Input <image/CSV path> : Will bind image/data from CSV to model.
48
-
-PerfOutput <CSV path> : Path to the CSV where the perf results will be written.
49
-
-SavePerIterationPerf : Save per iteration performance results to csv file.
50
-
-Debug : Will start a trace logging session.
51
-
-Terse : Will suppress repetitive console output (initial iteration and summary info will be output).
52
-
-AutoScale <mode> : Will automatically scale an input image to match the required input dimensions of the model. Pass in the interpolation mode, one of ["Nearest", "Linear", "Cubic", "Fant"].
33
+
-version: prints the version information for this build of WinMLRunner.exe
34
+
-CPU : run model on default CPU
35
+
-GPU : run model on default GPU
36
+
-GPUHighPerformance : run model on GPU with highest performance
37
+
-GPUMinPower : run model on GPU with the least power
38
+
-CreateDeviceOnClient : create the device on the client and pass it to WinML
39
+
-CreateDeviceInWinML : create the device inside WinML
40
+
-CPUBoundInput : bind the input to the CPU
41
+
-GPUBoundInput : bind the input to the GPU
42
+
-RGB : load the input as an RGB image
43
+
-BGR : load the input as a BGR image
44
+
-Tensor : load the input as a tensor
45
+
-Perf [all]: capture performance measurements such as timing and memory usage. Specifying "all" will output all measurements
46
+
-Iterations : # times perf measurements will be run/averaged
47
+
-Input <fully qualified path>: binds image or CSV to model
48
+
-PerfOutput [<fully qualified path>]: csv file to write the perf results to
49
+
-SavePerIterationPerf : save per iteration performance results to csv file
50
+
-SaveTensorData <saveMode folderPath>: saveMode: save first iteration or all iteration output tensor results to csv file [First, All]
51
+
folderPath: Optional folder path can be specified to hold tensor data. It will be created if folder doesn't exist.
52
+
-DebugEvaluate: Print evaluation debug output to debug console if debugger is present.
std::cout << " -RGB : load the input as an RGB image" << std::endl;
26
26
std::cout << " -BGR : load the input as a BGR image" << std::endl;
27
27
std::cout << " -Tensor : load the input as a tensor" << std::endl;
28
-
std::cout << " -Perf optional:<all>: capture performance measurements such as timing and memory usage. Specifying \"all\" will output all measurements" << std::endl;
28
+
std::cout << " -Perf [all]: capture performance measurements such as timing and memory usage. Specifying \"all\" will output all measurements" << std::endl;
29
29
std::cout << " -Iterations : # times perf measurements will be run/averaged" << std::endl;
30
30
std::cout << " -Input <fully qualified path>: binds image or CSV to model" << std::endl;
31
-
std::cout << " -PerfOutput optional:<fully qualified path>: csv file to write the perf results to" << std::endl;
31
+
std::cout << " -PerfOutput [<fully qualified path>]: csv file to write the perf results to" << std::endl;
32
32
std::cout << " -SavePerIterationPerf : save per iteration performance results to csv file" << std::endl;
33
33
std::cout << " -SaveTensorData <saveMode folderPath>: saveMode: save first iteration or all iteration output tensor results to csv file [First, All]" << std::endl;
34
34
std::cout << " folderPath: Optional folder path can be specified to hold tensor data. It will be created if folder doesn't exist." << std::endl;
0 commit comments