Skip to content

Instantly share code, notes, and snippets.

@fenollp
Created June 9, 2020 09:42
Show Gist options
  • Save fenollp/b873521d9f43c5d3ab7f1cf03732dd36 to your computer and use it in GitHub Desktop.
Save fenollp/b873521d9f43c5d3ab7f1cf03732dd36 to your computer and use it in GitHub Desktop.
Run FacialSearch app on GPU with Bazel
bazel run --platform_suffix=_gpu \
--copt=-fdiagnostics-color=always --run_under="cd $PWD && " \
-c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 \
mediapipe/examples/facial_search/desktop:facial_search \
-- \
--calculator_graph_config_file=mediapipe/examples/facial_search/graphs/facial_search.pbtxt \
--images_folder_path=mediapipe/examples/facial_search/images/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment