Describe the bug
Anytime I try to use the img2img or inpainting function in Krita I get the following error:
Error completing request
Arguments: (0, '1girl, aqua konosuba,\t\t', '', 'None', 'None', <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1536x2048 at 0x20E9F95E5C0>, None, None, None, None, <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1536x2048 at 0x20E9F95E5C0>, None, 40, 0, 0, None, 1, False, False, 1, 1, 12.0, 0.8, -1, -1, 0.0, 0, 0, False, 704, 512, 1, False, 0, False, '', '', 0) {}
Traceback (most recent call last):
File "E:\stable-diffusion-webui\modules\call_queue.py", line 56, in f
res = list(func(*args, *kwargs))
File "E:\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(args, **kwargs)
File "E:\stable-diffusion-webui\modules\img2img.py", line 148, in img2img
processed = process_images(p)
File "E:\stable-diffusion-webui\modules\processing.py", line 480, in process_images
res = process_images_inner(p)
File "E:\stable-diffusion-webui\modules\processing.py", line 569, in process_images_inner
p.init(p.all_prompts, p.all_seeds, p.all_subseeds)
File "E:\stable-diffusion-webui\modules\processing.py", line 939, in init
image = images.flatten(img, opts.img2img_background_color)
File "E:\stable-diffusion-webui\modules\images.py", line 653, in flatten
if img.mode == "RGBA":
AttributeError: 'NoneType' object has no attribute 'mode
Doesn't matter if I have a lot of prompts or next to no prompts, resolution, settings ,etc, only text2img works and I get this same exact error every time I use img2img or inpainting. Thanks for your help.
Describe the bug Anytime I try to use the img2img or inpainting function in Krita I get the following error:
Error completing request Arguments: (0, '1girl, aqua konosuba,\t\t', '', 'None', 'None', <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1536x2048 at 0x20E9F95E5C0>, None, None, None, None, <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1536x2048 at 0x20E9F95E5C0>, None, 40, 0, 0, None, 1, False, False, 1, 1, 12.0, 0.8, -1, -1, 0.0, 0, 0, False, 704, 512, 1, False, 0, False, '', '', 0) {} Traceback (most recent call last): File "E:\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, *kwargs)) File "E:\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(args, **kwargs) File "E:\stable-diffusion-webui\modules\img2img.py", line 148, in img2img processed = process_images(p) File "E:\stable-diffusion-webui\modules\processing.py", line 480, in process_images res = process_images_inner(p) File "E:\stable-diffusion-webui\modules\processing.py", line 569, in process_images_inner p.init(p.all_prompts, p.all_seeds, p.all_subseeds) File "E:\stable-diffusion-webui\modules\processing.py", line 939, in init image = images.flatten(img, opts.img2img_background_color) File "E:\stable-diffusion-webui\modules\images.py", line 653, in flatten if img.mode == "RGBA": AttributeError: 'NoneType' object has no attribute 'mode
Doesn't matter if I have a lot of prompts or next to no prompts, resolution, settings ,etc, only text2img works and I get this same exact error every time I use img2img or inpainting. Thanks for your help.