AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
131.71k stars 25.28k forks source link

ERROR Calling AnimateDiff #15606

Open yinquest11 opened 4 weeks ago

yinquest11 commented 4 weeks ago

Checklist

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

sysinfo-2024-04-23-00-08.json

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

Khusanbek1 commented 4 weeks ago

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. Screenshot 2024-04-22 212339

yinquest11 commented 4 weeks ago

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. Screenshot 2024-04-22 212339

is this python file?

Khusanbek1 commented 4 weeks ago

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.

yinquest11 commented 4 weeks ago

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. Screenshot 2024-04-22 212339

ok thaks bro i try this method and also work for me tQ

yinquest11 commented 4 weeks ago

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

Khusanbek1 commented 4 weeks ago

You can open it with notepad, make the change, and save. That should work.

yinquest11 commented 4 weeks ago

You can open it with notepad, make the change, and save. That should work.

Yaa ok TQ

CH-ZH commented 4 weeks ago

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. Screenshot 2024-04-22 212339

This works for me. Thanks.

corvo4791 commented 4 weeks ago

animatediff.py

It worked for me. Thanks.

ZeroCool22 commented 4 weeks ago

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. Screenshot 2024-04-22 212339

gif25