From 4695367a585a88546d226d67e5fe227e7de73fe1 Mon Sep 17 00:00:00 2001 From: jeong jinmyeong Date: Sun, 14 Jan 2024 05:37:58 +0900 Subject: [PATCH] bug fix in hdr generation parameter writing --- modules/processing_correction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/processing_correction.py b/modules/processing_correction.py index 4d4bd8f60..ff038c024 100644 --- a/modules/processing_correction.py +++ b/modules/processing_correction.py @@ -63,7 +63,7 @@ def correction(p, timestep, latent): p.extra_generation_params["HDR center"] = f'{p.hdr_channel_shift}/{p.hdr_full_shift}' latent = center_tensor(latent, channel_shift=p.hdr_channel_shift, full_shift=p.hdr_full_shift) if timestep > 1 and timestep < 100 and p.hdr_maximize: - p.extra_generation_params["HDR max"] = f'{p.hdr_max_center}/p.hdr_max_boundry' + p.extra_generation_params["HDR max"] = f'{p.hdr_max_center}/{p.hdr_max_boundry}' latent = center_tensor(latent, channel_shift=p.hdr_max_center, full_shift=1.0) latent = maximize_tensor(latent, boundary=p.hdr_max_boundry) return latent