Spaces:
Running
on
Zero
Running
on
Zero
Update pipelines/pipeline_seesr.py
Browse files
pipelines/pipeline_seesr.py
CHANGED
@@ -1049,9 +1049,9 @@ class StableDiffusionControlNetPipeline(DiffusionPipeline, TextualInversionLoade
|
|
1049 |
for i, t in enumerate(timesteps):
|
1050 |
with torch.no_grad():
|
1051 |
# pass, if the timestep is larger than start_steps
|
1052 |
-
if t > start_steps:
|
1053 |
-
|
1054 |
-
|
1055 |
|
1056 |
# expand the latents if we are doing classifier free guidance
|
1057 |
latent_model_input = torch.cat([latents] * 2) if do_classifier_free_guidance else latents
|
|
|
1049 |
for i, t in enumerate(timesteps):
|
1050 |
with torch.no_grad():
|
1051 |
# pass, if the timestep is larger than start_steps
|
1052 |
+
# if t > start_steps:
|
1053 |
+
# print(f'pass {t} steps.')
|
1054 |
+
# continue
|
1055 |
|
1056 |
# expand the latents if we are doing classifier free guidance
|
1057 |
latent_model_input = torch.cat([latents] * 2) if do_classifier_free_guidance else latents
|