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

Successive Frame genesis and ControlNet cannot work together #50

Open
chchan585 opened this issue Feb 18, 2024 · 1 comment
Open

Successive Frame genesis and ControlNet cannot work together #50

chchan585 opened this issue Feb 18, 2024 · 1 comment

Comments

@chchan585
Copy link

I am trying to generate images with Successive Frame genesis and ControlNet, but seems it always get the tensor size error. Below is my test set:

Prompt:
Cute Cat
Cute Dog

Frame genesis: successive

ControlNet Prepocessor: depth_midas
ControlNet Model: control_v11fp_sd15_depth

And i am using the suggested version:
AUTOMATIC1111/stable-diffusion-webui: version v1.5.1, tag v1.5.1
Mikubill/sd-webui-controlnet: version v1.1.229, commit eceeec7a7e

Everytime I try this got this error:

Traceback (most recent call last):
File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 621, in run
runner()
File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 681, in run_linear
inter_pos_hidden.value = lerp_fn(from_pos_hidden.value, to_pos_hidden.value, alpha)
File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 169, in wrapper
return fn(condA, condB, *args, **kwargs)
File "D:\stable-diffusion-webui\extensions\stable-diffusion-webui-prompt-travel\scripts\prompt_travel.py", line 176, in weighted_sum
return (1 - alpha) * A + (alpha) * B
RuntimeError: The size of tensor a (78) must match the size of tensor b (77) at non-singleton dimension 1

Is Successive + ControlNet not supported or something happened?

@nVen0m1
Copy link

nVen0m1 commented Feb 18, 2024

I am having the same problem. I built a new rig and installed a fresh a1111/AnimateDiff/Prompt Travel/Controlnet and I am getting the same error when attempting to prompt travel: My old machine is setup exactly the same way and everything is still working fine. Please help.

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

2 participants