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
Describe the bug
When running the tensorflow max_pool_with_argmax op with onnxruntime, I find that the op returns does not return the same indices than tensorflow does.
System information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
Additional context
I also tried to convert such a simple model with keras-onnx, in which case I find that the onnx op returns both pooled values instead of pooled values and indices (there is an issue about this here).
Note that the indices are cast to float. I have let it because this caused an error when trying to convert with keras-onnx but it does not here so it can be ignored.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the tensorflow max_pool_with_argmax op with onnxruntime, I find that the op returns does not return the same indices than tensorflow does.
System information
To Reproduce
To generate a model showing the bug:
To convert the model to onnx:
To run it:
The tensorflow part of the code outputs:
While the onnxruntime one gives:
Additional context
I also tried to convert such a simple model with keras-onnx, in which case I find that the onnx op returns both pooled values instead of pooled values and indices (there is an issue about this here).
Note that the indices are cast to float. I have let it because this caused an error when trying to convert with keras-onnx but it does not here so it can be ignored.
The text was updated successfully, but these errors were encountered: