Closed vananasun closed 1 year ago
Yep, I found the same problem. It works well yesterday.
Same. I made sure the images were the same size (640x640) and still got this error.
Full error:
Error completing request
Arguments: (0, "a monkey with a hat and suspenders on it's head and a pair of glasses on his head, by Os Gemeos:1~0 AND a penuin wearing a hat and star sunglasses:0~1", '', 'None', 'None', <PIL.Image.Image image mode=RGBA size=640x640 at 0x7EFEB9326650>, None, None, None, None, 0, 20, 0, 4, 0, 1, False, False, 1, 1, 7, 0.75, -1.0, -1.0, 0, 0, 0, False, 640, 640, 0, False, 32, 0, '', '', 2, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, <PIL.Image.Image image mode=RGB size=640x640 at 0x7EFEB93259F0>, '0-1[11]', 0.2, 0.1, 1, 1, False, True, True, False, False, False, False, 4, 1, '<p style="margin-bottom:0.75em">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, False, False, '', '<p style="margin-bottom:0.75em">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', 0, '', True, False, False) {}
Traceback (most recent call last):
File "/media/code/code/nns_exp/image_art/sd_automatic/modules/call_queue.py", line 45, in f
res = list(func(*args, **kwargs))
File "/media/code/code/nns_exp/image_art/sd_automatic/modules/call_queue.py", line 28, in f
res = func(*args, **kwargs)
File "/media/code/code/nns_exp/image_art/sd_automatic/modules/img2img.py", line 150, in img2img
processed = modules.scripts.scripts_img2img.run(p, *args)
File "/media/code/code/nns_exp/image_art/sd_automatic/modules/scripts.py", line 328, in run
processed = script.run(p, *script_args)
File "/media/code/code/nns_exp/image_art/sd_automatic/scripts/interpolate.py", line 400, in run
level0 = [Image.blend(init_img, init_img2, min(1,max(0,i))) for i in x]
File "/media/code/code/nns_exp/image_art/sd_automatic/scripts/interpolate.py", line 400, in <listcomp>
level0 = [Image.blend(init_img, init_img2, min(1,max(0,i))) for i in x]
File "/home/r/.local/lib/python3.10/site-packages/PIL/Image.py", line 3191, in blend
return im1._new(core.blend(im1.im, im2.im, alpha))
ValueError: images do not match
Yeah, there is a bug somewhere which I can't find. Try Interpolate in Latent, that does the blending a different way, which seems to be unaffected.
I think I fixed the bug.
keep in mind I added some (commented out) stuff so the exact line number is not correct