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
When using keras.layers.MaxPooling2D with PyTorch backend, there is an inconsistent execution result between static inference shape and dynamic results.
Thanks for reporting the issue, on investigation it was found out that this happens with all the layers in torch which uses padding="same".
It was kind of edge case scenario with only certain combination like you provided would catch the error.
Created a PR to fix the same.
When using
keras.layers.MaxPooling2D
with PyTorch backend, there is an inconsistent execution result between static inference shape and dynamic results.The version is keras 3.5.0 with PyTorch 2.4.0
And I got the results below
The text was updated successfully, but these errors were encountered: