stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Captions not being generated for flipped copies
Checklist
- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
Following on from bug #14333, the steps mentioned in this commit do fix the issue (https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/3d9a0d9e4b1a52a873d32c7ba5c462d840f0e3ee) but a follow on issue was noticed.
When the 'Create Flipped Copies' box is selected, it only generates captions for the original image and NOT for the flipped copy In prior versions it would create captions for both the original and flipped copies.
Steps to reproduce the problem
- Click the 'Extras' tab
- Choose 'Batch from directory'
- Choose folders for the input/output field
- Tick the 'Captions' box and choose 'BLIP'
- Tick 'Create Flipped Copies'
- Generate
What should have happened?
It should first generate the flipped copy and then generate captions for both the original image and the flipped copy.
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
Console logs
There's no errors in the console to report.
Additional information
No response
simply put this is caused by the order of execution of the modules
and since flipping
comes after captioning
the captioning is not applied to defect results because it didn't exist yet
we can update the default order but for now users can manually configured the order
go to setting > Postprocessing > Postprocessing operation order
and reorder the modules
don't copy my order blindly it depends on the use case, the important bit is that if you wish captioning to apply to flipped results then flipping needs to come before captioning