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

Fix stable diffusion #2293

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions keras_cv/models/stable_diffusion/noise_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ class NoiseScheduler:
def __init__(
self,
train_timesteps=1000,
beta_start=0.0001,
beta_end=0.02,
beta_schedule="linear",
beta_start=0.00085,
beta_end=0.012,
beta_schedule="scaled_linear",
variance_type="fixed_small",
clip_sample=True,
clip_sample=False,
):
self.train_timesteps = train_timesteps

Expand Down
1 change: 0 additions & 1 deletion keras_cv/models/stable_diffusion/stable_diffusion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
class StableDiffusionTest(TestCase):
@pytest.mark.large
def test_end_to_end_golden_value(self):
self.skipTest("TODO: #2246 values differ for Keras2 and Keras3 TF")
prompt = "a caterpillar smoking a hookah while sitting on a mushroom"
stablediff = StableDiffusion(128, 128)

Expand Down
Loading