Ошибка запуска графического процессора Mediapipe Desktop в контейнере Docker - указано недопустимое значение
Я создал образ докера Mediapipe, следуя инструкциям здесь: https://google.github.io/mediapipe/getting_started/install.html. Я установил драйверы mesa, используемые для поддержки графического процессора Mediapipe, как указано здесь: https://google.github.io/mediapipe/getting_started/gpu_support.html.
Мне удалось скомпилировать пример multi_hand_tracking_gpu. Однако, когда я запускаю пример, используя
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/multi_hand_tracking/multi_hand_tracking_gpu \
--calculator_graph_config_file=mediapipe/graphs/hand_tracking/multi_hand_tracking_mobile.pbtxt
Я получаю сообщение об ошибке ниже. Любой вклад по этой проблеме приветствуется.
root@fb89acd43129:/mediapipe# GLOG_logstderr=1 bazel-bin/mediapipe/examples/desktop/multi_hand_tracking/multi_hand_tracking_gpu --calculator_graph_config_file=mediapipe/graphs/hand_tracking/multi_hand_tracking_mobile.pbtxt
libEGL warning: DRI2: failed to authenticate
INFO: Initialized TensorFlow Lite runtime.
INFO: Created TensorFlow Lite delegate for GPU.
E20200722 18:46:19.313830 2217 demo_run_graph_main_gpu.cc:146] Failed to run the graph: Graph has errors:
Calculator::Open() for node "[multihanddetectionsubgraph__TfLiteInferenceCalculator, TfLiteInferenceCalculator with output stream: multihanddetectionsubgraph__detection_tensors]" failed: [GL_INVALID_ENUM]: An unacceptable value is specified for an enumerated argument.: glBufferData in external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/gl_buffer.h:255