Repository: stable-diffusion-webui
Issue: [Bug]: Inpainting - Masked only
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Choose inpaint with " masked only " selected"
Should return the image with the masked area being changed
gives runtime error instead ( see below )
ends in "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 instead"



### Steps to reproduce the problem

1. select image for inpainting
2. select "masked area only"
3. enter prompt and generate

### What should have happened?

it should work with this select, i have used it before but using it yesterday and today it is no longer working.

### Commit where the problem happens

commit: 22bcc7be

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Mozilla Firefox

### Command Line Arguments

```Shell
--xformers
```


### List of extensions

No; this problem was reproduced with the " no extensions " selected.

### Console logs

```Shell
Arguments: ('task(7kjc0xi46aee6w8)', 2, 'Soraka, normal clothes, tshirt, jeans', '', [], <PIL.Image.Image image mode=RGBA size=1000x590 at 0x2110123D6F0>, None, {'image': <PIL.Image.Image image mode=RGBA size=1000x590 at 0x2110123FA00>, 'mask': <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=1000x590 at 0x2110123D960>}, None, None, None, None, 20, 0, 4, 0, 1, False, False, 1, 1, 7, 1.5, 1, -1.0, -1.0, 0, 0, 0, False, 512, 512, 0, 1, 32, 0, '', '', '', [], 0, '<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, '', 0, '', True, False, False, False, 0) {}
Traceback (most recent call last):
  File "D:\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "D:\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "D:\stable-diffusion-webui\modules\img2img.py", line 172, in img2img
    processed = process_images(p)
  File "D:\stable-diffusion-webui\modules\processing.py", line 503, in process_images
    res = process_images_inner(p)
  File "D:\stable-diffusion-webui\modules\processing.py", line 698, in process_images_inner
    image = apply_overlay(image, p.paste_to, i, p.overlay_images)
  File "D:\stable-diffusion-webui\modules\processing.py", line 69, in apply_overlay
    image = images.resize_image(1, image, w, h)
  File "D:\stable-diffusion-webui\modules\images.py", line 287, in resize_image
    resized = resize(im, src_w, src_h)
  File "D:\stable-diffusion-webui\modules\images.py", line 270, in resize
    im = upscaler.scaler.upscale(im, scale, upscaler.data_path)
  File "D:\stable-diffusion-webui\modules\upscaler.py", line 63, in upscale
    img = self.do_upscale(img, selected_model)
  File "D:\stable-diffusion-webui\modules\esrgan_model.py", line 154, in do_upscale
    img = esrgan_upscale(model, img)
  File "D:\stable-diffusion-webui\modules\esrgan_model.py", line 225, in esrgan_upscale
    output = upscale_without_tiling(model, tile)
  File "D:\stable-diffusion-webui\modules\esrgan_model.py", line 204, in upscale_without_tiling
    output = model(img)
  File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "D:\stable-diffusion-webui\modules\esrgan_model_arch.py", line 62, in forward
    return self.model(feat)
  File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\container.py", line 204, in forward
    input = module(input)
  File "D:\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 319, in lora_Conv2d_forward
    return torch.nn.Conv2d_forward_before_lora(self, input)
  File "D:\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 "D:\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 instead
```


### Additional information

_No response_