Python SVM model in C++ #15748
Unanswered
joshua-777
asked this question in
Other Q&A
Replies: 0 comments
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.
-
Hi, I have trained an SVM model in python with 8 features and a label for binary classification. I have also generated an onnx model of the same.
I am trying to run it in onnx runtime in C++ to get the desired classification of real-time features. I used the example of youtube video by Italian cpp that runs a linear regression onnx model in c++.
It works fine for that model. But when i change the model to the svm onnx model, i change input_data with 8 values for 8 features in order to generate the classification, the code doesn't even run entirely. I am a beginner using onnx runtime, What changes must be made in the code for running the svm model in onnx runtime that accepts 8 features for binary classification. Please help, it is urgent.
Beta Was this translation helpful? Give feedback.
All reactions