continue-revolution / sd-webui-animatediff

AnimateDiff for AUTOMATIC1111 Stable Diffusion WebUI
Other
3.11k stars 258 forks source link

[Bug]: Controlnet suddenly stopped working. #407

Closed JustCann closed 9 months ago

JustCann commented 9 months ago

Is there an existing issue for this?

Have you read FAQ on README?

What happened?

I had been generating the same video with 2 cn active. Suddenly I got the following in the cmd window ** Error running process: C:\Users\alexi\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "C:\Users\alexi\stable-diffusion-webui\modules\scripts.py", line 718, in process script.process(p, script_args) File "C:\Users\alexi\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1113, in process self.controlnet_hack(p) File "C:\Users\alexi\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1098, in controlnet_hack self.controlnet_main_entry(p) File "C:\Users\alexi\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff_cn.py", line 248, in hacked_main_entry model_net.reset() AttributeError: 'ControlModel' object has no attribute 'reset'

I did a clean install of both cn and animatediff, issue still persists.

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

Should have worked as it did previously with no changes

Commit where the problem happens

webui: extension:

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers --medram

Console logs

See above please.

Additional information

No response

JustCann commented 9 months ago

Apologies, finally found the comment regarding the CN update, I realized I accidentally updated. Fixed by using git checkout 10bd9b2. It is now working!!