SwatiModi / virtual-background-app

A Zoom-like real-time virtual background app, made with Portrait segmentation and Google's MediaPipe
Apache License 2.0
42 stars 21 forks source link

Calculator::Open() for node "TfLiteInferenceCalculator" #6

Closed zhoufeng1213 closed 2 years ago

zhoufeng1213 commented 2 years ago

Using the following command GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/portrait_segmentation/portrait_segmentation_gpu --calculator_graph_config_file=mediapipe/graphs/portrait_segmentation/portrait_segmentation.pbtxt

Here is the result demo_run_graph_main_gpu.cc:197] Failed to run the graph: Graph has errors: Calculator::Open() for node "TfLiteInferenceCalculator" failed: [GL_INVALID_ENUM]: An unacceptable value is specified for an enumerated argument.: glBufferData in external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/gl_buffer.h:251

zhoufeng1213 commented 2 years ago

Does anyone know why this is happening? Thanks