Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RandomZoom backwards compatibility #18533

Closed
SimonF24 opened this issue Oct 1, 2023 · 1 comment
Closed

RandomZoom backwards compatibility #18533

SimonF24 opened this issue Oct 1, 2023 · 1 comment

Comments

@SimonF24
Copy link

SimonF24 commented Oct 1, 2023

Working on converting the "Image classification with Vision Transformer" keras.io example to keras 3 and ran into a backwards compatibility issue with RandomZoom(). Logging here as per #18468. Changing the imports to keras_core results in an exception when calling RandomZoom.call() where image_width is a Tensor in line 230 of keras_core/src/layers/preprocessing/random_zoom.py.

Colab

@fchollet
Copy link
Collaborator

fchollet commented Oct 2, 2023

Thanks for the report! The issue is now fixed at HEAD.

@fchollet fchollet closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants