c_cxx/customop seems code can't work in linux
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 28/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- machine-learning, operating-systems
Research direction
Start with the c_cxx/customop example and example.cc, then reproduce the issue on Ubuntu using onnxruntime-linux-x64-1.17.1.tgz. Check whether onnxruntime_lite_custom_op.h is available and whether the Python-created model can be loaded by the C++ example. Done means the example's Linux support and required package contents are clear.
Written by the indexing model from the issue text.
Description
Hi, Recently I want to use python to train a model and use c++ to load it, I find onxxruntime lib, and I find the example of c_cxx/customop seems fit my requirements, but when I use the exmple.cc to load the model by python, I find some problems. I run it on ubuntu, and download the release package "onnxruntime-linux-x64-1.17.1.tgz ", I found there is no onnxruntime_lite_custom_op.h in the linux version lib, only windows version has this file.I just want a simple demo which can load the model which is trained by python, and use the model to predict in c++, I am not very familiar with c++, could anyone support me, thank you very much.
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 418
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/onnxruntime-inference-examples
-
Replace deprecated light-server with lite-server for onnxruntime-webPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Minor: typoPossibly taken @Hashim1999164 claimed this 67 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
microsoft/onnxruntime-inference-examples#124 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
Package "onnxruntime-react-native" does not contain a valid config pluginPossibly taken @reginaldalfret claimed this 25 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in microsoft/onnxruntime-inference-examples
Similar issues
-
3.7.6-dev commit 80481ea - files not centered when resolution differs and zoom = "pixel-to-pixel"Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
grizzlypeak3d/DJV#931 ·
-
bug 🔥 pharesee
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug tooling
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
BoundedVector::insert assigns to slots that were never constructedPossibly taken @auraseb claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
philips-software/amp-embedded-infra-lib#1379 ·
Maintainers usually reply within 2 days
-
bot-triaged module: cpp module: deprecation module: optimizer triaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day