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

Add keras_cv.models.StableDiffusion() guide #1080

Merged
merged 10 commits into from
Sep 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update the table
  • Loading branch information
LukeWood committed Sep 25, 2022
commit 054525d49a2d2cba635e2e6de11e4d9e256dad66
4 changes: 2 additions & 2 deletions guides/keras_cv/generate_with_stable_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ def visualize_prompt(prompt, sd_model=None):
"""
Lets check out the results:
"""
print("{:<10} {:<10}".format("Model", "Runtime"))
print("{:<20} {:<20}".format("Model", "Runtime"))
for result in benchmark_result:
name, runtime = result
print("{:<10} {:<10}".format(name, runtime))
print("{:<20} {:<20}".format(name, runtime))
"""
It only took our fully optimized model four seconds to generate three novel images from
a text prompt.
Expand Down