Skip to content

Fine tuning SDXL inpainting #4680

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

Closed
EnricoBeltramo opened this issue Aug 19, 2023 · 19 comments
Closed

Fine tuning SDXL inpainting #4680

EnricoBeltramo opened this issue Aug 19, 2023 · 19 comments
Labels
stale Issues that haven't received updates

Comments

@EnricoBeltramo
Copy link

Is your feature request related to a problem? Please describe.
Training with LORA of SDXL refiner for inpainting

Describe the solution you'd like
Is possibile to modify the solution proposed in: https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sdxl.md
in order to train refiners model too (i.e. for fine tune inpainting models)?

@sayakpaul
Copy link
Member

sayakpaul commented Aug 21, 2023

How common is fine-tuning the refiner? I am yet to see some promising results from that. Plus it introduces a two-stage training pipeline I think:

  • First LoRA on the base.
  • Then do LoRA on the refiner.

Might be a complicated workflow.

@patrickvonplaten
Copy link
Contributor

@williamberman is working on it I believe

@williamberman
Copy link
Contributor

Yep! inpainting for sdxl is a wip here #4746

@abdellah-lamrani-alaoui

Thanks a lot for the PR, will be super useful.
Quick question, do you plan on training and releasing a SDXL model fine-tuned for the inpainting task?

@williamberman
Copy link
Contributor

Yeah we plan on releasing an inpainting fine-tuned sdxl :) The current objective is more to have a working checkpoint than a reproducible training script

@abdellah-lamrani-alaoui
Copy link

abdellah-lamrani-alaoui commented Sep 1, 2023

That sounds great!
@williamberman Do you have an ETA for releasing the model?

@williamberman
Copy link
Contributor

@abdellah-lamrani-alaoui https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1 !

@GitHub1712
Copy link

GitHub1712 commented Sep 11, 2023

Great to see this new inpaint model, could we train it ourself?

@GitHub1712
Copy link

@abdellah-lamrani-alaoui https://huggingface.co/diffusers/stable-diffusion-xl-1.0-inpainting-0.1 !

How did you made it? Is there any training code or example?

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label Oct 18, 2023
@lvZic
Copy link

lvZic commented Nov 10, 2023

How did you made it? Is there any training code or example?

How did you made it? Is there any training code or example?

@lawsonxwl
Copy link

@crapthings
Copy link

Are there any scripts available for training today?

@sayakpaul
Copy link
Member

#6922

@crapthings
Copy link

#6922

This looks really good! Can it be used to train outpainting? For example, inverting the mask or masking out the entire background to keep only certain content.

@tingxueronghua
Copy link

#6922

Could this reproduce similar performances?

@tingxueronghua
Copy link

#6922

And is there any scripts for sd-xl-inpainting?

@sayakpaul
Copy link
Member

Cc: @patil-suraj

@hzphzp
Copy link

hzphzp commented Jun 20, 2024

same question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that haven't received updates
Projects
None yet
Development

No branches or pull requests