sklearn-onnx
sklearn-onnx copied to clipboard
InvalidGraph: [ONNXRuntimeError] : 10 : INVALID_GRAPH : Load model from model_svc_tobb_2021_11_12.onnx failed:This is an invalid model. Type Error: Type 'seq(map(int64,tensor(float)))' of input parameter (output_probability) of operator (SequenceConstruct) in node (SequenceConstruct) is invalid
I am facing this issue during running the model on runtime.
Are you using MultiOutputClassifier? In that case, you should specify option zipmap=False.
@RAOMMA , is this issue resolved ,can you please let me know the solution which you used. I am facing the similar bug while Converting MultiOutputClassifier to onnx [ONNXRuntimeError] : 10 : INVALID_GRAPH : This is an invalid model. Type Error: Type 'seq(tensor(double))' of input parameter (probabilities) of operator (Cast) in node (Cast1) is invalid.