mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
version = '2.1.726'
|
version = '2.1.727'
|
||||||
|
|||||||
@@ -468,8 +468,8 @@ def process_diffusion(positive_cond, negative_cond, steps, switch, width, height
|
|||||||
denoise=denoise)[switch:] * k_sigmas
|
denoise=denoise)[switch:] * k_sigmas
|
||||||
len_sigmas = len(sigmas) - 1
|
len_sigmas = len(sigmas) - 1
|
||||||
|
|
||||||
assert isinstance(modules.patch.eps_record, torch.Tensor)
|
residual_noise = modules.patch.eps_record
|
||||||
residual_noise = modules.patch.eps_record / modules.patch.eps_record.std()
|
assert isinstance(residual_noise, torch.Tensor)
|
||||||
|
|
||||||
if modules.inpaint_worker.current_task is not None:
|
if modules.inpaint_worker.current_task is not None:
|
||||||
modules.inpaint_worker.current_task.swap()
|
modules.inpaint_worker.current_task.swap()
|
||||||
|
|||||||
Reference in New Issue
Block a user