Internal change

PiperOrigin-RevId: 528517562
This commit is contained in:
Yuqi Li
2023-05-01 11:01:23 -07:00
committed by Copybara-Service
parent cab619f8da
commit 085f8265fb
7 changed files with 303 additions and 0 deletions
+4
View File
@@ -32,8 +32,10 @@ mediapipe_files(srcs = [
"deeplabv3_with_activation.json",
"deeplabv3_without_labels.json",
"deeplabv3_without_metadata.tflite",
"dummy_face_stylizer.tflite",
"efficientdet_lite0_fp16_no_nms.tflite",
"efficientdet_lite0_v1.tflite",
"face_stylizer.json",
"labelmap.txt",
"mobile_ica_8bit-with-custom-metadata.tflite",
"mobile_ica_8bit-with-large-min-parser-version.tflite",
@@ -96,6 +98,7 @@ filegroup(
"bert_text_classifier_no_metadata.tflite",
"coco_ssd_mobilenet_v1_1.0_quant_2018_06_29_no_metadata.tflite",
"deeplabv3_without_metadata.tflite",
"dummy_face_stylizer.tflite",
"efficientdet_lite0_fp16_no_nms.tflite",
"efficientdet_lite0_v1.tflite",
"mobile_ica_8bit-with-custom-metadata.tflite",
@@ -132,6 +135,7 @@ filegroup(
"efficientdet_lite0_fp16_no_nms_anchors.csv",
"efficientdet_lite0_v1.json",
"external_file",
"face_stylizer.json",
"feature_tensor_meta.json",
"general_meta.json",
"golden_json.json",
+47
View File
@@ -0,0 +1,47 @@
{
"name": "FaceStylizer",
"description": "Performs face stylization on images.",
"subgraph_metadata": [
{
"input_tensor_metadata": [
{
"name": "image",
"description": "Input image to be processed.",
"content": {
"content_properties_type": "ImageProperties",
"content_properties": {
"color_space": "RGB"
}
},
"process_units": [
{
"options_type": "NormalizationOptions",
"options": {
"mean": [
0.0
],
"std": [
255.0
]
}
}
],
"stats": {
"max": [
1.0
],
"min": [
0.0
]
}
}
],
"output_tensor_metadata": [
{
"name": "PartitionedCall:0"
}
]
}
],
"min_parser_version": "1.0.0"
}