-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Bugfix for dreambooth flux2 img2img2 #12825
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
Conversation
|
@sayakpaul Please take a look at this PR, thank you! |
sayakpaul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
linoytsaban
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
|
@sayakpaul @linoytsaban Is this PR ready to merge? |
What does this PR do?
I'm training the flux2 img2img with 8 GPUs, the running scripts is using the script from examples/dreambooth/README_flux2.md:
There are three different errors occured, and this PR is doing these fix:
Fix the issue that
--instance_promptis required as True, but the script does not need it.Fix the error:
AttributeError: type object 'Flux2ImageProcessor' has no attribute 'image_processor'
The issue also comes in:
AttributeError: type object 'Flux2ImageProcessor' has no attribute 'image_processor' #12778
Fix the error:
AttributeError: 'Tensor' object has no attribute 'load'
The
dest_imagehas to be converted to PIL to keep the same logic after preprocess .relightingand the script does not provide itThe issue also comes in:
Flux2 dreambooth: AttributeError: 'Namespace' object has no attribute 'validation_image_path' #12779
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.