Traceback (most recent call last):
File "test.py", line 46, in
'downsample_ratio': downsample_ratio
File "C:\Users\ivan\AppData\Local\Programs\Python\Python36\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 188, 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(float)) , expected: (tensor(float16))
[ WARN:0] global C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-uzca7qz1\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
When I change type np.float32 to np.float16 for downsample ratio I get new error:
Unexpected input data type. Actual: (tensor(float16)) , expected: (tensor(float)) (for downsample ratio)
I can`t understand how to fix that error with downsample ratio
Traceback (most recent call last): File "test.py", line 46, in
'downsample_ratio': downsample_ratio
File "C:\Users\ivan\AppData\Local\Programs\Python\Python36\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 188, 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(float)) , expected: (tensor(float16))
[ WARN:0] global C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-uzca7qz1\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
When I change type np.float32 to np.float16 for downsample ratio I get new error: Unexpected input data type. Actual: (tensor(float16)) , expected: (tensor(float)) (for downsample ratio)