[Bug]: Inpainting color correctioin
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Even wiith color correction turned on in the settings, while inpainting, the final render still ends up with a bluish color on human subjects in the area that was in painted
Steps to reproduce the problem
- Go to ....
- Press ....
- ...
What should have happened?
less bluing and more of a skintone match
Commit where the problem happens
e33cace2c2074ef342d027c1f31ffc4b3c3e877e
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
--xformers
Additional information, context and logs
No response
Color correction for inpaint doesn't work (anymore):
Error completing request Arguments: ('task(sdah21oz8fdjrjt)', 2, 'detailed skin, visible pores, hair', 'perfect skin, ugly cartoon drawing, blurry face, 2 faces, 2 heads', [], None, None, {'image': <PIL.Image.Image image mode=RGBA size=2304x2304 at 0x230221A6320>, 'mask': <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=2304x2304 at 0x230221A4490>}, None, None, None, None, 20, 14, 22, 0, 1, False, False, 1, 1, 7, 1.5, 0.08, -1.0, -1.0, 0, 0, 0, False, 512, 512, 0, 1, 32, 0, '', '', '', [], 0, False, False, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, None, 'Refresh models', False, 'keyword prompt', 'random', 'None', 'textual inversion first', 'None', '0.7', 'None', False, 'MultiDiffusion', False, True, 1024, 1024, 96, 96, 48, 1, 'None', 2, False, False, 1, False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, 1, 0.4, 0.4, 0.2, 0.2, '', '', False, False, True, True, 0, 1536, 96, False, '', 0, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', <scripts.external_code.ControlNetUnit object at 0x00000230221EEB90>, <scripts.external_code.ControlNetUnit object at 0x000002302221A8F0>, False, 1, 0.15, False, 'OUT', ['OUT'], 5, 0, 'Bilinear', False, 'Pooling Max', False, 'Lerp', '', '', False, 0.9, 5, '0.0001', False, 'None', '', 0.1, False, False, '1:1,1:2,1:2', '0:0,0:0,0:1', '0.2,0.8,0.8', 20, True, 1536, 16, 96, 2, True, True, 'Approximated', False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, None, '', 'outputs', '
- \n
CFG Scaleshould be 2 or lower. \n
Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8
', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '', 'Will upscale the image by the selected scale factor; use width and height sliders to set tile size
', 64, 0, 2, 'Illustration', 'svg', True, True, False, 0.5, True, 16, True, 16, 1, '', 0, '', 0, '', True, False, False, False, 0, 'Not set', True, True, '', '', '', '', '', 1.3, 'Not set', 'Not set', 1.3, 'Not set', 1.3, 'Not set', 1.3, 1.3, 'Not set', 1.3, 'Not set', 1.3, 'Not set', 1.3, 'Not set', 1.3, 'Not set', 1.3, 'Not set', False, 'None', None, True, None, None, False, None, False, None, False, 50, False, 4.0, '', 10.0, 'Linear', 3, False, 30.0, True, False, False, 0, 0.0, 'Lanczos', 1, True, 0, 0, 0.001, 75, 0.0, False, 0, 0, 512, 512, False, False, True, True, True, False, False, 1, False, False, False, 2.5, 4, 0, False, 0, 1, False, False, 'u2net', False, False, False, False, False, False, 'Euler a', 0.95, 0.75, '0.75:0.95:5', '0.2:0.8:5', 'zero', 'pos', 'linear', 0.2, 0.0, 0.75, None, 'Lanczos', 1, 0, 0, 'Will upscale the image depending on the selected target size type
', 512, 0, 8, 32, 64, 0.35, 32, 0, True, 0, False, 8, 0, 0, 2048, 2048, 2) {} Traceback (most recent call last): File "I:\Super SD 2.0\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "I:\Super SD 2.0\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, **kwargs) File "I:\Super SD 2.0\stable-diffusion-webui\modules\img2img.py", line 171, in img2img processed = process_images(p) File "I:\Super SD 2.0\stable-diffusion-webui\modules\processing.py", line 486, in process_images res = process_images_inner(p) File "I:\Super SD 2.0\stable-diffusion-webui\modules\processing.py", line 681, in process_images_inner image = apply_overlay(image, p.paste_to, i, p.overlay_images) File "I:\Super SD 2.0\stable-diffusion-webui\modules\processing.py", line 69, in apply_overlay image = images.resize_image(1, image, w, h) File "I:\Super SD 2.0\stable-diffusion-webui\modules\images.py", line 284, in resize_image resized = resize(im, src_w, src_h) File "I:\Super SD 2.0\stable-diffusion-webui\modules\images.py", line 267, in resize im = upscaler.scaler.upscale(im, scale, upscaler.data_path) File "I:\Super SD 2.0\stable-diffusion-webui\modules\upscaler.py", line 63, in upscale img = self.do_upscale(img, selected_model) File "I:\Super SD 2.0\stable-diffusion-webui\modules\esrgan_model.py", line 154, in do_upscale img = esrgan_upscale(model, img) File "I:\Super SD 2.0\stable-diffusion-webui\modules\esrgan_model.py", line 225, in esrgan_upscale output = upscale_without_tiling(model, tile) File "I:\Super SD 2.0\stable-diffusion-webui\modules\esrgan_model.py", line 204, in upscale_without_tiling output = model(img) File "I:\Super SD 2.0\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl return forward_call(*input, **kwargs) File "I:\Super SD 2.0\stable-diffusion-webui\modules\esrgan_model_arch.py", line 62, in forward return self.model(feat) File "I:\Super SD 2.0\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl return forward_call(*input, **kwargs) File "I:\Super SD 2.0\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\container.py", line 204, in forward input = module(input) File "I:\Super SD 2.0\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl return forward_call(*input, **kwargs) File "I:\Super SD 2.0\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 201, in lora_Conv2d_forward return lora_forward(self, input, torch.nn.Conv2d_forward_before_lora(self, input)) File "I:\Super SD 2.0\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\conv.py", line 463, in forward return self._conv_forward(input, self.weight, self.bias) File "I:\Super SD 2.0\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\conv.py", line 459, in _conv_forward return F.conv2d(input, weight, bias, self.stride, RuntimeError: Given groups=1, weight of size [64, 3, 3, 3], expected input[1, 4, 192, 192] to have 3 channels, but got 4 channels insteadTotal progress: 100%|████████████████████████████████████████████████████████████████████| 2/2 [00:12<00:00, 10.29it/s]
See https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9499 for the error you are getting.
Issue report with more details here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7560