-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: unsupported operand type(s) for +: 'NoneType' and 'Tensor' #11
Comments
Actually this seems to be a combination of different errors? Error executing callback cfg_denoised_callback for /home/maria/stable-diffusion-webui/extensions/sd_webui_SAG/scripts/SAG.py
Traceback (most recent call last):
File "/home/maria/stable-diffusion-webui/modules/script_callbacks.py", line 193, in cfg_denoised_callback
c.callback(params)
File "/home/maria/stable-diffusion-webui/extensions/sd_webui_SAG/scripts/SAG.py", line 214, in denoised_callback
attn_mask.reshape(b, middle_layer_latent_size[0], middle_layer_latent_size[1])
RuntimeError: shape '[1, 16, 20]' is invalid for input of size 144
Error executing callback cfg_after_cfg_callback for /home/maria/stable-diffusion-webui/extensions/sd_webui_SAG/scripts/SAG.py
Traceback (most recent call last):
File "/home/maria/stable-diffusion-webui/modules/script_callbacks.py", line 201, in cfg_after_cfg_callback
c.callback(params)
File "/home/maria/stable-diffusion-webui/extensions/sd_webui_SAG/scripts/SAG.py", line 242, in cfg_after_cfg_callback
params.x = params.x + (current_uncond_pred - (current_degraded_pred + current_degraded_pred_compensation)) * float(current_sag_guidance_scale)
RuntimeError: The size of tensor a (160) must match the size of tensor b (80) at non-singleton dimension 3 |
|
I'm also getting this error with inpainting models. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently receiving this error on Img2Img. Not sure what is causing it per se, but this was used in conjunction with Multi-diffusion's noise inversion, and Dynamic CFG when the error occured.
The text was updated successfully, but these errors were encountered: