Unexpected input data type
Hi, I am running the example given on optimumgithub pageand i am getting the following error on a window machineonnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(int32)) , expected: (tensor(int64))Though i did not get the error when i run it on ubuntu machine.Complete errorTraceback (most recent call last):
  File "main.py", line 34, in <module>
    read_root('how are you')
  File "main.py", line 29, in read_root
    ort_outputs = ort_model.evaluation_loop(tokenized_ds)
  File "D:\\facebook_Senti\venv\lib\site-packages\optimum\onnxruntime\model.py", line 98, in evaluation_loop
    preds = session.run(self.onnx_named_outputs, onnx_inputs)
  File "D:\facebook_Senti\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 192, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(int32)) , expected: (tensor(int64))
2022-06-29T12:26:47Z
Let’s move this discussion toInvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type. Actual: (tensor(int32)) , expected: (tensor(int64) - #2 by echarlaixas you are describing the same problem there.