ERROR Calling AnimateDiff
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [X] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
I does not see the AnimateDiff UI on my Weiui bruhhh
Steps to reproduce the problem
1.download AnimateDiff 2.open weiui 3.does not show
What should have happened?
WebUI should show me AnimateDiff extension
What browsers do you use to access the UI ?
No response
Sysinfo
Console logs
Already up to date.
venv "Y:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.9.3
Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0
loading WD14-tagger reqs from Y:\Stable Diffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-wd14-tagger\requirements.txt
Checking WD14-tagger requirements.
Launching Web UI with arguments: --xformers --medvram
2024-04-23 07:55:09.568810: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-04-23 07:55:10.134346: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[-] ADetailer initialized. version: 24.4.2, num models: 10
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
dirname: Y:\Stable Diffusion\stable-diffusion-webui\localizations
localizations: {'zh-Hans (Stable) [vladmandic]': 'Y:\\Stable Diffusion\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-zh_Hans\\localizations\\zh-Hans (Stable) [vladmandic].json', 'zh-Hans (Stable)': 'Y:\\Stable Diffusion\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-zh_Hans\\localizations\\zh-Hans (Stable).json', 'zh-Hans (Testing) [vladmandic]': 'Y:\\Stable Diffusion\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-zh_Hans\\localizations\\zh-Hans (Testing) [vladmandic].json', 'zh-Hans (Testing)': 'Y:\\Stable Diffusion\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-localization-zh_Hans\\localizations\\zh-Hans (Testing).json'}
ControlNet preprocessor location: Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2024-04-23 07:55:17,533 - ControlNet - INFO - ControlNet v1.1.445
2024-04-23 07:55:17,650 - ControlNet - INFO - ControlNet v1.1.445
sd-webui-prompt-all-in-one background API service started successfully.
== WD14 tagger /gpu:0, uname_result(system='Windows', node='DESKTOP-K0IHA7P', release='10', version='10.0.22631', machine='AMD64') ==
Loading weights [a074b8864e] from Y:\Stable Diffusion\stable-diffusion-webui\models\Stable-diffusion\counterfeitV30_25sd1.5.safetensors
[LyCORIS]-WARNING: LyCORIS legacy extension is now loaded, if you don't expext to see this message, please disable this extension.
Creating model from config: Y:\Stable Diffusion\stable-diffusion-webui\configs\v1-inference.yaml
*** Error calling: Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py/ui
Traceback (most recent call last):
File "Y:\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 528, in wrap_call
return func(*args, **kwargs)
File "Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py", line 43, in ui
from scripts.animatediff_mm import mm_animatediff as motion_module
ModuleNotFoundError: No module named 'scripts.animatediff_mm'
---
*** Error calling: Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py/ui
Traceback (most recent call last):
File "Y:\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 528, in wrap_call
return func(*args, **kwargs)
File "Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py", line 43, in ui
from scripts.animatediff_mm import mm_animatediff as motion_module
ModuleNotFoundError: No module named 'scripts.animatediff_mm'
Additional information
No response
I solved it by going into the animatediff.py file and moving the from statement to where all the other from statements are. That seemed to solve it for me.
I solved it by going into the animatediff.py file and moving the from statement to where all the other from statements are. That seemed to solve it for me.
is this python file?
Yes its the python file. If you follow the path it gives you in the error message: "Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py" and open that python file you'll be able to fix it hopefully.
I solved it by going into the animatediff.py file and moving the from statement to where all the other from statements are. That seemed to solve it for me.
ok thaks bro i try this method and also work for me tQ
Yes its the python file. If you follow the path it gives you in the error message: "Y:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-animatediff\scripts\animatediff.py" and open that python file you'll be able to fix it hopefully.
but btw i opening the pyton file by IDLE , i cant open with python
You can open it with notepad, make the change, and save. That should work.
You can open it with notepad, make the change, and save. That should work.
Yaa ok TQ
I solved it by going into the animatediff.py file and moving the from statement to where all the other from statements are. That seemed to solve it for me.
This works for me. Thanks.
animatediff.py
It worked for me. Thanks.
I solved it by going into the animatediff.py file and moving the from statement to where all the other from statements are. That seemed to solve it for me.



