alexnasa commited on
Commit
51fc527
·
verified ·
1 Parent(s): b017772

Update pipelines/pipeline_seesr.py

Browse files
Files changed (1) hide show
  1. pipelines/pipeline_seesr.py +3 -3
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
- 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
 
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