ImportError: cannot import name 'FromOriginalControlnetMixin' from 'diffusers.loaders'
meng-yuan321 opened this issue · 1 comments
meng-yuan321 commented
I download the diffusers source code from https://github.com/huggingface/diffusers/tree/main/src/diffusers, and replace the original 'scheduling_ddpm.py' file with [this](https://github.com/NJU-PCALab/AddSR/blob/main/utils/scheduling_ddpm.py, but there are other errors:
CSRuiXie commented
The error may be caused by using the wrong version of diffusers. The version of diffusers should be 0.21.0