Comment out debug prints
Browse files- pipeline.py +9 -9
pipeline.py
CHANGED
@@ -1585,15 +1585,15 @@ class CustomPipeline(DiffusionPipeline, SD3LoraLoaderMixin):
|
|
1585 |
else:
|
1586 |
guidance = None
|
1587 |
|
1588 |
-
if use_prompt_mask and prompt_mask is not None and not zero_using_prompt_mask:
|
1589 |
-
|
1590 |
-
elif use_prompt_mask and prompt_mask is not None and zero_using_prompt_mask:
|
1591 |
-
|
1592 |
-
else:
|
1593 |
-
|
1594 |
-
|
1595 |
-
if self._guidance_scale_real > 1.0:
|
1596 |
-
|
1597 |
|
1598 |
# 6. Denoising loop
|
1599 |
with self.progress_bar(total=num_inference_steps) as progress_bar:
|
|
|
1585 |
else:
|
1586 |
guidance = None
|
1587 |
|
1588 |
+
# if use_prompt_mask and prompt_mask is not None and not zero_using_prompt_mask:
|
1589 |
+
# print('Using masking')
|
1590 |
+
# elif use_prompt_mask and prompt_mask is not None and zero_using_prompt_mask:
|
1591 |
+
# print('Using zeroed embeds')
|
1592 |
+
# else:
|
1593 |
+
# print('Not using masking')
|
1594 |
+
|
1595 |
+
# if self._guidance_scale_real > 1.0:
|
1596 |
+
# print('Using classifier free guidance', self._guidance_scale_real)
|
1597 |
|
1598 |
# 6. Denoising loop
|
1599 |
with self.progress_bar(total=num_inference_steps) as progress_bar:
|