Skip to content

[web] cannot run simple scikit-learn classifier in browser #9688

Discussion options

You must be logged in to vote

I managed to solve my problem...

First, I tried to run the pipeline with onnxruntime-node, where I got a readable error message:
failed to inference ONNX model: Error: Non tensor type is temporarily not supported..

After searching around issues and documentation, I understood that the zipmap option needs to be deactivated when converting Scikit-Learn classifiers with sklearn-onnx, otherwise none of the classifiers will work with onnxruntime in JavaScript.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JulesFrancoise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant