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

Add model output type checks for OnnxInferenceModel (#285) #356

Merged
merged 2 commits into from
Apr 20, 2022

Conversation

ermolenkodev
Copy link
Collaborator

* If model output type not supported exception will be thrown

* Exception message contains recommendation to use predictRaw() method

* Add test demonstrating usage of onnx model with unsupported output type

* Minor changes after apply of auto-format

@juliabeliaeva juliabeliaeva self-requested a review April 18, 2022 12:53
@ermolenkodev
Copy link
Collaborator Author

It's not an actual fix of #285 but temporary solution to facilitate releasing of 0.4. Later we will implement support of ONNX output types such as Sequence and Map

    * If model output type not supported exception will be thrown

    * Exception message contains recommendation to use predictRaw() method

    * Add test demonstrating usage of onnx model with unsupported output type

    * Minor changes after apply of auto-format
@juliabeliaeva juliabeliaeva merged commit e09edc3 into Kotlin:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants