lshqqytiger / stable-diffusion-webui-amdgpu-forge

Forge for stable-diffusion-webui-amdgpu (formerly stable-diffusion-webui-directml)
GNU Affero General Public License v3.0
62 stars 4 forks source link

Error loading Animatediff #28

Open thomashush opened 2 months ago

thomashush commented 2 months ago

*** 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.

TheFerumn commented 2 months ago

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

Harbitos commented 1 day ago

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.

TheFerumn commented 4 hours ago

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