cure-lab / MagicDrive

[ICLR24] Official implementation of the paper “MagicDrive: Street View Generation with Diverse 3D Geometry Control”
https://gaoruiyuan.com/magicdrive/
GNU Affero General Public License v3.0
667 stars 40 forks source link

ModuleNotFoundError: No module named 'diffusers.pipelines.ddpm' #82

Closed mzsqw closed 2 months ago

mzsqw commented 2 months ago

Hi, I have already installed the diffusers located in third-party, rather than use the official version. But I still can't run the full demo because of the following error:

Traceback (most recent call last): File "demo/run.py", line 19, in from magicdrive.misc.test_utils import ( File "./magicdrive/misc/test_utils.py", line 15, in from diffusers import UniPCMultistepScheduler File "/public/home/sunluyue/MagicDrive/third_party/diffusers/src/diffusers/init.py", line 59, in from .pipelines import ( File "/public/home/sunluyue/MagicDrive/third_party/diffusers/src/diffusers/pipelines/init.py", line 21, in from .ddpm import DDPMPipeline ImportError: cannot import name 'DDPMPipeline' from 'diffusers.pipelines.ddpm' (unknown location)

How can I solve this? Thanks a lot for your time and availability