poipiii
commited on
Commit
·
07bacbd
1
Parent(s):
c84190e
test in latnent upcale
Browse files- pipeline.py +2 -1
pipeline.py
CHANGED
@@ -885,7 +885,8 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
885 |
noise_pred = noise_pred_uncond + guidance_scale * \
|
886 |
(noise_pred_text - noise_pred_uncond)
|
887 |
print("noise_pred after guidance")
|
888 |
-
print(noise_pred)
|
|
|
889 |
print("compute the previous noisy sample")
|
890 |
# compute the previous noisy sample x_t -> x_t-1
|
891 |
upscale_latents = self.scheduler.step(
|
|
|
885 |
noise_pred = noise_pred_uncond + guidance_scale * \
|
886 |
(noise_pred_text - noise_pred_uncond)
|
887 |
print("noise_pred after guidance")
|
888 |
+
print(noise_pred.shape)
|
889 |
+
|
890 |
print("compute the previous noisy sample")
|
891 |
# compute the previous noisy sample x_t -> x_t-1
|
892 |
upscale_latents = self.scheduler.step(
|