Skip to content

Instantly share code, notes, and snippets.

@fenollp
Created June 9, 2020 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fenollp/f2f7ab008d2f028fb59eeb4b11e87028 to your computer and use it in GitHub Desktop.
Save fenollp/f2f7ab008d2f028fb59eeb4b11e87028 to your computer and use it in GitHub Desktop.
Run FacialSearch app on CPU with Bazel
bazel run --platform_suffix=_cpu \
--copt=-fdiagnostics-color=always --run_under="cd $PWD && " \
-c opt --define MEDIAPIPE_DISABLE_GPU=1 \
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