google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://mediapipe.dev
Apache License 2.0
26.71k stars 5.08k forks source link

Face Mesh GPU - TfLiteGpuDelegate Prepare: Program is not properly linked #2797

Closed magorkollo closed 2 years ago

magorkollo commented 2 years ago

System information

Describe the expected behavior: I built both the Face Mesh CPU and GPU version on the Jetson AGX Xavier, the CPU implementation works. In case of the Hand Tracking solution both the CPU and GPU one works, but when I try to run the Face Mesh with GPU it gives me the following error which I couldn't solve yet:

INFO: Created TensorFlow Lite delegate for GPU. ERROR: TfLiteGpuDelegate Prepare: Program is not properly linked: Compute info

0(84) : error C1068: array index out of bonds 0(84) : error C1068: array index out of bonds 0(84) : error C1068: array index out of bonds 0(84) : error C1068: array index out of bonds 0(84) : error C1068: array index out of bonds ...... 0(96) : error C1068: array index out of bonds ...... when I try to run the Face Mesh with GPU it gives me the following error which I couldn't solve yet: ERROR: Node number 712 (TfLiteGpuDelegate) failed to prepare ERROR: Restored original execution plan after delegate application failure. ... demo_run_graph_main_gpu.cc:186] Shutting down. Segmentation fault (core dumped).

To reproduce the error: I simply followed the installation instructions for Ubuntu with GPU:

https://google.github.io/mediapipe/getting_started/install.html#installing-on-debian-and-ubuntu https://google.github.io/mediapipe/getting_started/gpu_support.html#opengl-es-setup-on-linux-desktop

Please help me if you had this problem before. Thank you in advance. :)

sgowroji commented 2 years ago

Duplicate https://github.com/google/mediapipe/issues/2678

sgowroji commented 2 years ago

Hi @magorors, Could you please go through this https://github.com/google/mediapipe/issues/2678#issuecomment-989348636

google-ml-butler[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] commented 2 years ago

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] commented 2 years ago

Are you satisfied with the resolution of your issue? Yes No