light-and-ray / sd-webui-replacer

A tab for sd-webui for replacing objects in pictures or videos using detection prompt
193 stars 11 forks source link

applyHiresFix is not supported for batch #43

Closed Th1nhNg0 closed 5 months ago

Th1nhNg0 commented 6 months ago

Is your feature request related to a problem? Please describe. Yes, the problem is that the "applyHiresFix" function is not supported for batch processing, causing frustration for users who rely on this feature to enhance the quality of their hires images.

Describe the solution you'd like I would like the "applyHiresFix" function to be extended to support batch processing. This would enable users to efficiently apply the fix to multiple images at once, saving time and effort.

Describe alternatives you've considered One alternative solution could be to manually apply the "applyHiresFix" function to each image individually, but this would be time-consuming and inefficient, especially when dealing with a large number of images.

Additional context It would be helpful to have this feature implemented as soon as possible, as it would greatly improve the usability and efficiency of the application for users who frequently work with batches of images.

light-and-ray commented 6 months ago

Yes, I'm planning to do it. It requires a big patch. I can't say when exactly, but I will make it

For now, as an alternative, if you use webui 1.8 RC or Forge, you can use DAT upscalers inside upscaler for img2img option in advanced options. E.g. this is a good one: https://openmodeldb.info/models/4x-FaceUpDAT

light-and-ray commented 5 months ago

Done! For batches you need to enable "pass into hires fix automatically" in advance