mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Object Detection Tensorflow does not execute on Linux

Open PZerua opened this issue 3 years ago • 0 comments

System information

  • OS Platform and Distribution: Linux Kubuntu 20.04
  • Compiler version: gcc 9.4.0
  • Programming Language and version: C++
  • MediaPipe version: v0.8.10.2
  • Bazel version: 5.2.0
  • OpenCV version: 4.2

Describe the problem: On Linux I can compile Object Detection with the Tensorflow model (following steps in docs), but when executing it shows a lot of Tensorflow related errors and does not generate any output. No problems when compiling and executing the Object Dectection with TFLite model.

Provide the exact sequence of commands / steps that you executed before running into the problem:

bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --define no_aws_support=true --linkopt=-s \
  mediapipe/examples/desktop/object_detection:object_detection_tensorflow

GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tensorflow \
  --calculator_graph_config_file=mediapipe/graphs/object_detection/object_detection_desktop_tensorflow_graph.pbtxt \
  --input_side_packets=input_video_path=video.mp4,output_video_path=video_out.mp4

Complete Logs: log.txt

PZerua avatar Jul 19 '22 17:07 PZerua

Hi @PZerua, Could you please confirm that you are still looking for resolution or the issue has been resolved. Thank you!

kuaashish avatar Aug 16 '22 06:08 kuaashish

It still don't execute. Same errors as seen in the log attached in OP.

PZerua avatar Aug 16 '22 11:08 PZerua