Zejun-Yang / AniPortrait

AniPortrait: Audio-Driven Synthesis of Photorealistic Portrait Animation
Apache License 2.0
4.64k stars 578 forks source link

mediapipe can not use GPU? #128

Open liuzhougithub opened 6 months ago

liuzhougithub commented 6 months ago

when I run python -m scripts.pose2vid --config ./configs/prompts/animation.yaml -W 512 -H 512 -acc, this error happened. GPU suport is not available: INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:77) but my nvidia-smi and nvcc -V worked well.

Zejun-Yang commented 6 months ago

We apply Mediapipe on CPU. Since the error log is incomplete, we are unable to analyze the issue.

SCP2922 commented 2 months ago

我也遇到了一样的问题 I0000 00:00:1725610296.819521 3211394 task_runner.cc:85] GPU suport is not available: INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:77) display != EGL_NO_DISPLAYeglGetDisplay() returned error 0x300c W0000 00:00:1725610296.819823 3211394 face_landmarker_graph.cc:174] Sets FaceBlendshapesGraph acceleration to xnnpack by default. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. I0000 00:00:1725610296.870492 3211394 task_runner.cc:85] GPU suport is not available: INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:77) display != EGL_NO_DISPLAYeglGetDisplay() returned error 0x300c 这是错误日志