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
2024-01-09 11:06:18.1575181 [E:onnxruntime:, sequential_executor.cc:346 onnxruntime::SequentialExecutor::Execute] Non-zero status code returned while running ReduceMax node. Name:'ReduceMax_1745' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\cpu\reduction\reduction_ops.cc:747 onnxruntime::ValidateKeepDims keepdims was false. Can't reduce on dim with value of 0 if 'keepdims' is false. Invalid output shape would be produced. input_shape:{0,4}
this onnx file is converted from the pytorch pth file
Where are you getting this error? If I am reading it right, there is a call to max() in your model that is not supported by ONNX (but is presumably supported by Pytorch). You may have to modify the model to not make that call. It may also have something to do with a dimension (which may be the batch size) that has a value of 0 and that is not supported
Where are you getting this error? If I am reading it right, there is a call to max() in your model that is not supported by ONNX (but is presumably supported by Pytorch). You may have to modify the model to not make that call. It may also have something to do with a dimension (which may be the batch size) that has a value of 0 and that is not supported
Do you know where I need to adjust in my model? What function is this problem generally related to?
An error occurs when running the onnx model
this onnx file is converted from the pytorch pth file
The text was updated successfully, but these errors were encountered: