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:16 +0800
committerKohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com>2023-08-04 17:53:16 +0800
commit094c416a801b16c7d8e1944e2e9fae2c9e98bf12 (patch)
tree88e60b2bea851f41f69d03bbd3f12e4b5c97e995 /modules/sd_samplers_common.py
parent1f6bfdea80f58f292aeebb9a001689a118d71c01 (diff)
change all encode
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 7269514f..42a29fc9 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) / 1.5
+ x_latent = sd_vae_taesd.encoder_model()(image)
else:
if model is None:
model = shared.sd_model