Comments (3)
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.
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.
@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
- What is your use case for MediaPipe?
- Any feedback about how easy or difficult it is to use MediaPipe?
Thanks
Ming
from mediapipe.
Related Issues (20)
- Failed to get LLM params: INVALID_ARGUMENT: LLM model file is null HOT 6
- In my Flutter project, I use the blaze_face_short_range.tflite model and get output in the format [1, 896, 16] and [1, 896, 1]. Tell me how I can turn them into coordinates. HOT 4
- Selfie Segmentation vs Image Segmentation HOT 2
- Google Meet's model (image_segmenter) HOT 1
- Availability of previous version wheels HOT 3
- Detection of non-existent landmarks HOT 1
- Mediapipe with WebGL2... HOT 5
- MediaPipe shouldn't resize the external canvas HOT 3
- hair segmetation through medipipe code in python HOT 6
- Hair segmentation : ValueError: could not broadcast input array from shape (3,) into shape (337,325,4) HOT 3
- difference in results for landmarks and world_landmarks HOT 1
- <uses-native-library> missing in Android LLM Inference Guide HOT 3
- Allow cancelling ongoing async generation in LlmInference HOT 3
- Integrate MediaPipeTasksVision into dynamic framework throws Undefined symbols error HOT 1
- When will the new, improved blendshape prediction model v3 be implemented into Mediapipe? HOT 1
- Pose model failure reason
- Eyebrow Segmentation with Mediapipe in Python HOT 1
- online web demo yields better hand detection than its python equivalent HOT 4
- It is incorrect of using pose_landmark_full.tflite inference HOT 7
- Can't use MediaPipe in VisionOS development HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipe.