You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to quant a model with adaround. But below error occurs:
onnxruntime.capi.onnxruntime_pybind11_state.InvalidGraph: [ONNXRuntimeError] : 10 : INVALID_GRAPH : This is an invalid model. Type Error: Type 'tensor(uint8)' of input parameter (input) of operator (QuantizeLinear) in node (QuantizeLinear0) is invalid.
The text was updated successfully, but these errors were encountered:
This is because the 'input' variable is of type uint8, and the quantization operator we use in Dipoorlet is quantizelinear-13( https://github.com/onnx/onnx/blob/main/docs/Changelog.md#quantizelinear -13) . It only supports input tensor types of int32 and float, so I suggest you change the input to int32 or float before trying again.
when i try to quant a model with adaround. But below error occurs:
onnxruntime.capi.onnxruntime_pybind11_state.InvalidGraph: [ONNXRuntimeError] : 10 : INVALID_GRAPH : This is an invalid model. Type Error: Type 'tensor(uint8)' of input parameter (input) of operator (QuantizeLinear) in node (QuantizeLinear0) is invalid.
The text was updated successfully, but these errors were encountered: