Project import generated by Copybara.
PiperOrigin-RevId: 267280553
This commit is contained in:
@@ -291,11 +291,8 @@ REGION_TIMESTAMP_KEY = "region/timestamp"
|
||||
# If regions are aligned to image frames, this field preserves the original
|
||||
# timestamps.
|
||||
REGION_UNMODIFIED_TIMESTAMP_KEY = "region/unmodified_timestamp"
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
# The list of region parts expected in this example.
|
||||
REGION_PARTS_KEY = "region/parts"
|
||||
>>>>>>> Project import generated by Copybara.
|
||||
# The dimensions of each embedding per region / bounding box.
|
||||
REGION_EMBEDDING_DIMENSIONS_PER_REGION_KEY = (
|
||||
"region/embedding/dimensions_per_region")
|
||||
@@ -366,12 +363,9 @@ def _create_region_with_prefix(name, prefix):
|
||||
prefix=prefix, module_dict=globals())
|
||||
msu.create_float_list_feature_list(name + "_point_y", REGION_POINT_Y_KEY,
|
||||
prefix=prefix, module_dict=globals())
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
msu.create_bytes_list_context_feature(name + "_parts",
|
||||
REGION_PARTS_KEY,
|
||||
prefix=prefix, module_dict=globals())
|
||||
>>>>>>> Project import generated by Copybara.
|
||||
msu.create_float_list_context_feature(
|
||||
name + "_embedding_dimensions_per_region",
|
||||
REGION_EMBEDDING_DIMENSIONS_PER_REGION_KEY,
|
||||
@@ -462,11 +456,8 @@ IMAGE_TIMESTAMP_KEY = "image/timestamp"
|
||||
IMAGE_LABEL_INDEX_KEY = "image/label/index"
|
||||
IMAGE_LABEL_STRING_KEY = "image/label/string"
|
||||
IMAGE_LABEL_CONFIDENCE_KEY = "image/label/confidence"
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
# The path of the image file if it did not come from a media clip.
|
||||
IMAGE_DATA_PATH_KEY = "image/data_path"
|
||||
>>>>>>> Project import generated by Copybara.
|
||||
|
||||
|
||||
def _create_image_with_prefix(name, prefix):
|
||||
@@ -494,11 +485,8 @@ def _create_image_with_prefix(name, prefix):
|
||||
msu.create_int_list_context_feature(
|
||||
name + "_object_class_index", IMAGE_OBJECT_CLASS_INDEX_KEY,
|
||||
prefix=prefix, module_dict=globals())
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
msu.create_bytes_context_feature(name + "_data_path", IMAGE_DATA_PATH_KEY,
|
||||
prefix=prefix, module_dict=globals())
|
||||
>>>>>>> Project import generated by Copybara.
|
||||
msu.create_int_feature_list(name + "_timestamp", IMAGE_TIMESTAMP_KEY,
|
||||
prefix=prefix, module_dict=globals())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user