Skip to content
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

callback error #19

Open
Neytiri7 opened this issue Jul 9, 2023 · 0 comments
Open

callback error #19

Neytiri7 opened this issue Jul 9, 2023 · 0 comments

Comments

@Neytiri7
Copy link

Neytiri7 commented Jul 9, 2023

** Error executing callback cfg_denoised_callback for O:\AI\SynologyDrive\repo\extensions\sd_webui_SAG\scripts\SAG.py

Traceback (most recent call last):

  File "O:\AI\SynologyDrive\repo\modules\script_callbacks.py", line 203, in cfg_denoised_callback

    c.callback(params)

  File "O:\AI\SynologyDrive\repo\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, 12, 8]' is invalid for input of size 384

*** Error executing callback cfg_after_cfg_callback for O:\AI\SynologyDrive\repo\extensions\sd_webui_SAG\scripts\SAG.py

Traceback (most recent call last):

  File "O:\AI\SynologyDrive\repo\modules\script_callbacks.py", line 211, in cfg_after_cfg_callback

    c.callback(params)

  File "O:\AI\SynologyDrive\repo\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 (64) must match the size of tensor b (128) at non-singleton dimension 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant