magic-research / magic-animate

[CVPR 2024] MagicAnimate: Temporally Consistent Human Image Animation using Diffusion Model
https://showlab.github.io/magicanimate/
BSD 3-Clause "New" or "Revised" License
10.46k stars 1.07k forks source link

ModuleNotFoundError: No module named 'diffusers.pipeline_utils' #86

Open tpcdaz opened 11 months ago

tpcdaz commented 11 months ago

Having an issue here when I try to run it I get this error "ModuleNotFoundError: No module named 'diffusers.pipeline_utils'"

So I try pip install diffusers.pipeline_utils and get this error

D:\AI\MagicAnimate>pip install diffusers.pipeline_utils Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com ERROR: Could not find a version that satisfies the requirement diffusers.pipeline_utils (from versions: none) ERROR: No matching distribution found for diffusers.pipeline_utils

And it just stops. Any ideas?

FurkanGozukara commented 11 months ago

install error

it is really hard to install properly

i have venv pip auto installer along with extra features such as auto DensePose maker and CodeFormer face improvement and video upscale

https://github.com/magic-research/magic-animate/issues/85

tpcdaz commented 11 months ago

install error

it is really hard to install properly

i have venv pip auto installer along with extra features such as auto DensePose maker and CodeFormer face improvement and video upscale

85

Trying to get people to pay for your patreon instead of helping is pretty poor tbh

heury commented 11 months ago

You are using recent diffusers module. Go to /magicanimate/pipelines/pipeline_animation.py and modify following line. from diffusers.pipeline.pipeline_utils import DiffusionPipeline -> from diffusers import DiffusionPipeline

yusijin02 commented 7 months ago

Just change this line:

from diffusers.pipeline_utils import DiffusionPipeline

to:

try:
    from diffusers.pipeline_utils import DiffusionPipeline
except:
    from diffusers.pipelines.pipeline_utils import DiffusionPipeline