GithubHelp home page GithubHelp logo

MLKit running on GPU? about mlkit HOT 7 CLOSED

arianaa30 avatar arianaa30 commented on June 1, 2024
MLKit running on GPU?

from mlkit.

Comments (7)

SilverDestiny avatar SilverDestiny commented on June 1, 2024

Which ML Kit feature are you using? ML Kit is mostly running on CPU

from mlkit.

arianaa30 avatar arianaa30 commented on June 1, 2024

MLKit vision. I want to use the segmentation model.

from mlkit.

SilverDestiny avatar SilverDestiny commented on June 1, 2024

Which segmentation feature? Subject or selfie segmentation?

from mlkit.

arianaa30 avatar arianaa30 commented on June 1, 2024

Selfie Segmentation. In Android

from mlkit.

ai-plays avatar ai-plays commented on June 1, 2024

Hi arianaa30,

Selfie Segmentation is running on CPU only.

The only ML Kit feature with GPU acceleration today is Pose Detection. Please see more details here https://developers.google.com/ml-kit/vision/pose-detection/android#hardware_config

from mlkit.

arianaa30 avatar arianaa30 commented on June 1, 2024

Oh I didn't expect it at all. It's a TF model..why not using the gpu delegate to run? Please consider adding this option as a feature.

from mlkit.

ai-plays avatar ai-plays commented on June 1, 2024

There are actually some other complications that when running on GPU, a feature may be slower, less accurate than CPU or even result in crashes. It varies on different devices.

For Selfie Segmentation, it is already using multi-thread CPU acceleration today.

from mlkit.

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.