stable-diffusion-webui-amdgpu-forge icon indicating copy to clipboard operation
stable-diffusion-webui-amdgpu-forge copied to clipboard

Error loading Animatediff

Open thomashush opened this issue 1 year ago • 5 comments

*** Error loading script: animatediff.py Traceback (most recent call last): File "E:\automatic_forge\modules\scripts.py", line 525, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "E:\automatic_forge\modules\script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "E:\automatic_forge\extensions\sd-webui-animatediff\scripts\animatediff.py", line 10, in <module> from scripts.animatediff_infv2v import AnimateDiffInfV2V File "E:\automatic_forge\extensions\sd-webui-animatediff\scripts\animatediff_infv2v.py", line 10, in <module> from scripts.animatediff_mm import mm_animatediff as motion_module File "E:\automatic_forge\extensions\sd-webui-animatediff\scripts\animatediff_mm.py", line 9, in <module> from motion_module import MotionWrapper, MotionModuleType File "E:\automatic_forge\extensions\sd-webui-animatediff\motion_module.py", line 10, in <module> from ldm.modules.attention import FeedForward ModuleNotFoundError: No module named 'ldm'

Errors when trying to load Animatediff Extension.

thomashush avatar Sep 10 '24 12:09 thomashush

download LDM folder from this link: https://github.com/CompVis/stable-diffusion and drop it into E:\automatic_forge

TheFerumn avatar Sep 10 '24 21:09 TheFerumn

download LDM folder from this link: https://github.com/CompVis/stable-diffusion and drop it into E:\automatic_forge

Of course, I spent 10 minutes trying to figure out exactly where to throw it, but I was able to. It really helped!

However, my AnimateDiff interface displays only this: Please help me if you know. Screenshot_1

A CLEARER INSTRUCTION ON HOW TO SOLVE THIS: Download "ldm" folder from this link: https://github.com/CompVis/stable-diffusion And then you drop this folder into the stable diffusion folder itself. Example: C:\stable-diffusion-webui-amdgpu-forge.

Harbitos avatar Nov 23 '24 22:11 Harbitos

Of course, I spent 10 minutes trying to figure out exactly where to throw it, but I was able to. It really helped!

However, my AnimateDiff interface displays only this: Please help me if you know.

Is there any errors in console when you click on AnimateDiff tab ? If there is nothing then try with --loglevel debug command. If it will print some errors we can try to fix it.

Edit: By the way have you installed forge version of this extension ? Here is a link but i haven't tested it https://github.com/continue-revolution/sd-forge-animatediff

TheFerumn avatar Nov 25 '24 13:11 TheFerumn

download LDM folder from this link: https://github.com/CompVis/stable-diffusion and drop it into E:\automatic_forge

Thank you so much ! I was having trouble with the AnimateDiff tab not appearing in amdgpu-forge . Your solution solved the problem !

FREEWING-JP avatar Oct 27 '25 12:10 FREEWING-JP

The first time it started up , the tab contents were normal, but the second time I started it up , the following error appeared .

AttributeError: 'FakeInitialModel' object has no attribute 'is_sdxl'

not use xformers . (xformers: N/A) The cause is unknown .

FREEWING-JP avatar Oct 27 '25 12:10 FREEWING-JP