AttributeError: module diffusers has no attribute DepthNormalEstimationPipeline
Describe the bug
Hi, I'm trying to use the GeoWizzard model from the Huggingface Page, I just copied the codes from 'Use in Diffusers' as described on the webpage, but it raised the error AttributeError: module diffusers has no attribute DepthNormalEstimationPipeline.
Reproduction
I reinstalled my diffusers from source as some of other issues did but it didn't work, I also tried the pip package, it also failed.
Logs
Traceback (most recent call last):
File "/userhome/cs/csyhping/Proj/SceneGeneration/test.py", line 15, in <module>
pipeline = DiffusionPipeline.from_pretrained("lemonaddie/Geowizard")
File "/userhome/cs/csyhping/anaconda3/envs/SceneGen/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/userhome/cs/csyhping/anaconda3/envs/SceneGen/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1096, in from_pretrained
cached_folder = cls.download(
File "/userhome/cs/csyhping/anaconda3/envs/SceneGen/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/userhome/cs/csyhping/anaconda3/envs/SceneGen/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1768, in download
pipeline_class = _get_pipeline_class(
File "/userhome/cs/csyhping/anaconda3/envs/SceneGen/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 395, in _get_pipeline_class
pipeline_cls = getattr(diffusers_module, class_name)
File "/userhome/cs/csyhping/anaconda3/envs/SceneGen/lib/python3.10/site-packages/diffusers/utils/import_utils.py", line 703, in __getattr__
raise AttributeError(f"module {self.__name__} has no attribute {name}")
AttributeError: module diffusers has no attribute DepthNormalEstimationPipeline
System Info
Diffusers: tried 0.25.0 / latest pip package / from source
Python: 3.10.13
Who can help?
@yiyixuxu @DN6
I think they are using a custom form of diffusers. You might want to open an issue here: https://huggingface.co/lemonaddie/Geowizard/discussions.
Someone has already: https://huggingface.co/lemonaddie/Geowizard/discussions/2.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Closing for now as this seems to be an issue related to the Geowizard repo. Feel free to reopen if needed.