example-mediapipe-udp icon indicating copy to clipboard operation
example-mediapipe-udp copied to clipboard

Able to build the example, but not run it!

Open peacheym opened this issue 3 years ago • 0 comments

Good evening,

Thank you for publishing this project. I have found extracting landmark data from MediaPipe to be a bit confusing, so I appreciate any and all examples.

I was able to follow all of your steps, and even was able to build the project using the bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu command.

But when I try to run the project using the GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_cpu --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live.pbtxt I run into an error.

The error is as follows:

E20201022 20:22:38.307886 58398 demo_run_graph_main.cc:163] Failed to run the graph: ValidatedGraphConfig Initialization failed.
LabelsToRenderDataCalculator: ; Must provide input stream "LABELS"lators/util/labels_to_render_data_calculator.cc:81)

So it looks like the graph is looking for an input stream called LABELS, but I haven't been able to find that as of right now. Is this something you ran into while developing this example? Perhaps you know of a quick fix that I haven't seen?

Thanks a ton! :smile:

peacheym avatar Oct 22 '20 23:10 peacheym