We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, random cropping and random flipping in train_transform of train_instruct_pix2pix.py and train_instruct_pix2pix_sdxl.py are applied independently to the source and target images, which leads to discrepancies.
train_transform
This inconsistency can cause misalignment between the source and target images (the source could be flipped but not the target, or vice versa)
Following InstructPix2Pix training example, but set resolution to 512 to turn off random cropping. My edit model tends to return symmetric images.
0.33.0.dev0
@sayakpaul
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Currently, random cropping and random flipping in
train_transform
of train_instruct_pix2pix.py and train_instruct_pix2pix_sdxl.py are applied independently to the source and target images, which leads to discrepancies.This inconsistency can cause misalignment between the source and target images (the source could be flipped but not the target, or vice versa)
Reproduction
Following InstructPix2Pix training example, but set resolution to 512 to turn off random cropping. My edit model tends to return symmetric images.
Logs
System Info
0.33.0.dev0
Who can help?
@sayakpaul
The text was updated successfully, but these errors were encountered: