[Bug]: "Batch img2img" ignore "variation seed" on Extra (but, simple "img2img" adopts "variation seed"
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
"img2img" adopts "variation seed" but, "Batch img2img" ignore "variation seed"
Steps to reproduce the problem
set "variation seed"=-1 on Extra tab in img2img's setting
What should have happened?
"img2img" adopts "variation seed" but, "Batch img2img" ignore "variation seed"
Commit where the problem happens
No response
What platforms do you use to access UI ?
Other/Cloud
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
No response
Additional information, context and logs
In simple "img2img", if you check Extra and set Variation seed to "-1", Each time the same input image is processed, there are subtle differences in the output image.
However, in "Batch img2img", even if the Extra check is turned on and the Variation seed is set to "-1", Every time I process the same input image, the output image is the same.
Why is there such a difference between simple "img2img" and "Batch img2img"? Is this the specification?
After trial and error by myself, in img2img.py
def process_batch(p, input_dir, output_dir, args): processing.fix_seed(p)
comment out "processing.fix_seed(p)",
def process_batch(p, input_dir, output_dir, args): #processing.fix_seed(p)
Then, even in "Batch img2img", we were able to confirm the behavior as if the Variation seed was set to "-1". (However, this change may have unintended side effects.)
Translated by Google. Thank you for reading my poor English.