From 0385ad49d1f0a0ab246a291d47877f3cc73b8c31 Mon Sep 17 00:00:00 2001 From: udamaster Date: Sat, 15 Oct 2022 11:59:08 -0400 Subject: [PATCH] Defaulting to advanced GPU For now probably our best bet --- .../modules/pose_landmark/pose_landmark_by_roi_gpu.pbtxt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mediapipe/modules/pose_landmark/pose_landmark_by_roi_gpu.pbtxt b/mediapipe/modules/pose_landmark/pose_landmark_by_roi_gpu.pbtxt index 7a2acceb5..cf325db7c 100644 --- a/mediapipe/modules/pose_landmark/pose_landmark_by_roi_gpu.pbtxt +++ b/mediapipe/modules/pose_landmark/pose_landmark_by_roi_gpu.pbtxt @@ -140,6 +140,11 @@ node { input_side_packet: "MODEL:model" input_stream: "TENSORS:input_tensors" output_stream: "TENSORS:output_tensors" + options: { + [mediapipe.InferenceCalculatorOptions.ext] { + delegate { gpu { use_advanced_gpu_api: true } } + } + } } # Decodes the tensors into the corresponding landmark and segmentation mask