Git Product home page Git Product logo

Comments (7)

bnascimento avatar bnascimento commented on August 16, 2024 1

from segment-anything-cpp-wrapper.

dinglufe avatar dinglufe commented on August 16, 2024

What kind of addon are you referring to? And does "original demo" mean version 1.0?

from segment-anything-cpp-wrapper.

bnascimento avatar bnascimento commented on August 16, 2024

By original demo, I meant this: https://segment-anything.com/demo#

Also from https://github.com/facebookresearch/segment-anything/blob/6fdee8f2727f4506cfbbe553e23b895e27956588/notebooks/onnx_model_example.ipynb#L418
point_labels: Labels for the sparse input prompts. 0 is a negative input point, 1 is a positive input point, 2 is a top-left box corner, 3 is a bottom-right box corner, and -1 is a padding point. If there is no box input, a single padding point with label -1 and coordinates (0.0, 0.0) should be concatenated.
So a box where TL and BR points have 2 and 3 values.

What you understand here by padding?

from segment-anything-cpp-wrapper.

dinglufe avatar dinglufe commented on August 16, 2024

Specifying the region is indeed a very important feature, I will add it.But I'm not sure what 'padding' means here.

from segment-anything-cpp-wrapper.

Jacc999 avatar Jacc999 commented on August 16, 2024

Hello, what will happen if I run on linux? Can I get through it?

from segment-anything-cpp-wrapper.

dinglufe avatar dinglufe commented on August 16, 2024

Hello, what will happen if I run on linux? Can I get through it?

I tested running the program on Linux before, but it crashed. However, it's possible that the machine I used for testing had insufficient memory (more test needed). We can continue the discussion on a new issue.

from segment-anything-cpp-wrapper.

dinglufe avatar dinglufe commented on August 16, 2024

This feature (box prompt) was added in v1.4.

Specifying the region is indeed a very important feature, I will add it.But I'm not sure what 'padding' means here.

from segment-anything-cpp-wrapper.

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.