Getting error while exporting the script
#8
by
ajaysoni1207 - opened
I am getting this error while exporting the models to onnx. I am using the same script used for conversion.
sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from output/onnx/vision_encoder.onnx failed:Type Error: Type parameter (Tind) of Optype (Slice) bound to different types (tensor(int32) and tensor(int64) in node (/blocks.0/attn/Slice_6).
I see there was a checkin with fixed version and I can run that, but was just wondering how this error is fixed.