Does anybody know how to train a LoRA for inpainting base models? Currently dealing with the error

Does anybody know how to train a LoRA for inpainting base models?

Currently dealing with the error below with kohya_ss.

ValueError: Trying to set a tensor of shape torch.Size([320, 9, 3, 3]) in "weight" (which has shape torch.Size([320, 4, 3, 3])), this look incorrect.
Was this page helpful?