embedding-to-png-script icon indicating copy to clipboard operation
embedding-to-png-script copied to clipboard

TypeError: '>' not supported between instances of 'NoneType' and 'int'

Open f-rank opened this issue 2 years ago • 0 comments

The script usually works great, but on this particular TI embed is throwing:

<tempfile._TemporaryFileWrapper object at 0x00000202F5064070> outputs 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 18/18 [00:04<00:00, 4.46it/s] Error completing request Arguments: ('Style-Glass', '((cartoon)), ((anime)), ((painting)), ((morbid)), ((mutilated)), (((tranny))), (((trans))), johnny, (((trannsexual))), (hermaphrodite), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured)))', 'None', 'None', 18, 8, False, False, 1, 1, 4, -1.0, -1.0, 0, 0, 0, False, 512, 896, False, 0.7, 2, 'BSRGAN', 30, 896, 512, 3, '', False, <tempfile._TemporaryFileWrapper object at 0x00000202F5064070>, '', 'outputs', 1, 0, 0.25, False, False, False, False, '', 'Illustration', 'svg', True, True, False, 0.5, True, 16, True, 16, False, 1, '', 0, '', True, False, False) {} Traceback (most recent call last): File "d:\WORK\conda_envs\automatic\stable-diffusion-webui\modules\call_queue.py", line 45, in f res = list(func(*args, **kwargs)) File "d:\WORK\conda_envs\automatic\stable-diffusion-webui\modules\call_queue.py", line 28, in f res = func(*args, **kwargs) File "D:\WORK\conda_envs\automatic\stable-diffusion-webui\modules\txt2img.py", line 49, in txt2img processed = modules.scripts.scripts_txt2img.run(p, *args) File "D:\WORK\conda_envs\automatic\stable-diffusion-webui\modules\scripts.py", line 337, in run processed = script.run(p, *script_args) File "D:\WORK\conda_envs\automatic\stable-diffusion-webui\scripts\embedding_to_png.py", line 108, in run if data.get('step', 0) > 0: TypeError: '>' not supported between instances of 'NoneType' and 'int'

I am using Auto's web ui: Commit hash: d7aec59c4eb02f723b3d55c6f927a42e97acd679

You can try and reproduce with this file: https://civitai.com/models/4415/glass-style

Edit: Could be faulty file, but it renders proper so maybe there's something to it.

f-rank avatar Jan 12 '23 20:01 f-rank