Haoming02 / sd-webui-vectorscope-cc

An Extension for Automatic1111 Webui that performs Offset Noise* natively
MIT License
170 stars 7 forks source link

AttributeError: hr_pass / line 192, in postprocess_image / del p.hr_pass #4

Closed AugmentedRealityCat closed 1 year ago

AugmentedRealityCat commented 1 year ago

I get error messages when generating images since updating to the latest version of this extension ([f3ffc5fd]) under the following conditions:

Vectorscope CC extension OFF = error message below Vectorscope CC extension ON + Hires Fix OFF = error message below Vectorscope CC extension ON + Hires Fix ON + Vectorscope CC Process Hires. fix ON = error message below Vectorscope CC extension ON + Hires Fix ON + Vectorscope CC Process Hires. fix OFF = OK, no error

And here is the error message logged on the WebUI Command Prompt window

*** Error running postprocess_image: C:\stable-diffusion-webui\extensions\sd-webui-vectorscope-cc\scripts\cc.py.94it/s]
    Traceback (most recent call last):
      File "C:\stable-diffusion-webui\modules\scripts.py", line 514, in postprocess_image
        script.postprocess_image(p, pp, *script_args)
      File "C:\stable-diffusion-webui\extensions\sd-webui-vectorscope-cc\scripts\cc.py", line 192, in postprocess_image
        del p.hr_pass
    AttributeError: hr_pass

System info: version: v1.3.2-241-g59419bd6  •  python: 3.10.6  •  torch: 2.0.0+cu118  •  xformers: N/A  •  gradio: 3.32.0  •  checkpoint: f04fdb4a9e

Haoming02 commented 1 year ago

Fixed in the above commit. Thanks for reporting the issue.