guoyww / AnimateDiff

Official implementation of AnimateDiff.
https://animatediff.github.io/
Apache License 2.0
9.79k stars 800 forks source link

AnimatedDiff won't show up #229

Open ArchAngelAries opened 7 months ago

ArchAngelAries commented 7 months ago

I'm on latest commit of lshqqytiger's directml branch of A1111 (https://github.com/lshqqytiger/stable-diffusion-webui-directml/commit/03eec1791be011e087985ae93c1f66315d5a250e), have tried installing new instance with only AnimatedDiff installed and still doesn't show up. Can someone please help

Win 11 AMD 7900 XT

Extensions I usually have installed (don't know if any are not compatible) :

ArchAngelAries commented 7 months ago

Realized I'm getting this error, idk how to resolve:

*** Error loading script: animate.py Traceback (most recent call last): File "D:\AI-Stuff\AI\stable-diffusion-webui-directml\modules\scripts.py", line 382, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\AI-Stuff\AI\stable-diffusion-webui-directml\modules\script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\AI-Stuff\AI\stable-diffusion-webui-directml\extensions\AnimateDiff\scripts\animate.py", line 15, in from animatediff.models.unet import UNet3DConditionModel File "D:\AI-Stuff\AI\stable-diffusion-webui-directml\extensions\AnimateDiff\animatediff\models\unet.py", line 15, in from diffusers.modeling_utils import ModelMixin ModuleNotFoundError: No module named 'diffusers.modeling_utils'

yuanwu2023 commented 7 months ago

我最近也在尝试修复这个问题,py的高版本diffusers插件更改了diffusers.modeling_utils的位置,我尝试把diffusers版本固定在0.14.0同时在animatediff的源码里修改from diffusers.modeling_utils import ModelMixin至from diffusers.models.modeling_utils import ModelMixin后,控制台不再报错,但是animatediff始终无法运行

876128432 commented 7 months ago

问题解决了吗?最近也是总报错

levicn commented 7 months ago

same here

gexmbla commented 6 months ago

anyone know why the .ckpt file for the motion model will not show up in the dropdown menu? im sure i placed it in the right folder. it was showing before i updated python ...

gonglaijiang commented 2 months ago

have anybody solved this problem?

    from diffusers.modeling_utils import ModelMixin
ModuleNotFoundError: No module named 'diffusers.modeling_utils'