PerSAM is a really cool method to personalize the SAM model by Meta AI.
Using just one example (image, mask) pair of a given concept (like "dog"), the method allows to make sure the SAM model is able to segment the concept in other images.
I've made 2 notebooks to illustrate the 2 approaches as proposed in the original paper.