Open dravid-cmyk opened 1 year ago
@TheLastBen
are you using an image mask ?
@TheLastBen, I'm getting the same error when using a mask in inpaint. Could you please help to resove this issue.
100% 20/20 [00:07<00:00, 2.74it/s] Error completing request Arguments: ('task(2p4kff6efvgevhi)', 2, 'a man, (natural skin texture, hyperrealism, soft light, sharp:1.2)', '(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation', [], <PIL.Image.Image image mode=RGBA size=679x788 at 0x7F197E406760>, None, {'image': <PIL.Image.Image image mode=RGBA size=679x788 at 0x7F197E4068B0>, 'mask': <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=679x788 at 0x7F197E4065E0>}, None, None, None, None, 22, 3, 4, 0, 1, False, False, 1, 1, 7, 1.5, 0.87, -1.0, -1.0, 0, 0, 0, False, 788, 679, 0, 0, 32, 1, '', '', '', [], 0, False, '', 0, <scripts.external_code.ControlNetUnit object at 0x7f19981e4f10>, <scripts.external_code.ControlNetUnit object at 0x7f19981e40a0>, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, '<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, 'positive', 'comma', 0, 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, '', 0, '', True, False, False, False, 0, None, False, None, False, 50) {} Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(*args, **kwargs) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/img2img.py", line 171, in img2img processed = process_images(p) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 486, in process_images res = process_images_inner(p) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 694, in process_images_inner image_mask_composite = Image.composite(image.convert('RGBA').convert('RGBa'), Image.new('RGBa', image.size), p.mask_for_overlay.convert('L')).convert('RGBA') File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 3090, in composite image.paste(image1, None, mask) File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 1586, in paste self.im.paste(im, box, mask.im) ValueError: images do not match
check in the A1111 repo for similar issues https://github.com/AUTOMATIC1111/stable-diffusion-webui