File "D:\AI\stable-diffusion-webui-15\extensions\sd-webui-incantations\scripts\smoothed_energy_guidance.py", line 199, in seg_to_q_hook
q_uncond, q= output.chunk(2, dim=0)
ValueError: not enough values to unpack (expected 2, got 1)
I get this crash whenever I enable the following settings, and there seems to be no way to escape the crash on all subsequent runs even when totally disabling all Incantations will the process is restarted.
I'm trying to follow the code back to what might be causing an empty value to be provided as the argument but my Python is not amazing. Just logging in case there is an obvious fix.
When I disable all Incantations this is the alternative non escapable error that persists until the process is restarted:
File "D:\AI\stable-diffusion-webui-15\modules\sd_samplers_cfg_denoiser.py", line 289, in forward
denoised = self.combine_denoised(x_out, conds_list, uncond, cond_scale self.cond_scale_miltiplier)
File "D:\AI\stable-diffusion-webui-15\extensions\sd-webui-incantations\scripts\cfg_combiner.py", line 110, in
pass_conds_func = lambda args, *kwargs: combine_denoised_pass_conds_list(
File "D:\AI\stable-diffusion-webui-15\extensions\sd-webui-incantations\scripts\cfg_combiner.py", line 276, in combine_denoised_pass_conds_list
return new_combine_denoised(args)
File "D:\AI\stable-diffusion-webui-15\extensions\sd-webui-incantations\scripts\cfg_combiner.py", line 215, in new_combine_denoised
rate = scfg_combine_denoised(
File "D:\AI\stable-diffusion-webui-15\extensions\sd-webui-incantations\scripts\scfg.py", line 421, in scfg_combine_denoised
if mask_t.shape[2:] != model_delta_norm.shape[2:]:
AttributeError: 'NoneType' object has no attribute 'shape'
https://github.com/v0xie/sd-webui-incantations/blob/980d63838a2b8c8659a01b242e55551870619d6a/scripts/smoothed_energy_guidance.py#L199
I get this crash whenever I enable the following settings, and there seems to be no way to escape the crash on all subsequent runs even when totally disabling all Incantations will the process is restarted.
I'm trying to follow the code back to what might be causing an empty value to be provided as the argument but my Python is not amazing. Just logging in case there is an obvious fix.
When I disable all Incantations this is the alternative non escapable error that persists until the process is restarted:
https://github.com/v0xie/sd-webui-incantations/blob/980d63838a2b8c8659a01b242e55551870619d6a/scripts/scfg.py#L421