geekyutao / Inpaint-Anything

Inpaint anything using Segment Anything and inpainting models.
Apache License 2.0
6.4k stars 525 forks source link

How can segmentation be made tighter #144

Open junyuancat1 opened 7 months ago

junyuancat1 commented 7 months ago

Hi,I need some advice on this

  1. How can segmentation be made tighter? It's evident that in the example, the segmentation of the dog is not tight enough; I only want to segment the outline of the dog, without introducing any other background information. image

2.Can the sd model used for filling be fine-tuned? I want to train a new category, such as "sfodglbns," representing a new and unseen species, and then use this species to fill in the tightly segmented outline.

thanks a lot!