【问题记录】Type parameter (T) of Optype (Less) bound to different types (tensor(float) and tensor(double) in node (Less_161).
# 根据问题提示以及项目多个输出对比,最后调试确定在参数初始化时出问题,因此修改如图所示,再次验证模型输出正常。
Reference:
1.failed:Type Error: Type parameter (T) bound to different types (tensor(float) and tensor(double) in node (). #6492.onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from fastwave.onnx failed:Type Error: Type parameter (T) bound to different types (tensor(double) and tensor(float) in node (). #55813.RuntimeError: [ONNXRuntimeError] : 1 : GENERAL ERROR : Load model from encoder.onnx failed:Type Error: Type parameter (T) bound to different types (tensor(double) and tensor(float) in node (). #17644.onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from fastwave.onnx failed:Type Error: Type parameter (T) bound to different types (tensor(double) and tensor(float) in node (). #5581