-
Notifications
You must be signed in to change notification settings - Fork 35
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
Error: [Fatal] (createNode) Unimplemented: node operation LinearClassifier #48
Comments
I'm looking at the list of ONNX operators: https://github.com/onnx/onnx/blob/main/docs/Operators.md, and there is no |
The above attached model is been created using following simple python script. Our goal is to just make sure the microcontroller we have is capable to run such basic model and then if it is ok, we go for more complex system. `
` |
Ah, seems there are two layers of ONNX, the base neural networks and on top of this classical ML operands. https://github.com/onnx/onnx/blob/main/docs/Overview.md As of now, onnx2c has only considered the NN part of ONNX. A quick look at ONNX-ML suggests the structure of the opearators are similar in ONNX-ML and ONNX-NN, so implementing ONNX-ML operands might not require (m)any changes to onnx2c internals. Adding a new operand to onnx2c isn't too difficult. Much of the work would be to make a few tests for it, as ONNX doesn't provide any. PRs welcome :) https://github.com/kraiskil/onnx2c/blob/master/development.md#adding-a-new-nodeop-implementation |
Trying to generate model.c for very Simple classification model which just says input value is positive or negative. Please find attached model.onnx file inside the zip file.
model.zip
The text was updated successfully, but these errors were encountered: