Closed afrofail closed 8 months ago
there is some bug in it if you directly upload a video. I should have fixed it in forge/dev branch in sd-webui-animatediff repository but I am not sure if it's working cuz I haven't had a chance to test it. Anyway, I will try to push a fix tomorrow.
Same issue here...
I'm afraid the problem persists on dev. I'm on the latest commit of forge.
Let me know if there are specific parts of the traceback that would be helpful to share.
Same issue still persists here. Using Animatediff without controlnet works fine, but enabling Controlnet creates the following error:
\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff_infv2v.py", line 85, in animatediff_on_cfg_denoiser ad_params.text_cond = ad_params.prompt_scheduler.multi_cond(cfg_params.text_cond, prompt_closed_loop) AttributeError: 'NoneType' object has no attribute 'multi_cond'
Would love to use this with Forge, so appreciate all the support on this.
It was working fine for about about two weeks after the fix, but for the past week or so I've been getting the same AttributeError: 'NoneType' object has no attribute 'multi_cond'
error.
I believe that this error has been fixed. please retry. if not, feel free to re-open this issue or open another issue.
I had to modify line 131 in animatediff_infv2v.py because I was getting a cannot iterate NoneType error on that line.
from:
if k == "control":
to:
if k == "control" and v is not None:
Edit: The above did not completely fix the issue and I am getting this error:
** Error executing callback cfg_denoiser_callback for J:\dev\python\stable-diffusion-webui-forge\extensions\sd-forge-animatediff\scripts\animatediff.py
Traceback (most recent call last):
File "J:\dev\python\stable-diffusion-webui-forge\modules\script_callbacks.py", line 233, in cfg_denoiser_callback
c.callback(params)
File "J:\dev\python\stable-diffusion-webui-forge\extensions\sd-forge-animatediff\scripts\animatediff_infv2v.py", line 100, in animatediff_on_cfg_denoiser
cfg_params.text_cond, cfg_params.text_uncond = pad_cond_uncond(ad_params.text_cond, cfg_params.text_uncond)
AttributeError: 'AnimateDiffProcess' object has no attribute 'text_cond'
Is there an existing issue for this?
Have you read FAQ on README?
What happened?
The built in forge Controlnet has errors and wont use video source information within animatediff. I tested in Automatic1111 with the Automatic1111 Animatediff extension and can load a video source, have controlnet preprocess the frames and generate in Txt2Img. Another issue is "sd15_t2v_beta" motion model also works in Automatic1111 but does not work at all in Forge.
Steps to reproduce the problem
What should have happened?
In Automatic1111, controlnet works perfect along with using a video source and input. This should the built in controlnet in forge should have preprocessed each frame (24) from the video source in animatediff and generated with controlnet
Commit where the problem happens
webui: Forge extension: AnimateDiff
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome
Command Line Arguments
Console logs
Additional information
No response