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
As shown in this colab, I have an image of size (11,3). Using CenterCrop I can resize it to (7,17) and (5,4), but I meet a crash when trying to resize it to (5,17).
According to the error message, it seems that Keras generates an scaled image of height 0 and passes it to backends.
I've tried to change the backend and the same problem also shows up with tensorflow and torch backend.
The only difference is that tensorflow and torch checks the existence of 0, while jax directly uses it as a divisor.
Currently the output is:
The text was updated successfully, but these errors were encountered:
As shown in this colab, I have an image of size (11,3). Using CenterCrop I can resize it to (7,17) and (5,4), but I meet a crash when trying to resize it to (5,17).
According to the error message, it seems that Keras generates an scaled image of height 0 and passes it to backends.
I've tried to change the backend and the same problem also shows up with tensorflow and torch backend.
The only difference is that tensorflow and torch checks the existence of 0, while jax directly uses it as a divisor.
Currently the output is:
The text was updated successfully, but these errors were encountered: