Git Product home page Git Product logo

Comments (4)

ChaoningZhang avatar ChaoningZhang commented on July 25, 2024 2

Thanks very much for your interest in our work. Our MobileSAM uses exactly the same lightweight decoder (including pretrained weights) as the original SAM. The decoder is less than 4M, and in total our MobileSAM has less than 10M parameters. We will update our code so that the user can directly use our lightweight MobileSAM without the need to download sam_vit_h (Stay tuned!). If you have more questions please let us know.

from mobilesam.

ChaoningZhang avatar ChaoningZhang commented on July 25, 2024

So I cloned the repo and worked through the notebook. Do I understand correctly that there's a lightweight image encoded based on TinyViT, but you still need to use the fullsize SAM decoder? I had to download the sam_vit_h_4b8939.pth file, which is 2.4GB.

Am I using this wrong? Or are there smaller decoder models?

We have just updated the code for addressing your raised issue. Thanks for your interest in our work again!

from mobilesam.

kells1986 avatar kells1986 commented on July 25, 2024

Excellent, I'll pull your changes and take a look today. Great work, thanks for sharing!

from mobilesam.

ChaoningZhang avatar ChaoningZhang commented on July 25, 2024

Excellent, I'll pull your changes and take a look today. Great work, thanks for sharing!

Thanks for your interest in our work. Since your issues are addressed, we close it. Please feel free to raise new issues.

from mobilesam.

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.