-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
StableDiffusion example doesn't currently work without adjustment #1890
Comments
I noticed the same when running on CoLab. I believe the KerasCV documentation here helps: https://keras.io/keras_cv/
So on CoLab which is currently on TensorFlow 2.15 you have to comment out the Keras 3 upgrade and only run
This then runs until the mixed precision section which gives out of resource errors on the free tier GPUs. |
I have a same issue in Colab. I upgrade my keras-cv and tensorflow, and after that upgrade keras too. This is my installation code
But I got same error.
How can I solve this? |
Issue Type
Documentation Bug
Source
binary
Keras Version
keras_cv 0.9.0
Custom Code
No
OS Platform and Distribution
macOS, Windows, Ubuntu
Python version
3.12.4
GPU model and memory
CPU, Nvidia 3080, and M1 (METAL)
Current Behavior?
Following the example verbatim from Keras documentation pages including https://keras.io/guides/keras_cv/generate_images_with_stable_diffusion/ produces shape mismatch errors:
Standalone code to reproduce the issue or tutorial link
The text was updated successfully, but these errors were encountered: