Replies: 1 comment 1 reply
-
There are some samples for C++ here: https://github.com/microsoft/onnxruntime-inference-examples/tree/main/c_cxx |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I built a bot that uses computer vision and YOLOv5 on Python, but I'm trying to remake it on C++. I already have my working 'model.onnx' but I have no clue on how to use the ONNX api.
I'm trying to understand the API on python first, and I get that I need to use the following:
session = rt.InferenceSession("best.onnx")
outputs = session.run(output_names, input_feed)
I have jpg files that I pass with cv2.imread() but I don't know how to use them on the
run
parameters.Beta Was this translation helpful? Give feedback.
All reactions