poipiii
commited on
Commit
•
1b4eb1d
1
Parent(s):
e611cbb
test interpolate latent
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -843,7 +843,7 @@ class StableDiffusionLongPromptWeightingPipeline(StableDiffusionPipeline):
|
|
843 |
print(latents)
|
844 |
print(latents.shape)
|
845 |
resized_image = torch.nn.functional.interpolate(
|
846 |
-
latents, size=(int(
|
847 |
|
848 |
print(resized_image.shape)
|
849 |
#do latent upscale here
|
|
|
843 |
print(latents)
|
844 |
print(latents.shape)
|
845 |
resized_image = torch.nn.functional.interpolate(
|
846 |
+
latents, size=(int(height*resize_scale)//8, int(width*resize_scale)//8))
|
847 |
|
848 |
print(resized_image.shape)
|
849 |
#do latent upscale here
|