Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion to HF ControlNet ckpt #9

Open
CesarERamosMedina opened this issue May 19, 2023 · 2 comments
Open

Conversion to HF ControlNet ckpt #9

CesarERamosMedina opened this issue May 19, 2023 · 2 comments

Comments

@CesarERamosMedina
Copy link

Note: this is not an issue, but I couldn't find a better place to submit this.
I love this! In the paper, you mention that for Stable Diffusion, you trained using ControlNet. However, I also see that instead of using the ControlNet hacked version of DDIM, you are using DDIM with Spacial CFG. I was wondering, do you think that the HuggingFace diffusers convert ControlNet to Diffusers ckpt script work out of the box for PAIR-Diffusion, given that difference?

I am still finding my way around latent diffusion models, but if the above is not the case, I would love to be able to help or follow any effort in converting the existing code into a HuggingFace pipeline.

@vidit98
Copy link
Collaborator

vidit98 commented May 19, 2023

Hi @CesarERamosMedina , I am glad that you liked the paper. Another difference other than spatial CFG is that we do not use a network for self.input_hint_block instead we simply interpolate the VGG features to 64x64. I am not sure if diffusers have this option in Controlnet. Regarding, spatial CFG I think we can get around that, it is an extra controllability feature of PAIR Diffusion but simple DDIM should work as well with reduced controllability.

It would be really helpful if you can help in integrating it into the HuggingFace pipeline. If you have any doubts please let me know

@CesarERamosMedina
Copy link
Author

Thank you so much for the fast reply! Will let you know of any other questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants