mediapipe
mediapipe copied to clipboard
[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/text_format.cc:335] Error parsing text-format mediapipe.CalculatorGraphConfig: 29:87: Could not find type "type.googleapis.com/mediapipe.TensorFlowSessionFromSavedModelCalculatorOptions" stored in google.protobuf.Any.
I am trying to build Object detection for CPU using https://google.github.io/mediapipe/solutions/object_detection.html But I get errors during run application
Build
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/object_detection:object_detection_tflite
The build is successful
Target //mediapipe/examples/desktop/object_detection:object_detection_tflite up-to-date: bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite INFO: Elapsed time: 179.708s, Critical Path: 111.97s INFO: 1042 processes: 88 internal, 954 linux-sandbox. INFO: Build completed successfully, 1042 total actions
Run
GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite --calculator_graph_config_file=mediapipe/graphs/object_detection/object_detection_desktop_tensorflow_graph.pbtxt --input_side_packets=input_video_path=mediapipe/examples/desktop/object_detection/test_video.mp4,output_video_path=mediapipe/examples/desktop/object_detection/out_cpu.mp4
But it causes the following error
[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/text_format.cc:335] Error parsing text-format mediapipe.CalculatorGraphConfig: 29:87: Could not find type "type.googleapis.com/mediapipe.TensorFlowSessionFromSavedModelCalculatorOptions" stored in google.protobuf.Any. F20220908 14:21:42.082662 5639 parse_text_proto.h:32] Check failed: ParseTextProto(input, &result) *** Check failure stack trace: *** @ 0x5633945be87b google::LogMessage::SendToLog() @ 0x5633945ba999 google::LogMessage::Flush() @ 0x5633945badf9 google::LogMessageFatal::~LogMessageFatal() @ 0x563394003363 RunMPPGraph() @ 0x563393ff2ab5 main @ 0x7f8c5fba5c87 __libc_start_main @ 0x563393ffd41a _start @ (nil) (unknown) Aborted (core dumped)
Hi @robi56, Please refer to this closed issue #884 and #884(comment) for your query. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.