Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion - Integrate MobileSAM into the pipeline for lightweight and faster inference #82

Open
mdimtiazh opened this issue Jun 28, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mdimtiazh
Copy link

Reference: https://github.com/ChaoningZhang/MobileSAM

Our project performs on par with the original SAM and keeps exactly the same pipeline as the original SAM except for a change on the image encode, therefore, it is easy to Integrate into any project.

MobileSAM is around 60 times smaller and around 50 times faster than original SAM, and it is around 7 times smaller and around 5 times faster than the concurrent FastSAM. The comparison of the whole pipeline is summarzed as follows:

image

image

Best Wishes,

Qiao

@onuralpszr onuralpszr self-assigned this Jun 28, 2023
@onuralpszr onuralpszr added the enhancement New feature or request label Jun 28, 2023
@kadirnar
Copy link
Owner

Hi @mdimtiazh , it would be great to add this library. Do you want to add this? We can help you.

@DiamondGlassDrill
Copy link

A little eye opener that might make u happy.

From MobileSam Webpage:
❤️ How to Adapt from SAM to MobileSAM? Since MobileSAM keeps exactly the same pipeline as the original SAM, we inherit pre-processing, post-processing, and all other interfaces from the original SAM. The users who use the original SAM can adapt to MobileSAM with zero effort, by assuming everything is exactly the same except for a smaller image encoder in the SAM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants