continue-revolution / sd-forge-animatediff

AnimateDiff for Stable Diffusion WebUI Forge, mirror for https://github.com/continue-revolution/sd-webui-animatediff/tree/forge/master
109 stars 8 forks source link

[Bug]: Every frame a new image instead of fluid animation #6

Closed occultknowledge closed 7 months ago

occultknowledge commented 7 months ago

Is there an existing issue for this?

Have you read FAQ on README?

What happened?

installed everything indicated and on run it produces new images for each frame.

Steps to reproduce the problem

  1. install sd webui forge
  2. install the extension from here:
  3. runtime produces the same thing.

error log: AnimateDiff - WARNING - Missing keys 2024-02-21 13:11:31,340 - AnimateDiff - INFO - Setting DDIM alpha. 2024-02-21 13:11:31,342 - AnimateDiff - WARNING - SD1.5 GroupNorm32 forward function is NOT hacked. Performance will be degraded. Please use newer motion module 2024-02-21 13:11:31,342 - AnimateDiff - INFO - Injecting motion module temporaldiffMotion_v10.ckpt into SD1.5 UNet. Error running process_before_every_sampling: C:\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff.py Traceback (most recent call last): File "C:\webui_forge_cu121_torch21\webui\modules\scripts.py", line 830, in process_before_every_sampling script.process_before_every_sampling(p, script_args, kwargs) File "C:\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff.py", line 74, in process_before_every_sampling motion_module.inject(p.sd_model, params.model) File "C:\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff_mm.py", line 125, in inject unet.set_controlnet_model_function_wrapper(mm_cn_forward) AttributeError: 'UnetPatcher' object has no attribute 'set_controlnet_model_function_wrapper'


What should have happened?

it should have executed normally

Commit where the problem happens

webui: extension:

What browsers do you use to access the UI ?

No response

Command Line Arguments

none

Console logs

AnimateDiff - WARNING - Missing keys <All keys matched successfully>
2024-02-21 13:11:31,340 - AnimateDiff - INFO - Setting DDIM alpha.
2024-02-21 13:11:31,342 - AnimateDiff - WARNING - SD1.5 GroupNorm32 forward function is NOT hacked. Performance will be degraded. Please use newer motion module
2024-02-21 13:11:31,342 - AnimateDiff - INFO - Injecting motion module temporaldiffMotion_v10.ckpt into SD1.5 UNet.
*** Error running process_before_every_sampling: C:\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff.py
    Traceback (most recent call last):
      File "C:\webui_forge_cu121_torch21\webui\modules\scripts.py", line 830, in process_before_every_sampling
        script.process_before_every_sampling(p, *script_args, **kwargs)
      File "C:\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff.py", line 74, in process_before_every_sampling
        motion_module.inject(p.sd_model, params.model)
      File "C:\webui_forge_cu121_torch21\webui\extensions\sd-forge-animatediff\scripts\animatediff_mm.py", line 125, in inject
        unet.set_controlnet_model_function_wrapper(mm_cn_forward)
    AttributeError: 'UnetPatcher' object has no attribute 'set_controlnet_model_function_wrapper'

---

Additional information

I would love to see this working.