xinsir6 / ControlNetPlus

ControlNet++: All-in-one ControlNet for image generations and editing!
Apache License 2.0
1.76k stars 43 forks source link

ModuleNotFoundError: No module named 'diffusers.loaders.single_file_model' #68

Closed muzammildafedar closed 4 weeks ago

muzammildafedar commented 1 month ago

I went through the instructions for installation. During the Canny run got these errors

python controlnet_union_test_canny.py 
Traceback (most recent call last):
  File "controlnet_union_test_canny.py", line 9, in <module>
    from models.controlnet_union import ControlNetModel_Union
  File "/mnt/batch/tasks/shared/LS_root/mounts/clusters/muzammildafedaar1/code/users/xyz/ControlNetPlus/models/controlnet_union.py", line 22, in <module>
    from diffusers.loaders.single_file_model import FromOriginalModelMixin
ModuleNotFoundError: No module named 'diffusers.loaders.single_file_model'

My Diffuser info

Name: diffuser
Version: 0.0.1
Summary: 
Home-page: 
Author: 
Author-email: 
License: MIT License
Location: /anaconda/envs/controlplus/lib/python3.8/site-packages
Requires: 
Required-by: 
muzammildafedar commented 4 weeks ago

Upgrade the diffuser to 29.2