Gourieff / sd-webui-reactor

Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD.Next, Cagliostro)
GNU Affero General Public License v3.0
2.46k stars 263 forks source link

Hires Fix hasent worked for weeks since update to this stupid new layout #504

Open BWyman87 opened 1 month ago

BWyman87 commented 1 month ago

First, confirm

What happened?

ever since this stupid update to this new layout or options w.e. the hires function has NOT worked it acts like its going to and then every time its on the last steps. alway it fails with a stupid error "forge/modules/call_queue.py", line 74, in f res = list(func(*args, **kwargs)) TypeError: 'NoneType' object is not iterable" every single fucking time. ive tried everything i can think of such as wiping whole install and reinstalling.

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

Sysinfo

lenovo legion NVIDIA 6GB MAX Q, webUI Forge

Relevant console log

[], 6, 2, 8, 3.5, 432, 768, False, 0.45, 2.5, 'R-ESRGAN 4x+ Anime6B', 8, 0, 0, 'Use same checkpoint', 'DDPM', 'Polyexponential', '', '', [], 0, 17, 'DDPM', 'Polyexponential', False, '', 0.8, -1, False, -1, 0, 0, 0, ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>, use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', batch_input_gallery=None, batch_mask_gallery=None, generated_image=None, mask_image=None, mask_image_fg=None, hr_option='Both', enabled=False, module='None', model='None', weight=1, image=None, image_fg=None, resize_mode='Crop and Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode='Balanced', save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>, use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', batch_input_gallery=None, batch_mask_gallery=None, generated_image=None, mask_image=None, mask_image_fg=None, hr_option='Both', enabled=False, module='None', model='None', weight=1, image=None, image_fg=None, resize_mode='Crop and Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode='Balanced', save_detected_map=True), ControlNetUnit(input_mode=<InputMode.SIMPLE: 'simple'>, use_preview_as_input=False, batch_image_dir='', batch_mask_dir='', batch_input_gallery=None, batch_mask_gallery=None, generated_image=None, mask_image=None, mask_image_fg=None, hr_option='Both', enabled=False, module='None', model='None', weight=1, image=None, image_fg=None, resize_mode='Crop and Resize', processor_res=-1, threshold_a=-1, threshold_b=-1, guidance_start=0.0, guidance_end=1.0, pixel_perfect=False, control_mode='Balanced', save_detected_map=True), False, 7, 1, 'Constant', 0, 'Constant', 0, 1, 'enable', 'MEAN', 'AD', 1, False, 1.01, 1.02, 0.99, 0.95, False, 0.5, 2, False, 3, False, 3, 2, 0, 0.35, True, 'bicubic', 'bicubic', False, 0, 'anisotropic', 0, 'reinhard', 100, 0, 'subtract', 0, 0, 'gaussian', 'add', 0, 100, 127, 0, 'hard_clamp', 5, 0, 'None', 'None', False, 'MultiDiffusion', 768, 768, 64, 4, False, False, False, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
    Traceback (most recent call last):
      File "/media/wyman87/9523f6c7-a9b5-4a44-91fe-6cf36760ab7c/Data/Packages/Stable Diffusion WebUI Forge/modules/call_queue.py", line 74, in f
        res = list(func(*args, **kwargs))
    TypeError: 'NoneType' object is not iterable

Additional information

No response

BWyman87 commented 1 month ago

Update> figured it out thanks to ChatGPT took a bit but was something to do with the script in the upscaler function. unsure why that would be when it was a clean install. it still had issues as before but GPT was able to rewrite the section of code causing the issue. unsure as to why it would seem noone else has had the issue but i do know that it was all fine up until the new update a cpl weeks or so ago then it wasnt. hard to say. but luckily ChatGPT is available at anytime to lend a hand.