Giter Club home page Giter Club logo

Comments (3)

jiuqiant avatar jiuqiant commented on May 7, 2024

Hi Long,

Thanks for reporting the issue!
The problem is related to the latest version of Bazel (0.27.0), which is released on June 17. Bazel made several incompatible changes from 0.26.1 to 0.27.0. My apologies for not testing the code with Bazel 0.27.0 yet, and we will be working on a fix. Without the fix, you may try the following command line to build the demo app with Bazel 0.27.0:

$ bazel clean --expunge
$ bazel build -c opt --config=android_arm64 \
    mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu \
    --incompatible_depset_is_not_iterable=false \
    --incompatible_disable_deprecated_attr_params=false \
    --incompatible_no_support_tools_in_action_inputs=false

FYI, if you take a close look at the error message you pasted above, it also guides you how to add the incompatible flags.

We will keep you posted. Thanks.

from mediapipe.

jiuqiant avatar jiuqiant commented on May 7, 2024

2aaf469 should fix the Bazel incompatiblity issue.

BTW, the minimum Android NDK version that MediaPipe requires is r17c. By using Android NDK r16b, you may encounter the following error soon:

external/org_tensorflow/tensorflow/lite/delegates/gpu/common/model_transformer.cc:69:53: error: no member named 'to_string' in namespace 'std'
        reporter_->AppliedTransformation(name, std::to_string(node_id),
                                               ~~~~~^
external/org_tensorflow/tensorflow/lite/delegates/gpu/common/model_transformer.cc:73:54: error: no member named 'to_string' in namespace 'std'
        reporter_->DeclinedTransformation(name, std::to_string(node_id),
                                                ~~~~~^

Please consider switching to a later Android NDK version. Let me know if you have more questions.

from mediapipe.

mgyong avatar mgyong commented on May 7, 2024

@chenloveheimei Thanks for using MediaPipe. My team would love to get feedback from you about your use of MediaPipe

It would be great if you could answer the below questions

  1. What is your use case for MediaPipe?
  2. Any feedback about how easy or difficult it is to use MediaPipe?

Thanks
Ming

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.