-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f2df5ca
Showing
4,502 changed files
with
881,393 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# The bazelrc file for MediaPipe OSS. | ||
|
||
# Tensorflow needs remote repo | ||
common --experimental_repo_remote_exec | ||
|
||
# Basic build settings | ||
build --jobs 128 | ||
build --define='absl=1' # for gtest | ||
build --enable_platform_specific_config | ||
|
||
# Enable stack traces | ||
test --test_env="GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" | ||
|
||
# Linux | ||
build:linux --cxxopt=-std=c++17 | ||
build:linux --host_cxxopt=-std=c++17 | ||
build:linux --copt=-w | ||
|
||
# windows | ||
build:windows --cxxopt=/std:c++17 | ||
build:windows --host_cxxopt=/std:c++17 | ||
build:windows --copt=/w | ||
# For using M_* math constants on Windows with MSVC. | ||
build:windows --copt=/D_USE_MATH_DEFINES | ||
build:windows --host_copt=/D_USE_MATH_DEFINES | ||
|
||
# macOS | ||
build:macos --cxxopt=-std=c++17 | ||
build:macos --host_cxxopt=-std=c++17 | ||
build:macos --copt=-w | ||
|
||
# Sets the default Apple platform to macOS. | ||
build --apple_platform_type=macos | ||
|
||
# Compile ObjC++ files with C++17 | ||
build --per_file_copt=.*\.mm\$@-std=c++17 | ||
|
||
# Allow debugging with XCODE | ||
build --apple_generate_dsym | ||
|
||
# Android configs. | ||
# Note: the documentation tells us to use @androidndk//:default_crosstool, but | ||
# the automatic configuration transition uses //external:android/crosstool. | ||
# Using it here works and spares us from having two different config_settings | ||
# for Android. | ||
build:android --crosstool_top=//external:android/crosstool | ||
build:android --host_crosstool_top=@bazel_tools//tools/cpp:toolchain | ||
build:android --linkopt=-landroid | ||
build:android --linkopt=-ldl | ||
build:android --linkopt=-llog | ||
build:android --linkopt=-lm | ||
build:android --linkopt=-Wl,--gc-sections | ||
# TODO: Remove this flag once we updated to NDK 25 | ||
build:android --define=xnn_enable_arm_i8mm=false | ||
|
||
build:android_arm --config=android | ||
build:android_arm --cpu=armeabi-v7a | ||
build:android_arm --fat_apk_cpu=armeabi-v7a | ||
|
||
build:android_arm64 --config=android | ||
build:android_arm64 --cpu=arm64-v8a | ||
build:android_arm64 --fat_apk_cpu=arm64-v8a | ||
|
||
# iOS configs. | ||
build:ios --apple_platform_type=ios | ||
build:ios --copt=-fno-aligned-allocation | ||
|
||
build:ios_i386 --config=ios | ||
build:ios_i386 --cpu=ios_i386 | ||
build:ios_i386 --watchos_cpus=i386 | ||
|
||
build:ios_x86_64 --config=ios | ||
build:ios_x86_64 --cpu=ios_x86_64 | ||
build:ios_x86_64 --watchos_cpus=i386 | ||
|
||
build:ios_armv7 --config=ios | ||
build:ios_armv7 --cpu=ios_armv7 | ||
build:ios_armv7 --watchos_cpus=armv7k | ||
|
||
build:ios_arm64 --config=ios | ||
build:ios_arm64 --cpu=ios_arm64 | ||
build:ios_arm64 --watchos_cpus=armv7k | ||
|
||
build:ios_arm64e --config=ios | ||
build:ios_arm64e --cpu=ios_arm64e | ||
build:ios_arm64e --watchos_cpus=armv7k | ||
|
||
build:ios_fat --config=ios | ||
build:ios_fat --ios_multi_cpus=armv7,arm64 | ||
build:ios_fat --watchos_cpus=armv7k | ||
|
||
build:ios_sim_fat --config=ios | ||
build:ios_sim_fat --ios_multi_cpus=x86_64,sim_arm64 | ||
|
||
build:ios_sim_device_fat --config=ios | ||
build:ios_sim_device_fat --ios_multi_cpus=x86_64,sim_arm64,arm64 | ||
|
||
build:darwin_x86_64 --apple_platform_type=macos | ||
build:darwin_x86_64 --macos_minimum_os=10.12 | ||
build:darwin_x86_64 --cpu=darwin_x86_64 | ||
|
||
build:darwin_arm64 --apple_platform_type=macos | ||
build:darwin_arm64 --macos_minimum_os=10.16 | ||
build:darwin_arm64 --cpu=darwin_arm64 | ||
|
||
# Turn off maximum stdout size | ||
build --experimental_ui_max_stdouterr_bytes=-1 | ||
|
||
# This bazelrc file is meant to be written by a setup script. | ||
try-import %workspace%/.configure.bazelrc | ||
|
||
# This bazelrc file can be used for user-specific custom build settings. | ||
try-import %workspace%/.user.bazelrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.git | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Task Issue | ||
description: Use this template for assistance with using MediaPipe Tasks (developers.google.com/mediapipe/solutions) to deploy on-device ML solutions (e.g. gesture recognition etc.) on supported platforms | ||
labels: 'type:task' | ||
body: | ||
- type: markdown | ||
id: linkmodel | ||
attributes: | ||
value: Please make sure that this is a [Tasks](https://developers.google.com/mediapipe/solutions) issue. | ||
- type: dropdown | ||
id: customcode_model | ||
attributes: | ||
label: Have I written custom code (as opposed to using a stock example script provided in MediaPipe) | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: false | ||
- type: input | ||
id: os_model | ||
attributes: | ||
label: OS Platform and Distribution | ||
placeholder: e.g. Linux Ubuntu 16.04, Android 11, iOS 14.4 | ||
validations: | ||
required: true | ||
- type: input | ||
id: task-sdk-version | ||
attributes: | ||
label: MediaPipe Tasks SDK version | ||
validations: | ||
required: false | ||
- type: input | ||
id: taskname | ||
attributes: | ||
label: Task name (e.g. Image classification, Gesture recognition etc.) | ||
validations: | ||
required: true | ||
- type: input | ||
id: programminglang | ||
attributes: | ||
label: Programming Language and version (e.g. C++, Python, Java) | ||
validations: | ||
required: true | ||
- type: input | ||
id: current_model | ||
attributes: | ||
label: Describe the actual behavior | ||
validations: | ||
required: true | ||
- type: input | ||
id: expected_model | ||
attributes: | ||
label: Describe the expected behaviour | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: what-happened_model | ||
attributes: | ||
label: Standalone code/steps you may have used to try to get what you need | ||
description: If there is a problem, provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab, GitHub repo link or anything that we can use to reproduce the problem | ||
render: shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: other_info | ||
attributes: | ||
label: Other info / Complete Logs | ||
description: Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached | ||
render: shell | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Model Maker Issues | ||
description: Use this template for assistance with using MediaPipe Model Maker (developers.google.com/mediapipe/solutions) to create custom on-device ML solutions. | ||
labels: 'type:modelmaker' | ||
body: | ||
- type: markdown | ||
id: linkmodel | ||
attributes: | ||
value: Please make sure that this is a [Model Maker](https://developers.google.com/mediapipe/solutions) issue | ||
- type: dropdown | ||
id: customcode_model | ||
attributes: | ||
label: Have I written custom code (as opposed to using a stock example script provided in MediaPipe) | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: false | ||
- type: input | ||
id: os_model | ||
attributes: | ||
label: OS Platform and Distribution | ||
placeholder: e.g. Linux Ubuntu 16.04, Android 11, iOS 14.4 | ||
validations: | ||
required: true | ||
- type: input | ||
id: pythonver | ||
attributes: | ||
label: Python Version | ||
placeholder: e.g. 3.7, 3.8 | ||
validations: | ||
required: true | ||
- type: input | ||
id: modelmakerver | ||
attributes: | ||
label: MediaPipe Model Maker version | ||
validations: | ||
required: false | ||
- type: input | ||
id: taskname | ||
attributes: | ||
label: Task name (e.g. Image classification, Gesture recognition etc.) | ||
validations: | ||
required: true | ||
- type: input | ||
id: current_model | ||
attributes: | ||
label: Describe the actual behavior | ||
validations: | ||
required: true | ||
- type: input | ||
id: expected_model | ||
attributes: | ||
label: Describe the expected behaviour | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: what-happened_model | ||
attributes: | ||
label: Standalone code/steps you may have used to try to get what you need | ||
description: If there is a problem, provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab, GitHub repo link or anything that we can use to reproduce the problem | ||
render: shell | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: other_info | ||
attributes: | ||
label: Other info / Complete Logs | ||
description: Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached | ||
render: shell | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Studio Issues | ||
description: Use this template for assistance with the MediaPipe Studio application. If this doesn’t look right, choose a different type. | ||
labels: 'type:support' | ||
body: | ||
- type: markdown | ||
id: linkmodel | ||
attributes: | ||
value: Please make sure that this is a MediaPipe Studio issue. | ||
- type: input | ||
id: os_model | ||
attributes: | ||
label: OS Platform and Distribution | ||
placeholder: e.g. Linux Ubuntu 16.04, Android 11, iOS 14.4 | ||
validations: | ||
required: false | ||
- type: input | ||
id: browserver | ||
attributes: | ||
label: Browser and Version | ||
validations: | ||
required: false | ||
- type: input | ||
id: hardware | ||
attributes: | ||
label: Any microphone or camera hardware | ||
validations: | ||
required: false | ||
- type: input | ||
id: url | ||
attributes: | ||
label: URL that shows the problem | ||
validations: | ||
required: false | ||
- type: input | ||
id: current_model | ||
attributes: | ||
label: Describe the actual behavior | ||
validations: | ||
required: false | ||
- type: input | ||
id: expected_model | ||
attributes: | ||
label: Describe the expected behaviour | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: what-happened_model | ||
attributes: | ||
label: Standalone code/steps you may have used to try to get what you need | ||
description: If there is a problem, provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab, GitHub repo link or anything that we can use to reproduce the problem | ||
render: shell | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: other_info | ||
attributes: | ||
label: Other info / Complete Logs | ||
description: Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached | ||
render: shell | ||
validations: | ||
required: false |
60 changes: 60 additions & 0 deletions
60
.github/ISSUE_TEMPLATE/14-feature-request-issue-template.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Feature Request Issues | ||
description: Use this template for raising a feature request. If this doesn’t look right, choose a different type. | ||
labels: 'type:feature' | ||
body: | ||
- type: markdown | ||
id: linkmodel | ||
attributes: | ||
value: Please make sure that this is a feature request. | ||
- type: input | ||
id: solution | ||
attributes: | ||
label: MediaPipe Solution (you are using) | ||
validations: | ||
required: false | ||
- type: input | ||
id: pgmlang | ||
attributes: | ||
label: Programming language | ||
placeholder: C++/typescript/Python/Objective C/Android Java | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: willingcon | ||
attributes: | ||
label: Are you willing to contribute it | ||
options: | ||
- 'Yes' | ||
- 'No' | ||
validations: | ||
required: false | ||
- type: input | ||
id: behaviour | ||
attributes: | ||
label: Describe the feature and the current behaviour/state | ||
validations: | ||
required: true | ||
- type: input | ||
id: api_change | ||
attributes: | ||
label: Will this change the current API? How? | ||
validations: | ||
required: false | ||
- type: input | ||
id: benifit | ||
attributes: | ||
label: Who will benefit with this feature? | ||
validations: | ||
required: false | ||
- type: input | ||
id: use_case | ||
attributes: | ||
label: Please specify the use cases for this feature | ||
validations: | ||
required: true | ||
- type: input | ||
id: info_other | ||
attributes: | ||
label: Any Other info | ||
validations: | ||
required: false |
Oops, something went wrong.