Giter Club home page Giter Club logo

Comments (4)

ZrrSkywalker avatar ZrrSkywalker commented on August 20, 2024 3

Hi, thanks for your interest in our work. Yes, the current version of PerSAM can handle one-object image or multiple objects with different appearances (like video object segmentation). For the image you provided, PerSAM only segments the most dominant one. Also, it can be simply modified to find two sneakers in four steps:

  1. Use image encoder to obtain the image feature only once, and calculate the feature similarity map.
  2. Find the location prior and segment the first object by the decoder, obtaining mask M_1.
  3. Assign zeros to the pixels within M_1 on the feature similarity map, and then find the second location prior
  4. Segment the second object by the decoder

from personalize-sam.

QihangYang avatar QihangYang commented on August 20, 2024 2

@ZrrSkywalker Hi. Is there any way to modify PerSAM to automatically determine how many items in the image are similar to the prompt and mask them all?

from personalize-sam.

mbenami avatar mbenami commented on August 20, 2024

Hi, thanks for the response
that can help but the issue is that even if I have the sneaker as a reference and segment cat image
vis_mask_00

its segments the cat ( and the sim matrix looks high in the cat area )
so for my case (a scene where there are multiple objects but no guarantee of the same object )
do you think persam can help?

Thanks again for the help!

from personalize-sam.

ZrrSkywalker avatar ZrrSkywalker commented on August 20, 2024

Thanks for your in-depth analysis. This is because, compared to the background, the sneaker feature is more similar to the cat feature.

If we give the one-shot image containing two objects, sneaker and cat, the reference sneaker feature would correctly match other sneakers with the highest scores in new images, rather than the cat. As shown in Figure 9 for video object segmentation.
image

from personalize-sam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.