-
Notifications
You must be signed in to change notification settings - Fork 606
Closed
Description
Description
Cast numpy objects to expected types when possible, throw user friendly error messages otherwise.
Motivation
ONNX type mismatch errors are not user friendly.
prediction failed: Method run failed due to: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (N11onnxruntime11NonOnnxTypeIdEE) , expected: (N11onnxruntime11NonOnnxTypeIfEE)
Test cases
- iris sklearn should not need to do the cast
- imagenet should not need
tolist()
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request