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

[Feature] Support ControlNet #31

Merged
merged 2 commits into from
Aug 7, 2023
Merged

[Feature] Support ControlNet #31

merged 2 commits into from
Aug 7, 2023

Conversation

okotaku
Copy link
Owner

@okotaku okotaku commented Aug 7, 2023

Motivation

Adding Conditional Control to Text-to-Image Diffusion Models

Modification

  • Support ControlNet for SD and SDXL
  • Correction for simpler transform names, such as changing 'RandomCropWithCropPoint' to 'RandomCrop'.

Results (Optional)

stable_diffusion_v15_controlnet_fill50k

input1

example1

stable_diffusion_v15_controlnet_face_spiga

input2

example2

stable_diffusion_xl_controlnet_fill50k

input1

example1

Note that some of the results are not good. We should attempt further tuning.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

@okotaku okotaku self-assigned this Aug 7, 2023
@okotaku okotaku merged commit 63e0c35 into main Aug 7, 2023
@okotaku okotaku deleted the feat/controlnet branch August 7, 2023 03:09
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

Successfully merging this pull request may close these issues.

1 participant