C++ Sample inputs for onnxruntime_perf_test.exe #5640
Unanswered
raoanagharaj
asked this question in
Other Q&A
Replies: 2 comments
-
Hi, I too am trying to understand how to use onnxruntime_perf_test with my own known-good .onnx models. We test the models in Keras with prediction data in .h5 files. Are there any more detailed examples on how to use this onnxruntime_perf_test so I can get the data into the right format? Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The model and test data format should be the same as the ones in ONNX model zoo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run onnxruntime_perf_test.exe with onnxruntime_perf_test.exe -v -e dml < onnxruntime\build\Debug\testdata\transform\matmul_add_fusion\3Input\model.onnx> path as input.
I also tried out other sample inputs in the repo, but mostly got the below error:
iteration:5,time_cost:0.0084346
Run failed:PerformanceRunner::RunOneIteration caught exception: Unexpected input data type. Actual: (class onnxruntime::PrimitiveDataType) , expected: (class onnxruntime::PrimitiveDataType)
What are the best input data for onnxruntime_perf_test ?
Beta Was this translation helpful? Give feedback.
All reactions