Coder Social home page Coder Social logo

Comments (6)

klightz avatar klightz commented on July 17, 2024 2

Hi, thanks for your interest, the segment-anything notebook example is work-in-progress and currently it only supports CPU version (you can find that tensors are forced to cpu in the function) with a naive & straight forward algorithm. We will adapt a quicker version in the future.

from efficientsam.

sipie800 avatar sipie800 commented on July 17, 2024 1

same here, more than 30s on rtx3090, not efficient at all

from efficientsam.

yformer avatar yformer commented on July 17, 2024

@GitChanyoung, thanks for your interest! We will take a look for segment everything.

from efficientsam.

silinsi avatar silinsi commented on July 17, 2024

I experienced similar thing, it seems that code provided in [EfficientSAM_segment_everything_example.ipynb] is not adapted to gpu , i tried to move the network to gpu but this does not help a lot( probably because my modification not complete ), saving around ten seconds but it still costs around five to ten seconds.
Moreover, to the same image, it runs a little faster after first run.

from efficientsam.

sulaimanvesal avatar sulaimanvesal commented on July 17, 2024

When running on a CPU the Tiny EfficienetSAM, the performance of this model is significantly slower than that of FastSAM-S. After conducting a thorough comparison between FastSAM and EfficientSAM.

The following result is running the code on Google Collab:

Inference using:  efficientsam_ti_cpu.jit
Input size: torch.Size([3, 512, 1024])
Preprocess Time: 79.8783 ms
Inference Time: 6939.1549 ms

from efficientsam.

liutongkun avatar liutongkun commented on July 17, 2024

same here, more than 30s on rtx3090, not efficient at all

on my 3090ti,i7 12700, it's 30-40ms per image. The problem is that the speed will be slower when running the first inference, I'm not sure why

from efficientsam.

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.