Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: error in inpaint sketch #9231

Closed
1 task done
2blackbar opened this issue Mar 31, 2023 · 1 comment
Closed
1 task done

[Bug]: error in inpaint sketch #9231

2blackbar opened this issue Mar 31, 2023 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed cannot-reproduce I can't reproduce this, so I can't fix it. Add steps for reproduction and remove this tag.

Comments

@2blackbar
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

cant generate image

Steps to reproduce the problem

just use it , draw some colors, try to generate, error pops out and nothing is generated

What should have happened?

work as normal img2img

Commit where the problem happens

22bcc7b

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

xformers and v1 attention

List of extensions

Extension URL Version Update
a1111-sd-webui-locon https://github.com/KohakuBlueleaf/a1111-sd-webui-locon 85f84724 (Sun Mar 26 14:13:01 2023) unknown
batch-face-swap https://github.com/kex0/batch-face-swap.git 60e259d8 (Thu Mar 16 02:02:46 2023) unknown
embedding-inspector https://github.com/tkalayci71/embedding-inspector.git 9a74b8db (Thu Mar 9 21:14:06 2023) unknown
multidiffusion-upscaler-for-automatic1111 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git 3750413 (Fri Mar 10 16:49:49 2023) unknown
posex https://github.com/hnmr293/posex.git 233daf8e (Tue Mar 7 12:21:57 2023) unknown
sd-webui-3d-open-pose-editor https://github.com/nonnonstop/sd-webui-3d-open-pose-editor 231c4512 (Sat Mar 25 14:15:19 2023) unknown
sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet 241c05f (Thu Mar 23 15:18:35 2023) unknown
sd-webui-depth-lib https://github.com/jexom/sd-webui-depth-lib.git 28a22387 (Mon Mar 6 21:02:28 2023) unknown
sd-webui-modelscope-text2video https://github.com/deforum-art/sd-webui-modelscope-text2video.git 066a9e13 (Sun Mar 26 15:10:21 2023) unknown
sd-webui-riffusion https://github.com/enlyth/sd-webui-riffusion.git 044ff5fa (Wed Jan 25 13:24:31 2023) unknown
stable-diffusion-webui-fix-image-paste https://github.com/klimaleksus/stable-diffusion-webui-fix-image-paste 2844e17e (Fri Feb 24 22:31:57 2023) unknown
stable-diffusion-webui-fix-image-paste-master      
stable-diffusion-webui-pixelization https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization.git e37251c5 (Sat Feb 4 17:02:01 2023) unknown
stable-diffusion-webui-rembg https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg 64821f04 (Sun Mar 12 15:32:00 2023) unknown
stable-diffusion-webui-state https://github.com/ilian6806/stable-diffusion-webui-state.git de2cc357 (Tue Mar 21 14:02:18 2023) unknown
ultimate-upscale-for-automatic1111 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git 0a3d03a4 (Tue Feb 7 06:07:23 2023) unknown
unprompted https://github.com/ThereforeGames/unprompted b1cdf85b (Fri Mar 17 19:15:35 2023) unknown
LDSR built-in    
Lora built-in    
ScuNET built-in    
SwinIR built-in    
prompt-bracket-checker built-in    
roll-artist built-in
Extension URL Version Update a1111-sd-webui-locon https://github.com/KohakuBlueleaf/a1111-sd-webui-locon 85f84724 (Sun Mar 26 14:13:01 2023) unknown batch-face-swap https://github.com/kex0/batch-face-swap.git 60e259d8 (Thu Mar 16 02:02:46 2023) unknown embedding-inspector https://github.com/tkalayci71/embedding-inspector.git 9a74b8db (Thu Mar 9 21:14:06 2023) unknown multidiffusion-upscaler-for-automatic1111 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git 3750413 (Fri Mar 10 16:49:49 2023) unknown posex https://github.com/hnmr293/posex.git 233daf8e (Tue Mar 7 12:21:57 2023) unknown sd-webui-3d-open-pose-editor https://github.com/nonnonstop/sd-webui-3d-open-pose-editor 231c4512 (Sat Mar 25 14:15:19 2023) unknown sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet 241c05f (Thu Mar 23 15:18:35 2023) unknown sd-webui-depth-lib https://github.com/jexom/sd-webui-depth-lib.git 28a22387 (Mon Mar 6 21:02:28 2023) unknown sd-webui-modelscope-text2video https://github.com/deforum-art/sd-webui-modelscope-text2video.git 066a9e13 (Sun Mar 26 15:10:21 2023) unknown sd-webui-riffusion https://github.com/enlyth/sd-webui-riffusion.git 044ff5fa (Wed Jan 25 13:24:31 2023) unknown stable-diffusion-webui-fix-image-paste https://github.com/klimaleksus/stable-diffusion-webui-fix-image-paste 2844e17e (Fri Feb 24 22:31:57 2023) unknown stable-diffusion-webui-fix-image-paste-master stable-diffusion-webui-pixelization https://github.com/AUTOMATIC1111/stable-diffusion-webui-pixelization.git e37251c5 (Sat Feb 4 17:02:01 2023) unknown stable-diffusion-webui-rembg https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg 64821f04 (Sun Mar 12 15:32:00 2023) unknown stable-diffusion-webui-state https://github.com/ilian6806/stable-diffusion-webui-state.git de2cc357 (Tue Mar 21 14:02:18 2023) unknown ultimate-upscale-for-automatic1111 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git 0a3d03a4 (Tue Feb 7 06:07:23 2023) unknown unprompted https://github.com/ThereforeGames/unprompted b1cdf85b (Fri Mar 17 19:15:35 2023) unknown LDSR [built-in](http://127.0.0.1:7860/) Lora [built-in](http://127.0.0.1:7860/) ScuNET [built-in](http://127.0.0.1:7860/) SwinIR [built-in](http://127.0.0.1:7860/) prompt-bracket-checker [built-in](http://127.0.0.1:7860/) roll-artist [built-in](http://127.0.0.1:7860/)

Console logs

100%|██████████████████████████████████████████████████████████████████████████████████| 19/19 [00:01<00:00, 12.85it/s]
Error completing request
Arguments: ('task(izcxmb4lpnfszv9)', 3, 'painting by ilya repin of  afro hair ', 'horrible ', [], None, <PIL.Image.Image image mode=RGBA size=1600x1600 at 0x2156D89F4F0>, {'image': <PIL.Image.Image image mode=RGBA size=1600x1600 at 0x2156D89C250>, 'mask': <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1600x1600 at 0x2156D89DD80>}, <PIL.Image.Image image mode=RGBA size=3200x3200 at 0x2156D89D2A0>, None, None, None, 26, 15, 8, 0, 1, False, False, 1, 1, 6, 1.5, 0.7, -1.0, -1.0, 0, 0, 0, False, 512, 512, 1, 1, 0, 0, '', '', '', [], 0, False, '', 0, <scripts.external_code.ControlNetUnit object at 0x0000021560CB39A0>, <scripts.external_code.ControlNetUnit object at 0x0000021560CB3190>, True, -1.0, True, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '<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, '', True, False, False, 1, '', 0, '', 0, '', True, False, False, False, 0, True, True, '', False, 1, 'Both ▦', False, '', False, False, True, False, False, False, False, 0, False, '', '', '', 'generateMasksTab', 1, 4, 2.5, 30, 1.03, 1, 1, 5, 0.5, 5, False, True, False, 20, None, False, None, False, 50, '<p style="margin-bottom:0.75em">Will upscale the image depending on the selected target size type</p>', 512, 0, 8, 0, 64, 0.35, 0, 0, True, 0, False, 8, 0, 0, 4048, 4048, 2) {}
Traceback (most recent call last):
  File "F:\sd\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "F:\sd\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "F:\sd\modules\img2img.py", line 172, in img2img
    processed = process_images(p)
  File "F:\sd\modules\processing.py", line 503, in process_images
    res = process_images_inner(p)
  File "F:\sd\modules\processing.py", line 594, in process_images_inner
    p.init(p.all_prompts, p.all_seeds, p.all_subseeds)
  File "F:\sd\modules\processing.py", line 992, in init
    mask = mask.crop(crop_region)
  File "F:\sd\venv\lib\site-packages\PIL\Image.py", line 1228, in crop
    raise ValueError(msg)
ValueError: Coordinate 'right' is less than 'left'

Additional information

No response

@2blackbar 2blackbar added the bug-report Report of a bug, yet to be confirmed label Mar 31, 2023
@catboxanon catboxanon added the cannot-reproduce I can't reproduce this, so I can't fix it. Add steps for reproduction and remove this tag. label Aug 15, 2023
@catboxanon
Copy link
Collaborator

Despite me being unable to reproduce this, there were also several fixes with inpaint that perhaps resolved whatever issue you were having. #12588 #12633

If this still occurs as of the latest dev branch commit feel free to re-open. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed cannot-reproduce I can't reproduce this, so I can't fix it. Add steps for reproduction and remove this tag.
Projects
None yet
Development

No branches or pull requests

2 participants