Comments (5)
Going to reopen this for tracking. Will be a bit before I'm back from leave and can look into it, but hopefully someone else from my team can check ti out.
from mediapipe-samples.
from mediapipe-samples.
Hey @m22cs058 - I'm not sure I understand the request. Multiclass selfie segmentation should already exist in the category_mask segmentation example. Here's a quick video from that sample: https://photos.app.goo.gl/ia24YF52t7ooHcak9
Edit: So I was just reading an issue for Android and I think I assumed this is for Android :P Do you mean for something like Python? If that's the case, I can add a feature request to my task backlog, but it may not be completed soon.
from mediapipe-samples.
Hi @PaulTR Tested on Android 11T (21081111RG) works well with CPU delegate but catch "Batch size mismatch" error when modify to GPU. I use this device and use mediapipe studio demo, when selecting Multi-class Selfie Segmenter 256
and GPU
it seems to have the same error, I think the problem is the GPU model on this device but when testing other models like Selfie Segmenter
, Hair Segmenter
and Deeplab V3
with the GPU delegate still working as expected
Log Details:
E Image segmenter failed to load model with error: invalid argument: CalculatorGraph::Run() failed in Run:
Calculator::Open() for node "mediapipe_tasks_vision_image_segmenter_imagesegmentergraph__mediapipe_tasks_core_inferencesubgraph__inferencecalculator__mediapipe_tasks_vision_image_segmenter_imagesegmentergraph__mediapipe_tasks_core_inferencesubgraph__InferenceCalculator" failed: Batch size mismatch, expected 1 but got 8
from mediapipe-samples.
Hi @PaulTR, I'd like to know if there is any update on this?
from mediapipe-samples.
Related Issues (20)
- questions about batch size and number of unet runs in the image generator task
- Unresolved reference: LlmInference HOT 2
- Colab error - Object detection model customization guide - No module named 'keras.src.engine' HOT 1
- Correlation between number of Landmarks and inference latency
- The Android Example for "pose_landmarker" is not working for videos
- ANR Triggered when processing a large prompt.
- Showing only certain landmarks on android FaceLandmarker App HOT 2
- Can not detect the face with full body picture
- version:20230731 android example demo crash on moto S30Pro HOT 1
- Crash when running the llm inference on android
- PreviewView is not aligned to center HOT 1
- Is Gemma on device really this slow ? HOT 4
- Phi-2 Inference has some issues. HOT 7
- Module installation error in raspberry pi 4
- 'ERROR: Unable to read from webcam. Please verify your webcam settings.' HOT 2
- No module named 'mediapipe.tasks'
- TypeError: ImageSegmenterOptions.__init__() got an unexpected keyword argument 'output_category_mask'
- Xcode: Getting Failed to initialize LlmInference session -> Failed to map, error: Cannot allocate memory
- HandLandmarker CodePen example outdated
- Issues for a change of trained model HOT 1
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-samples.