aboutsummaryrefslogtreecommitdiff
path: root/modules/sd_samplers_common.py
diff options
context:
space:
mode:
authorKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-04 17:53:30 +0800
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-04 17:53:30 +0800
commit6346d8eeaa17ba0f7e41618908519f6e9bfe07e0 (patch)
tree3a73b11529e9a782b0a6715d2039a98d989fac38 /modules/sd_samplers_common.py
parent094c416a801b16c7d8e1944e2e9fae2c9e98bf12 (diff)
Revert "change all encode"
This reverts commit 094c416a801b16c7d8e1944e2e9fae2c9e98bf12.
Diffstat (limited to 'modules/sd_samplers_common.py')
-rw-r--r--modules/sd_samplers_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_samplers_common.py b/modules/sd_samplers_common.py
index 42a29fc9..7269514f 100644
--- a/modules/sd_samplers_common.py
+++ b/modules/sd_samplers_common.py
@@ -75,7 +75,7 @@ def images_tensor_to_samples(image, approximation=None, model=None):
if approximation == 3:
image = image.to(devices.device, devices.dtype)
- x_latent = sd_vae_taesd.encoder_model()(image)
+ x_latent = sd_vae_taesd.encoder_model()(image) / 1.5
else:
if model is None:
model = shared.sd_model