Can not use GPU on kaggle notebook. #5871
Labels
gpu
MediaPipe GPU related issues
platform:python
MediaPipe Python issues
stale
stat:awaiting response
Waiting for user response
task:face landmarker
Issues related to Face Landmarker: Identify facial features for visual effects and avatars.
type:feature
Enhancement in the New Functionality or Request for a New Solution
MediaPipe Solution (you are using)
Face landmark detection
Programming language
python
I set use GPU on kaggle, but it raises error.
###My code
error
err :---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last) in <cell line: 47>() 45 output_facial_transformation_matrixes=True, 46 num_faces=1) ---> 47 detector = vision.FaceLandmarker.create_from_options(options) 48 49 /usr/local/lib/python3.10/dist-packages/mediapipe/tasks/python/vision/face_landmarker.py in create_from_options(cls, options) 3102 task_options=options, 3103 ) -> 3104 return cls( 3105 task_info.generate_graph_config( 3106 enable_flow_limiting=options.running_mode /usr/local/lib/python3.10/dist-packages/mediapipe/tasks/python/vision/core/base_vision_task_api.py in init(self, graph_config, running_mode, packet_callback) 68 'callback should not be provided.' 69 ) ---> 70 self._runner = _TaskRunner.create(graph_config, packet_callback) 71 self._running_mode = running_mode 72 RuntimeError: Service "kGpuService", required by node mediapipe_tasks_vision_face_landmarker_facelandmarkergraph__mediapipe_tasks_vision_face_detector_facedetectorgraph__mediapipe_tasks_core_inferencesubgraph__inferencecalculator__mediapipe_tasks_vision_face_landmarker_facelandmarkergraph__mediapipe_tasks_vision_face_detector_facedetectorgraph__mediapipe_tasks_core_inferencesubgraph__InferenceCalculator, was not provided and cannot be created: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:84) egl_initializedUnable to initialize EGL
The text was updated successfully, but these errors were encountered: