Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] #17941

Open
palaniappankvignesh opened this issue Oct 13, 2023 · 5 comments
Open

[Build] #17941

palaniappankvignesh opened this issue Oct 13, 2023 · 5 comments
Labels
documentation improvements or additions to documentation; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot

Comments

@palaniappankvignesh
Copy link

palaniappankvignesh commented Oct 13, 2023

Describe the documentation issue

Hi,

I could not find onnx_test_runner mentioned in https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf, page 25. I'm trying to execute models on imx hardware.

onnx runtime version :1.13.1

image

Page / URL

No response

@palaniappankvignesh palaniappankvignesh added the documentation improvements or additions to documentation; typically submitted using template label Oct 13, 2023
@natke
Copy link
Contributor

natke commented Oct 13, 2023

Hi @palaniappankvignesh

The test runner instructions are described here: https://github.com/microsoft/onnxruntime/blob/main/docs/Model_Test.md#compile-onnx_test_runner-and-run-the-tests

Please give this a try.

We will also work on improving the discoverability of this information.

@palaniappankvignesh
Copy link
Author

palaniappankvignesh commented Oct 27, 2023

I'm not able to execute the model file using the command mentioned in the screenshot attached. Its showing below error.
image
do we need a test runner to execute models?

@palaniappankvignesh palaniappankvignesh changed the title [Documentation] [Build] Oct 27, 2023
@palaniappankvignesh
Copy link
Author

unbale to run performance test also
image

@palaniappankvignesh
Copy link
Author

@snnn, I have tried the below steps to get onnx_test_runner.exe.

  1. Downloaded onnx runtime version 1.16.1 for windows.
  2. Executed build.bat
  3. Then create vs project using cmake using below command

cd build
cmake C:\MTECH\FinalSem\onnxruntime-1.16.1\cmake

  1. sln file created and compiled the project in visual studio 2022
  2. All build process passed, except onnx_test_runner

76>Done building project "onnx_test_runner.vcxproj" -- FAILED.
75>Done building project "onnxruntime_perf_test.vcxproj" -- FAILED.
74>Done building project "onnxruntime_test_all.vcxproj" -- FAILED.
77>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
77>Building Custom Rule C:/MTECH/FinalSem/onnxruntime-1.16.1/cmake/CMakeLists.txt
78>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
78>Project not selected to build for this solution configuration
========== Build: 69 succeeded, 3 failed, 0 up-to-date, 6 skipped ==========
========== Build completed at 12:17 PM and took 22:14.978 minutes ==========

  1. I attached log file present in onnxruntime-1.16.1\onnx_test_runner.dir\Debug\onnx_test_runner.log
    onnx_test_runner.log

Need your inputs to fix these build error. Same I need to try it in cent os

Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation improvements or additions to documentation; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

2 participants