Coder Social home page Coder Social logo

Comments (5)

kuaashish avatar kuaashish commented on May 19, 2024

Hi @aaronxiongcday,

This error often occurs when attempting to use the GPU on a device that lacks GPU support. Could you please verify if your device is GPU-compatible and keep us informed about the issue?

Thank you!!

from mediapipe.

aaronxiongcday avatar aaronxiongcday commented on May 19, 2024

Hi @kuaashish,
I have tried the following, switched to use CPU, but still getting the same error:

faceDetector = await FaceDetector.createFromOptions(vision, {
baseOptions: {
modelAssetPath: https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite,
delegate: "CPU"
},
runningMode: runningMode
});

Other than the CPU and GPU options, is there third option?

from mediapipe.

kuaashish avatar kuaashish commented on May 19, 2024

Hi @aaronxiongcday,

To help us diagnose the error you are encountering, could you confirm if you are testing this scenario on an emulator or a physical device? We have identified that the issue is likely to occur on emulators due to limitations in emulated environments. If you are using an emulator, running the test on a physical device would be helpful. Please let us know the outcome after running the test on a physical device.

Thank you!!

from mediapipe.

aaronxiongcday avatar aaronxiongcday commented on May 19, 2024

Hi @kuaashish,
The scenario is testing on a physical device, which the Android OS is 9, and the application is launched via Webview browser.

from mediapipe.

kuaashish avatar kuaashish commented on May 19, 2024

Hi @aaronxiongcday,

Could you please test it with the latest version 0.10.13 once? We always recommend using the latest version as it includes new features and fixes for bugs.

Thank you!!

from mediapipe.

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.