Comments (4)
Sorry wanna add some picture and realize the template didn't enable me to do that. So I add more info following the description above here.
this is the usage
However in the log for running hand_tracking_gpu
, I do see the tflite mode is delegate to GPU. But the reality is there is no GPU usage.
Also, in the log, it shows mesa as openGL vendor. Not nvidia. Based on this issue, it seems I have to get it to Nvidia to make it work? but Idk how.
from mediapipe.
Within the same docker container, I also tried using the pip installed mediapipe and leverage task. I followed the tutorial code listed here and made it one script. I modified
base_options = python.BaseOptions(model_asset_path='gesture_recognizer.task')
to
base_options = python.BaseOptions(model_asset_path='gesture_recognizer.task', delegate=mp.tasks.BaseOptions.Delegate.GPU)
It can run but again GPU usage is 0. Log shows it's already delegated to GPU
from mediapipe.
ok, i figured by myself. it's related to the x11 server I passed into my docker. I used a VNC server and passed a virtual VNC x11 session in and by default it would only use Mesa. After I remove this x11 pass in or I directly run this on host system, my openGL changed to nvidia.
from mediapipe.
Are you satisfied with the resolution of your issue?
Yes
No
from mediapipe.
Related Issues (20)
- Error vision_wasm during ImageSegmenter initialization HOT 4
- How I can use GPU mediapipe python HOT 7
- DIfference in Android and Python face landmarker documentation HOT 3
- Landscape Segmentation Offset Misalignment for Nvidia GPUs HOT 4
- 'テ「ツツ廬NIT_CWD' is not recognized as an internal or external command, operable program or batch file.
- ImageSegmenter callback not called on Chrome, but working in Edge HOT 2
- Face Landmark Detection grid is shifted HOT 2
- [Request] Open source profiler/tracer parser HOT 2
- protobuf error while building app to exe file HOT 5
- How can I render a image avatar using face landmarker detection result? HOT 1
- The Image Segmenter Demo is not working on my Xiaomi phone with Android version 14. HOT 1
- Upgraded to mediapipe latest 0.10.12 task version , Facing RET_CHECK failure HOT 1
- pose landmark result in linux python has Nan more than window python HOT 4
- Mediapipe and SSZipArchive together --> run time issue (iOS) HOT 3
- Landmark returning lagging by one frame in MediaPipe HOT 1
- Browser Crashes When Loading MediaPipe Models After OpenCV.js Initialization HOT 3
- Cannot run selfie segmentation in web worker - React.js HOT 2
- Real world coordinates
- how to get procrustes_landmark_basis and canonical_mesh in face_geometry
- Mobile: Android outputs for LLM Inference task are better than iOS ouputs
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.