stable-diffusion-webui
stable-diffusion-webui copied to clipboard
fix bug of progress bar when running img2img and highres fix (#3093, #3145)
Fixed bugs #3093 and #3145 so some progress bars are handled correctly.
- The total number of steps for img2img is
t_enc + 1, notsteps. - I checked
KDiffusionSamplerto check for this bug, butVanillaStableDiffusionSamplermay also need to be fixed (haven't check yet).
I always get the right number of steps in hires fix, and regardless of img2img_fix_steps setting.
Applying this fix would break it for me.
Tested, fixed for me.
This pull request fixes #3343 for me and at least 1 other person in that thread.
this was actually the right fix i just misinterpreted the code