google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.59k stars 5.16k forks source link

Error: missing terminating " character #4531

Closed SiriratL closed 1 year ago

SiriratL commented 1 year ago

OS Platform and Distribution

Ubuntu 20.04.6 LTS

Compiler version

8.4.0

Programming Language and version

Python 3.8.10

Installed using virtualenv? pip? Conda?(if python)

No response

MediaPipe version

No response

Bazel version

6.1.1

XCode and Tulsi versions (if iOS)

No response

Android SDK and NDK versions (if android)

No response

Android AAR (if android)

None

OpenCV version (if running on desktop)

No response

Describe the problem

As I would like to use other detection model other than the default package for pose estimation. I followed the tutorial in installation > Installing using Docker then tried to build MediaPipe Python Package.

Below is the command I run;
apt install nodejs npm
npm install -g @bazel/bazelisk
sed $'s/\r$//' .bazelversion > .bazelversion
GLOG_logtostderr=1 bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world
apt install python3-dev 
pip3 install -r requirements.txt
apt update
apt-get install -y protobuf-compiler
apt install libopencv-dev
#Got error > Edit file "detection_postprocessing_graph_options.proto"
# delete "optional"
ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
python3 setup.py install --link-opencv

After in run python3 setup.py install --link-opencv, got the syntax error in the file "metadata_parser.h" but when checked the file the code seems fine, thinking that it might be configuration problem. But I have no idea how to fix it. I can code python, but cannot C++. Kindly help

Complete Logs

root@b7837356d220:/mediapipe# python3 setup.py install --link-opencv
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:520: SetuptoolsDeprecationWarning: Invalid version: 'dev'.
!!

        ********************************************************************************
        The version specified is not a valid version according to PEP 440.
        This may not work as expected with newer versions of
        setuptools, pip, and PyPI.

        By 2023-Sep-26, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://peps.python.org/pep-0440/ for details.
        ********************************************************************************

!!
  self._validate_version(self.metadata.version)
running install
setup.py:488: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  install.install.initialize_options(self)
running build
running build_py
running gen_protos
running generate_metadata_schema
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', '//mediapipe/tasks/metadata:image_segmenter_metadata_schema_py', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Build option --copt has changed, discarding analysis cache.
INFO: Analyzed target //mediapipe/tasks/metadata:image_segmenter_metadata_schema_py (2 packages loaded, 338 targets configured).
INFO: Found 1 target...
Target //mediapipe/tasks/metadata:image_segmenter_metadata_schema_py up-to-date:
  bazel-bin/mediapipe/tasks/metadata/image_segmenter_metadata_schema_py_generated.py
INFO: Elapsed time: 0.520s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', '//mediapipe/tasks/metadata:metadata_schema_py', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/tasks/metadata:metadata_schema_py (0 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/tasks/metadata:metadata_schema_py up-to-date:
  bazel-bin/mediapipe/tasks/metadata/metadata_schema_py_generated.py
INFO: Elapsed time: 0.126s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', '//mediapipe/tasks/metadata:object_detector_metadata_schema_py', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/tasks/metadata:object_detector_metadata_schema_py (0 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/tasks/metadata:object_detector_metadata_schema_py up-to-date:
  bazel-bin/mediapipe/tasks/metadata/object_detector_metadata_schema_py_generated.py
INFO: Elapsed time: 0.107s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', '//mediapipe/tasks/metadata:schema_py', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/tasks/metadata:schema_py (0 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/tasks/metadata:schema_py up-to-date:
  bazel-bin/mediapipe/tasks/metadata/schema_py_generated.py
INFO: Elapsed time: 0.088s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
running build_modules
downloading file: mediapipe/modules/face_detection/face_detection_full_range_sparse.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/face_detection/face_detection_full_range_sparse.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Build options --action_env, --compilation_mode, and --define have changed, discarding analysis cache.
INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_full_range_sparse.tflite (7 packages loaded, 13 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_detection:face_detection_full_range_sparse.tflite up-to-date:
  bazel-bin/mediapipe/modules/face_detection/face_detection_full_range_sparse.tflite
INFO: Elapsed time: 0.194s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/face_detection/face_detection_short_range.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/face_detection/face_detection_short_range.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_short_range.tflite (1 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_detection:face_detection_short_range.tflite up-to-date:
  bazel-bin/mediapipe/modules/face_detection/face_detection_short_range.tflite
INFO: Elapsed time: 0.074s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/face_landmark/face_landmark.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/face_landmark/face_landmark.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/face_landmark:face_landmark.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_landmark:face_landmark.tflite up-to-date:
  bazel-bin/mediapipe/modules/face_landmark/face_landmark.tflite
INFO: Elapsed time: 0.078s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/face_landmark/face_landmark_with_attention.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/face_landmark/face_landmark_with_attention.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/face_landmark:face_landmark_with_attention.tflite (1 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_landmark:face_landmark_with_attention.tflite up-to-date:
  bazel-bin/mediapipe/modules/face_landmark/face_landmark_with_attention.tflite
INFO: Elapsed time: 0.075s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/hand_landmark/hand_landmark_full.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/hand_landmark/hand_landmark_full.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/hand_landmark:hand_landmark_full.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/hand_landmark:hand_landmark_full.tflite up-to-date:
  bazel-bin/mediapipe/modules/hand_landmark/hand_landmark_full.tflite
INFO: Elapsed time: 0.074s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/hand_landmark/hand_landmark_lite.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/hand_landmark/hand_landmark_lite.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/hand_landmark:hand_landmark_lite.tflite (1 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/hand_landmark:hand_landmark_lite.tflite up-to-date:
  bazel-bin/mediapipe/modules/hand_landmark/hand_landmark_lite.tflite
INFO: Elapsed time: 0.069s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/holistic_landmark/hand_recrop.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/holistic_landmark/hand_recrop.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/holistic_landmark:hand_recrop.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/holistic_landmark:hand_recrop.tflite up-to-date:
  bazel-bin/mediapipe/modules/holistic_landmark/hand_recrop.tflite
INFO: Elapsed time: 0.070s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/iris_landmark/iris_landmark.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/iris_landmark/iris_landmark.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/iris_landmark:iris_landmark.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/iris_landmark:iris_landmark.tflite up-to-date:
  bazel-bin/mediapipe/modules/iris_landmark/iris_landmark.tflite
INFO: Elapsed time: 0.069s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/palm_detection/palm_detection_full.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/palm_detection/palm_detection_full.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/palm_detection:palm_detection_full.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/palm_detection:palm_detection_full.tflite up-to-date:
  bazel-bin/mediapipe/modules/palm_detection/palm_detection_full.tflite
INFO: Elapsed time: 0.075s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/palm_detection/palm_detection_lite.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/palm_detection/palm_detection_lite.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/palm_detection:palm_detection_lite.tflite (1 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/palm_detection:palm_detection_lite.tflite up-to-date:
  bazel-bin/mediapipe/modules/palm_detection/palm_detection_lite.tflite
INFO: Elapsed time: 0.073s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/pose_detection/pose_detection.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/pose_detection/pose_detection.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/pose_detection:pose_detection.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/pose_detection:pose_detection.tflite up-to-date:
  bazel-bin/mediapipe/modules/pose_detection/pose_detection.tflite
INFO: Elapsed time: 0.077s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/pose_landmark/pose_landmark_full.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/pose_landmark/pose_landmark_full.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/pose_landmark:pose_landmark_full.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/pose_landmark:pose_landmark_full.tflite up-to-date:
  bazel-bin/mediapipe/modules/pose_landmark/pose_landmark_full.tflite
INFO: Elapsed time: 0.080s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/selfie_segmentation/selfie_segmentation.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/selfie_segmentation/selfie_segmentation.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/selfie_segmentation:selfie_segmentation.tflite (2 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/selfie_segmentation:selfie_segmentation.tflite up-to-date:
  bazel-bin/mediapipe/modules/selfie_segmentation/selfie_segmentation.tflite
INFO: Elapsed time: 0.075s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
downloading file: mediapipe/modules/selfie_segmentation/selfie_segmentation_landscape.tflite
Invoking:  ['bazel', 'build', 'mediapipe/modules/selfie_segmentation/selfie_segmentation_landscape.tflite']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //mediapipe/modules/selfie_segmentation:selfie_segmentation_landscape.tflite (1 packages loaded, 4 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/selfie_segmentation:selfie_segmentation_landscape.tflite up-to-date:
  bazel-bin/mediapipe/modules/selfie_segmentation/selfie_segmentation_landscape.tflite
INFO: Elapsed time: 0.076s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
generating binarypb: mediapipe/modules/face_detection/face_detection_short_range_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/face_detection/face_detection_short_range_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Build options --action_env, --compilation_mode, --copt, and 1 more have changed, discarding analysis cache.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_short_range_cpu (148 packages loaded, 5290 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_detection:face_detection_short_range_cpu up-to-date:
  bazel-bin/mediapipe/modules/face_detection/libface_detection_short_range_cpu.lo
  bazel-bin/mediapipe/modules/face_detection/libface_detection_short_range_cpu.pic.lo
  bazel-bin/mediapipe/modules/face_detection/libface_detection_short_range_cpu.so
INFO: Elapsed time: 179.450s, Critical Path: 177.90s
INFO: 186 processes: 1 internal, 185 processwrapper-sandbox.
INFO: Build completed successfully, 186 total actions
generating binarypb: mediapipe/modules/face_detection/face_detection_full_range_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/face_detection/face_detection_full_range_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/face_detection:face_detection_full_range_cpu (0 packages loaded, 27 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_detection:face_detection_full_range_cpu up-to-date:
  bazel-bin/mediapipe/modules/face_detection/libface_detection_full_range_cpu.lo
  bazel-bin/mediapipe/modules/face_detection/libface_detection_full_range_cpu.pic.lo
  bazel-bin/mediapipe/modules/face_detection/libface_detection_full_range_cpu.so
INFO: Elapsed time: 3.492s, Critical Path: 3.32s
INFO: 24 processes: 12 internal, 12 processwrapper-sandbox.
INFO: Build completed successfully, 24 total actions
generating binarypb: mediapipe/modules/face_landmark/face_landmark_front_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/face_landmark/face_landmark_front_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/face_landmark:face_landmark_front_cpu (9 packages loaded, 632 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/face_landmark:face_landmark_front_cpu up-to-date:
  bazel-bin/mediapipe/modules/face_landmark/libface_landmark_front_cpu.lo
  bazel-bin/mediapipe/modules/face_landmark/libface_landmark_front_cpu.pic.lo
  bazel-bin/mediapipe/modules/face_landmark/libface_landmark_front_cpu.so
INFO: Elapsed time: 61.157s, Critical Path: 60.86s
INFO: 216 processes: 32 internal, 184 processwrapper-sandbox.
INFO: Build completed successfully, 216 total actions
generating binarypb: mediapipe/modules/hand_landmark/hand_landmark_tracking_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/hand_landmark/hand_landmark_tracking_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/hand_landmark:hand_landmark_tracking_cpu (3 packages loaded, 161 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/hand_landmark:hand_landmark_tracking_cpu up-to-date:
  bazel-bin/mediapipe/modules/hand_landmark/libhand_landmark_tracking_cpu.lo
  bazel-bin/mediapipe/modules/hand_landmark/libhand_landmark_tracking_cpu.pic.lo
  bazel-bin/mediapipe/modules/hand_landmark/libhand_landmark_tracking_cpu.so
INFO: Elapsed time: 9.988s, Critical Path: 9.78s
INFO: 83 processes: 32 internal, 51 processwrapper-sandbox.
INFO: Build completed successfully, 83 total actions
generating binarypb: mediapipe/modules/holistic_landmark/holistic_landmark_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/holistic_landmark/holistic_landmark_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/holistic_landmark:holistic_landmark_cpu (5 packages loaded, 584 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/holistic_landmark:holistic_landmark_cpu up-to-date:
  bazel-bin/mediapipe/modules/holistic_landmark/libholistic_landmark_cpu.lo
  bazel-bin/mediapipe/modules/holistic_landmark/libholistic_landmark_cpu.pic.lo
  bazel-bin/mediapipe/modules/holistic_landmark/libholistic_landmark_cpu.so
INFO: Elapsed time: 37.526s, Critical Path: 38.40s
INFO: 267 processes: 100 internal, 167 processwrapper-sandbox.
INFO: Build completed successfully, 267 total actions
generating binarypb: mediapipe/modules/objectron/objectron_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/objectron/objectron_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/objectron:objectron_cpu (2 packages loaded, 153 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/objectron:objectron_cpu up-to-date:
  bazel-bin/mediapipe/modules/objectron/libobjectron_cpu.lo
  bazel-bin/mediapipe/modules/objectron/libobjectron_cpu.pic.lo
  bazel-bin/mediapipe/modules/objectron/libobjectron_cpu.so
INFO: Elapsed time: 16.516s, Critical Path: 15.11s
INFO: 74 processes: 16 internal, 58 processwrapper-sandbox.
INFO: Build completed successfully, 74 total actions
generating binarypb: mediapipe/modules/pose_landmark/pose_landmark_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/pose_landmark/pose_landmark_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/pose_landmark:pose_landmark_cpu (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/pose_landmark:pose_landmark_cpu up-to-date:
  bazel-bin/mediapipe/modules/pose_landmark/libpose_landmark_cpu.lo
  bazel-bin/mediapipe/modules/pose_landmark/libpose_landmark_cpu.pic.lo
  bazel-bin/mediapipe/modules/pose_landmark/libpose_landmark_cpu.so
INFO: Elapsed time: 2.730s, Critical Path: 2.57s
INFO: 8 processes: 4 internal, 4 processwrapper-sandbox.
INFO: Build completed successfully, 8 total actions
generating binarypb: mediapipe/modules/selfie_segmentation/selfie_segmentation_cpu
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', 'mediapipe/modules/selfie_segmentation/selfie_segmentation_cpu', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
INFO: Analyzed target //mediapipe/modules/selfie_segmentation:selfie_segmentation_cpu (1 packages loaded, 27 targets configured).
INFO: Found 1 target...
Target //mediapipe/modules/selfie_segmentation:selfie_segmentation_cpu up-to-date:
  bazel-bin/mediapipe/modules/selfie_segmentation/libselfie_segmentation_cpu.lo
  bazel-bin/mediapipe/modules/selfie_segmentation/libselfie_segmentation_cpu.pic.lo
  bazel-bin/mediapipe/modules/selfie_segmentation/libselfie_segmentation_cpu.so
INFO: Elapsed time: 3.118s, Critical Path: 2.94s
INFO: 24 processes: 12 internal, 12 processwrapper-sandbox.
INFO: Build completed successfully, 24 total actions
running build_ext
Invoking:  ['bazel', 'build', '--compilation_mode=opt', '--copt=-DNDEBUG', '--action_env=PYTHON_BIN_PATH=/usr/bin/python3', '//mediapipe/python:_framework_bindings.so', '--define=MEDIAPIPE_DISABLE_GPU=1']
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/07f49bf4753f24e1fc976ac5a9b8928f5b50021a.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/7d879c8b161085a4374ea481b93a52adb19c0529.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: /mediapipe/mediapipe/framework/BUILD:56:24: in cc_library rule //mediapipe/framework:calculator_cc_proto: target '//mediapipe/framework:calculator_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
WARNING: /mediapipe/mediapipe/framework/tool/BUILD:197:24: in cc_library rule //mediapipe/framework/tool:field_data_cc_proto: target '//mediapipe/framework/tool:field_data_cc_proto' depends on deprecated target '@com_google_protobuf//:cc_wkt_protos': Only for backward compatibility. Do not use.
DEBUG: Rule 'pffft' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "20f48fbbd5737d9a7db419f216c8d01ec8fdead48442c04774425a4c6b8b3949"
DEBUG: Repository pffft instantiated at:
  /mediapipe/WORKSPACE:221:13: in <toplevel>
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/4884d566396e9b67b62185751879ad14/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
INFO: Analyzed target //mediapipe/python:_framework_bindings.so (86 packages loaded, 1384 targets configured).
INFO: Found 1 target...
INFO: From Generating flatbuffer files for metadata_schema_cc_srcs: //mediapipe/tasks/metadata:metadata_schema_cc_srcs:

warning:
  /mediapipe/mediapipe/tasks/metadata/metadata_schema.fbs:486: 21: warning: field names should be lowercase snake_case, got: sentencePiece_model

ERROR: /mediapipe/mediapipe/tasks/cc/metadata/BUILD:14:11: Compiling mediapipe/tasks/cc/metadata/metadata_extractor.cc failed: (Exit 1): gcc failed: error executing command (from target //mediapipe/tasks/cc/metadata:metadata_extractor) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 72 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from mediapipe/tasks/cc/metadata/metadata_extractor.cc:29:
bazel-out/k8-opt/bin/mediapipe/tasks/cc/metadata/metadata_parser.h:24:50: error: missing terminating " character
 inline constexpr char kMetadataParserVersion[] = "1.5.0 ";
                                                  ^~~~~~
bazel-out/k8-opt/bin/mediapipe/tasks/cc/metadata/metadata_parser.h:25:1: error: missing terminating " character

 ^
bazel-out/k8-opt/bin/mediapipe/tasks/cc/metadata/metadata_parser.h:27:1: error: expected primary-expression before '}' token
 }  // namespace tasks
 ^
Target //mediapipe/python:_framework_bindings.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 204.640s, Critical Path: 129.69s
INFO: 286 processes: 134 internal, 152 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
root@b7837356d220:/mediapipe#
SiriratL commented 1 year ago

sorry I miss some commands. Below is the command I run;

git clone --depth 1 https://github.com/google/mediapipe.git cd mediapipe docker build --tag=mediapipe . docker run -it --name mediapipe mediapipe:latest apt install nodejs npm npm install -g @bazel/bazelisk sed $'s/\r$//' .bazelversion > .bazelversion GLOG_logtostderr=1 bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world apt install python3-dev pip3 install -r requirements.txt apt update apt-get install -y protobuf-compiler apt install libopencv-dev

Got error > Edit file "detection_postprocessing_graph_options.proto"

delete "optional"

ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2 python3 setup.py install --link-opencv

kuaashish commented 1 year ago

@SiriratL,

Could you please let us know the complete step you have followed from the documentation to understand the issue better from our end?

github-actions[bot] commented 1 year ago

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 1 year ago

This issue was closed due to lack of activity after being marked stale for past 7 days.

google-ml-butler[bot] commented 1 year ago

Are you satisfied with the resolution of your issue? Yes No