GPU mode (all tasks) fails to initialize on Nvidia Jetson (arm64) #5690
Labels
os:linux-non-arm
Issues on linux distributions which run on x86-64 architecture. DOES NOT include ARM devices.
platform:embedded-linux-arm
Issues related to Raspberry Pi, Coral Dev Board, Nvidia Jetson Nano, etc.
platform:python
MediaPipe Python issues
stat:awaiting googler
Waiting for Google Engineer's 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
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Ubuntu 22.04, arm64, Jetpack 6.0, CUDA 12.2
Programming Language and version
Python 3.10
MediaPipe version
0.10.9
Solution
Hand Landmarker, Face Landmarker, Pose Landmarker
Describe the actual behavior
When using the GPU delegate, the landmarkers fail to initialize.
Describe the expected behaviour
When using the GPU delegate, the landmarkers initialize.
Standalone code/steps you may have used to try to get what you need
from mediapipe.tasks import python from mediapipe.tasks.python import vision def callback (results, image, timestamp): pass options = vision.HandLandmarkerOptions( base_options=python.BaseOptions( model_asset_path="hand_landmarker.task", delegate=python.BaseOptions.Delegate.GPU ), running_mode=vision.RunningMode.LIVE_STREAM, result_callback=callback ) detector = vision.HandLandmarker.create_from_options(options)
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: