Do you change the content in the cldm folder?
File "/root/huggingface/controlnet/ControlNetMediaPipeFace/cldm/ddim_hacked.py", line 118, in sample
ucg_schedule=ucg_schedule
File "/usr/local/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/root/huggingface/controlnet/ControlNetMediaPipeFace/cldm/ddim_hacked.py", line 138, in ddim_sampling
timesteps = self.ddpm_num_timesteps if ddim_use_original_steps else self.ddim_timesteps
AttributeError: 'DDIMSampler' object has no attribute 'ddim_timesteps'
Sorry, I click the enter key by accident...
The problem is , when I use sd1.5, I came up with the above error, I download the cldm folder from github, the orginal author repo.
We didn't modify the cldm folder, but the original author has done some updates on the ControlNet repo since our work there.
"The problem is , when I use sd1.5, I came up with the above error, I download the cldm folder from github, the orginal author repo."
If I'm understanding correctly, you've downloaded ControlNet from the original source and then unzipped our directory contents into it, yes? The "DDIMSampler object has no attribute ddim_timesteps" is almost certainly from a versioning mismatch, but the question is how it's coming to be. You could clone our repo here: https://github.com/crucible-ai/ControlNet if you're just looking to make it work, or the space we have set up for SD 2.1.
Otherwise it's a little hard to say where that's coming from. Perhaps we should take the time to update to match ControlNet 1.1. π€