diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index ce99d443..2a541d38 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -3,9 +3,9 @@ name: build-docker on: push: branches: - - 'master' + - "master" tags: - - '*' + - "*" env: REGISTRY: ghcr.io @@ -13,7 +13,7 @@ env: jobs: build-and-push-image: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: contents: read packages: write diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f1e66963..93716ef3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,24 +2,24 @@ name: coverage on: pull_request: branches: - - 'master' + - "master" push: branches: - - 'master' + - "master" jobs: code-coverage: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: ENVIRONMENT: TEST_RUNNER - OS: ubuntu-20.04 - PYTHON: '3.9' + OS: ubuntu-22.04 + PYTHON: "3.9" COVERAGE_TOTAL: 49 # Coverage threshold percentage steps: - name: Checkout (admin token) if: ${{github.event_name != 'pull_request'}} # We don't want to use the admin token for PR flows uses: actions/checkout@master with: - token: '${{ secrets.GIT_ADMIN_WORKFLOW_TOKEN }}' + token: "${{ secrets.GIT_ADMIN_WORKFLOW_TOKEN }}" fetch-depth: "2" # Original commit + code cov badge commit - name: Checkout (normal flow) if: ${{github.event_name == 'pull_request'}} @@ -34,17 +34,16 @@ jobs: id: coverage-installer run: | python -m pip install --upgrade pip - pip install cython==0.29.21 numpy==1.23.2 sudo apt-get install jq - pip install -r requirements.txt - pip install -r requirements-dev.txt pip install coverage-badge + make develop - name: Run tests and calculate coverage id: test-runner run: | coverage run -m pytest coverage-badge -f -o docs/coverage.svg - COVERAGE_SCORE=$(coverage json -o /dev/stdout | jq .totals.percent_covered) + coverage json + COVERAGE_SCORE=$(jq '.totals.percent_covered' coverage.json) echo "::set-output name=coverageScore::$COVERAGE_SCORE" - name: Verify Changed files uses: tj-actions/verify-changed-files@v6 diff --git a/.github/workflows/doc-gen.yml b/.github/workflows/doc-gen.yml index 86591d91..9d3e487e 100644 --- a/.github/workflows/doc-gen.yml +++ b/.github/workflows/doc-gen.yml @@ -2,17 +2,17 @@ name: doc-gen on: push: branches: - - 'master' + - "master" pull_request: branches: - - 'master' + - "master" jobs: run: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: - OS: ubuntu-20.04 - PYTHON: '3.9' + OS: ubuntu-22.04 + PYTHON: "3.9" steps: - uses: actions/checkout@master with: @@ -26,7 +26,6 @@ jobs: - name: Setup requirements and run sphinx run: | python -m pip install --upgrade pip - pip install cython==0.29.21 numpy==1.23.2 pip install -r requirements.txt pip install -r requirements-dev.txt pip install -r docs/requirements-doc.txt @@ -39,4 +38,4 @@ jobs: with: branch: gh-pages folder: ./docs/build/html - commit-message: 'docs: update build documentation' + commit-message: "docs: update build documentation" diff --git a/.github/workflows/pre-merge.yml b/.github/workflows/pre-merge.yml index ec86054c..eb690382 100644 --- a/.github/workflows/pre-merge.yml +++ b/.github/workflows/pre-merge.yml @@ -9,7 +9,7 @@ on: jobs: pre-merge-tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: ENVIRONMENT: TEST_RUNNER steps: @@ -28,7 +28,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install cython==0.29.21 numpy==1.23.2 pip install -r requirements.txt pip install -r requirements-dev.txt - name: Lint all files with pre-commit diff --git a/.gitignore b/.gitignore index b8474638..8641402e 100644 --- a/.gitignore +++ b/.gitignore @@ -111,3 +111,13 @@ Pipfile Pipfile.lock \.vscode/ +*.ply + +*.pyi +*_pb2.py +*_pb2_grpc.py + +# Test data +tests/data/dgp/autolabel_root/ +tests/data/dgp/test_scene/scene_01/autolabels/ +tests/data/dgp/test_scene/scene_02/autolabels/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7226e98b..a6a91de4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,14 +61,21 @@ repos: hooks: - id: yapf # pre-commit requires that we split args at whitespce boundaries. - args: [ - --style, .style.yapf, - -i, - -e, '*pb2.py', - -e, '*pb2_grpc.py', - -e, '*eggs*.py', - -e, '*env*', - -e, 'build/*' - ] + args: + [ + --style, + .style.yapf, + -i, + -e, + "*pb2.py", + -e, + "*pb2_grpc.py", + -e, + "*eggs*.py", + -e, + "*env*", + -e, + "build/*", + ] exclude: '\w*pb2.py' additional_dependencies: [toml] diff --git a/Dockerfile b/Dockerfile index deb9e4df..fd3e1391 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM nvidia/cuda:11.2.2-devel-ubuntu20.04 +FROM nvidia/cuda:11.6.1-cudnn8-devel-ubuntu20.04 ARG python=3.9 -ENV PYTORCH_VERSION=1.8.1+cu111 -ENV TORCHVISION_VERSION=0.9.1+cu111 +ENV PYTORCH_VERSION=1.13.1+cu116 +ENV TORCHVISION_VERSION=0.14.1+cu116 ENV LC_ALL=C.UTF-8 ENV LANG=C.UTF-8 @@ -42,11 +42,13 @@ RUN pip install --no-cache-dir \ torchvision==${TORCHVISION_VERSION} \ -f https://download.pytorch.org/whl/${PYTORCH_VERSION/*+/}/torch_stable.html + # Install python dependencies ARG WORKSPACE=/home/dgp WORKDIR ${WORKSPACE} COPY requirements.txt requirements-dev.txt /tmp/ -RUN pip install --no-cache-dir cython==0.29.30 numpy==1.20.3 +# Install torch-compatible NumPy. +RUN pip install numpy==1.26.4 RUN pip install --no-cache-dir -r /tmp/requirements.txt RUN pip install --no-cache-dir -r /tmp/requirements-dev.txt diff --git a/MANIFEST.in b/MANIFEST.in index 994e56b1..1066c633 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ include README.md +include requirements.txt +include requirements-dev.txt include docs/* recursive-exclude * *.proto diff --git a/Makefile b/Makefile index fda0f752..f2d53b22 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Copyright 2019-2021 Toyota Research Institute. All rights reserved. -PYTHON ?= python3 +PYTHON_EXEC ?= python3 PACKAGE_NAME ?= dgp WORKSPACE ?= /home/$(PACKAGE_NAME) DOCKER_IMAGE_NAME ?= $(PACKAGE_NAME) @@ -36,14 +36,16 @@ DOCKER_USER_OPTS ?= $(DOCKER_COMMON_OPTS) \ UNITTEST ?= pytest UNITTEST_OPTS ?= -v +.PHONY: clean build develop + all: clean test -build-proto: + +build: PYTHONPATH=$(PWD):$(PYTHONPATH) \ - $(PYTHON) setup.py build_py + DGP_DEV_VERSION=$(DEV_VERSION) $(PYTHON_EXEC) setup.py bdist_wheel clean: - $(PYTHON) setup.py clean && \ rm -rf build dist && \ find . -name "*.pyc" | xargs rm -f && \ find . -name "__pycache__" | xargs rm -rf @@ -51,26 +53,25 @@ clean: find dgp/proto -name "*_grpc.py" | xargs rm -rf find dgp/proto -name "*_pb2.py" | xargs rm -rf find dgp/contribs/pd -name "*_pb2.py" | xargs rm -rf + find . -name "*eggs" | xargs rm -rf & + $(PYTHON_EXEC) setup.py clean develop: - pip install cython==0.29.30 numpy==1.20.3 grpcio==1.41.0 grpcio-tools==1.41.0 - pip install --editable . + DGP_DEV_VERSION=$(DEV_VERSION) $(PYTHON_EXEC) -m pip install --editable ".[dev]" docker-build: docker build \ --build-arg WORKSPACE=$(WORKSPACE) \ -t $(DOCKER_IMAGE) . -docker-exec: +docker-exec: docker-build docker exec -it $(DOCKER_IMAGE_NAME) $(COMMAND) -docker-run-tests: build-proto - docker run \ - --name $(DOCKER_IMAGE_NAME)-tests \ - $(DOCKER_ROOT_OPTS) $(DOCKER_IMAGE) \ - $(UNITTEST) $(UNITTTEST_OPTS) $(WORKSPACE)/tests +docker-run-tests: docker-build + docker run --name $(DOCKER_IMAGE_NAME)-tests $(DOCKER_ROOT_OPTS) $(DOCKER_IMAGE) make test + -docker-start-interactive: +docker-start-interactive: docker-build docker run \ $(DOCKER_USER_OPTS) \ $(DOCKER_IMAGE) \ @@ -83,9 +84,9 @@ setup-linters: pre-commit install pre-commit install --hook-type commit-msg -test: build-proto +test: develop PYTHONPATH=$(PWD):$(PYTHONPATH) \ - $(UNITTEST) $(UNITTEST_OPTS) $(PWD)/tests/ + $(UNITTEST) $(UNITTEST_OPTS) $(PWD)/tests/ -vv unlink-githooks: unlink .git/hooks/pre-push && unlink .git/hooks/pre-commit diff --git a/README.md b/README.md index 3f5f1163..bf4db1c5 100644 --- a/README.md +++ b/README.md @@ -62,11 +62,34 @@ You can build the base docker image and run the tests within [docker container](docs/GETTING_STARTED.md#markdown-header-develop-within-docker) via: -```sh +```shell make docker-build make docker-run-tests ``` +Build the Python wheel. + +```shell +make build +``` + +For setup local developement. + +```shell +make develop +``` + +Runing the test using local development environment. + +```shell +make test +``` + +## Versioning + +This repository adheres to [PEP 440](https://peps.python.org/pep-0440/) for +versioning. + ## Contributing We appreciate all contributions to DGP! To learn more about making a diff --git a/build_proto.py b/build_proto.py new file mode 100644 index 00000000..4d9dece8 --- /dev/null +++ b/build_proto.py @@ -0,0 +1,16 @@ +import os +import subprocess +from pathlib import Path + +_ROOT_DIRPATH = Path(__file__).parent.absolute() + + +def build_proto(proto_version: str): + assert proto_version in {"proto3", "proto4"}, "Unsupported proto version." + from grpc_tools import command + command.build_package_protos(_ROOT_DIRPATH) + + +if __name__ == "__main__": + proto_version = os.getenv("PROTO_VERSION", "proto3") + build_proto(proto_version) diff --git a/dgp/__init__.py b/dgp/__init__.py index dc528605..241fab8f 100644 --- a/dgp/__init__.py +++ b/dgp/__init__.py @@ -1,52 +1,51 @@ # Copyright 2021-2022 Toyota Research Institute. All rights reserved. import os -from collections import OrderedDict -__version__ = '1.0' +__version__ = "1.6.0" -DGP_PATH = os.getenv('DGP_PATH', default=os.getenv('HOME', os.getcwd())) -DGP_DATA_DIR = os.path.join(DGP_PATH, '.dgp') -DGP_CACHE_DIR = os.path.join(DGP_DATA_DIR, 'cache') -DGP_DATASETS_CACHE_DIR = os.path.join(DGP_DATA_DIR, 'datasets') +DGP_PATH = os.getenv("DGP_PATH", default=os.getenv("HOME", os.getcwd())) +DGP_DATA_DIR = os.path.join(DGP_PATH, ".dgp") +DGP_CACHE_DIR = os.path.join(DGP_DATA_DIR, "cache") +DGP_DATASETS_CACHE_DIR = os.path.join(DGP_DATA_DIR, "datasets") TRI_DGP_FOLDER_PREFIX = "dgp/" TRI_RAW_FOLDER_PREFIX = "raw/" TRI_DGP_JSON_PREFIX = "dataset_v" # DGP Directory structure constants -RGB_FOLDER = 'rgb' -POINT_CLOUD_FOLDER = 'point_cloud' +RGB_FOLDER = "rgb" +POINT_CLOUD_FOLDER = "point_cloud" RADAR_POINT_CLOUD_FOLDER = "radar_point_cloud" -BOUNDING_BOX_2D_FOLDER = 'bounding_box_2d' -BOUNDING_BOX_3D_FOLDER = 'bounding_box_3d' -SEMANTIC_SEGMENTATION_2D_FOLDER = 'semantic_segmentation_2d' -SEMANTIC_SEGMENTATION_3D_FOLDER = 'semantic_segmentation_3d' -INSTANCE_SEGMENTATION_2D_FOLDER = 'instance_segmentation_2d' -INSTANCE_SEGMENTATION_3D_FOLDER = 'instance_segmentation_3d' -DEPTH_FOLDER = 'depth' +BOUNDING_BOX_2D_FOLDER = "bounding_box_2d" +BOUNDING_BOX_3D_FOLDER = "bounding_box_3d" +SEMANTIC_SEGMENTATION_2D_FOLDER = "semantic_segmentation_2d" +SEMANTIC_SEGMENTATION_3D_FOLDER = "semantic_segmentation_3d" +INSTANCE_SEGMENTATION_2D_FOLDER = "instance_segmentation_2d" +INSTANCE_SEGMENTATION_3D_FOLDER = "instance_segmentation_3d" +DEPTH_FOLDER = "depth" EXTRA_DATA_FOLDER = "extra_data" FEATURE_ONTOLOGY_FOLDER = "feature_ontology" AGENT_FOLDER = "agent" CLASSIFICATION_FOLDER = "classification" # Scene Directory structure constants -CALIBRATION_FOLDER = 'calibration' -ONTOLOGY_FOLDER = 'ontology' -SCENE_JSON_FILENAME = 'scene.json' +CALIBRATION_FOLDER = "calibration" +ONTOLOGY_FOLDER = "ontology" +SCENE_JSON_FILENAME = "scene.json" # DGP file naming conventions TRI_DGP_SCENE_DATASET_JSON_NAME = "scene_dataset_v{version}.json" TRI_DGP_SCENE_JSON_NAME = "scene_{scene_hash}.json" -ANNOTATION_FILE_NAME = '{image_content_hash}_{annotation_content_hash}.json' +ANNOTATION_FILE_NAME = "{image_content_hash}_{annotation_content_hash}.json" # DGP file naming conventions TRI_DGP_SCENE_DATASET_JSON_NAME = "scene_dataset_v{version}.json" TRI_DGP_AGENT_TRACKS_JSON_NAME = "agent_tracks_{track_hash}.json" TRI_DGP_SCENE_JSON_NAME = "scene_{scene_hash}.json" -ANNOTATION_FILE_NAME = '{image_content_hash}_{annotation_content_hash}.json' +ANNOTATION_FILE_NAME = "{image_content_hash}_{annotation_content_hash}.json" TRI_DGP_AGENTS_JSON_NAME = "agents_{agent_hash}.json" TRI_DGP_AGENTS_SLICES_JSON_NAME = "agents_slices_{slice_hash}.json" # Autolabel constants -AUTOLABEL_FOLDER = 'autolabels' -AUTOLABEL_SCENE_JSON_NAME = 'scene.json' \ No newline at end of file +AUTOLABEL_FOLDER = "autolabels" +AUTOLABEL_SCENE_JSON_NAME = "scene.json" diff --git a/dgp/contribs/dgp2wicker/requirements.txt b/dgp/contribs/dgp2wicker/requirements.txt index b5e04df4..5055502a 100644 --- a/dgp/contribs/dgp2wicker/requirements.txt +++ b/dgp/contribs/dgp2wicker/requirements.txt @@ -1,2 +1,2 @@ wicker[spark] -retry \ No newline at end of file +retry diff --git a/dgp/contribs/dgp2wicker/setup.py b/dgp/contribs/dgp2wicker/setup.py index 3f991269..55164482 100644 --- a/dgp/contribs/dgp2wicker/setup.py +++ b/dgp/contribs/dgp2wicker/setup.py @@ -19,35 +19,34 @@ def run(self): develop.run(self) -__version__ = importlib.import_module('dgp2wicker').__version__ +__version__ = importlib.import_module("dgp2wicker").__version__ -with open('requirements.txt', 'r', encoding='utf-8') as f: +with open("requirements.txt", "r", encoding="utf-8") as f: requirements = f.read().splitlines() -with open('README.md', 'r', encoding='utf-8') as f: +with open("README.md", "r", encoding="utf-8") as f: readme = f.read() -packages = find_packages(exclude=['tests']) +packages = find_packages(exclude=["tests"]) setup( name="dgp2wicker", version=__version__, description="Tools to convert TRI's DGP to L5's Wicker format.", long_description=readme, - long_description_content_type='text/markdown', + long_description_content_type="text/markdown", author="Chris Ochoa, Kuan Lee", - author_email='charles.ochoa@woven-planet.global, kuan-hui.lee@woven-planet.global', + author_email="charles.ochoa@woven-planet.global, kuan-hui.lee@woven-planet.global", url="https://github.com/TRI-ML/dgp/tree/master/dgp/contribs/dgp2wicker", packages=packages, - entry_points={'console_scripts': [ - 'dgp2wicker=dgp2wicker.cli:cli', + entry_points={"console_scripts": [ + "dgp2wicker=dgp2wicker.cli:cli", ]}, include_package_data=True, - setup_requires=['cython==0.29.21', 'grpcio==1.41.0', 'grpcio-tools==1.41.0'], install_requires=requirements, zip_safe=False, - python_requires='>=3.7', + python_requires=">=3.8", cmdclass={ - 'install': CustomInstallCommand, - 'develop': CustomDevelopCommand, - } + "install": CustomInstallCommand, + "develop": CustomDevelopCommand, + }, ) diff --git a/dgp/contribs/pd/metadata_pb2.py b/dgp/contribs/pd/metadata_pb2.py index ec82b5f0..ffcfcddf 100644 --- a/dgp/contribs/pd/metadata_pb2.py +++ b/dgp/contribs/pd/metadata_pb2.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: dgp/contribs/pd/metadata.proto +# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -14,365 +14,27 @@ -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/contribs/pd/metadata.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1e\x64gp/contribs/pd/metadata.proto\x12\tdgp.proto\"\x9e\x01\n\x1cParallelDomainSampleMetadata\x12K\n\nattributes\x18\x01 \x03(\x0b\x32\x37.dgp.proto.ParallelDomainSampleMetadata.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x03\n\x1bParallelDomainSceneMetadata\x12\x10\n\x08location\x18\x01 \x01(\t\x12*\n\x0bregion_type\x18\t \x01(\x0e\x32\x15.dgp.proto.RegionType\x12(\n\nscene_type\x18\n \x01(\x0e\x32\x14.dgp.proto.SceneType\x12\x13\n\x0btime_of_day\x18\x02 \x01(\t\x12\x15\n\rsun_elevation\x18\x0b \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x0c \x01(\x02\x12\x13\n\x0b\x63loud_cover\x18\r \x01(\x02\x12\x15\n\rfog_intensity\x18\x03 \x01(\x02\x12\x16\n\x0erain_intensity\x18\x04 \x01(\x02\x12\x0f\n\x07wetness\x18\x05 \x01(\x02\x12\x15\n\rstreet_lights\x18\x06 \x01(\x02\x12\x10\n\x08\x62\x61tch_id\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\r\x12J\n\nattributes\x18\x0e \x03(\x0b\x32\x36.dgp.proto.ParallelDomainSceneMetadata.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*F\n\tSceneType\x12\x13\n\x0fSYNTHETIC_SCENE\x10\x00\x12\t\n\x05URBAN\x10\x01\x12\x0c\n\x08SUBURBAN\x10\x02\x12\x0b\n\x07HIGHWAY\x10\x03*I\n\nRegionType\x12\x14\n\x10SYNTHETIC_REGION\x10\x00\x12\x17\n\x13NORTHERN_CALIFORNIA\x10\x01\x12\x0c\n\x08MICHIGAN\x10\x02\x62\x06proto3' -) - -_SCENETYPE = _descriptor.EnumDescriptor( - name='SceneType', - full_name='dgp.proto.SceneType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='SYNTHETIC_SCENE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='URBAN', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SUBURBAN', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='HIGHWAY', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=677, - serialized_end=747, -) -_sym_db.RegisterEnumDescriptor(_SCENETYPE) - -SceneType = enum_type_wrapper.EnumTypeWrapper(_SCENETYPE) -_REGIONTYPE = _descriptor.EnumDescriptor( - name='RegionType', - full_name='dgp.proto.RegionType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='SYNTHETIC_REGION', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NORTHERN_CALIFORNIA', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MICHIGAN', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=749, - serialized_end=822, -) -_sym_db.RegisterEnumDescriptor(_REGIONTYPE) - -RegionType = enum_type_wrapper.EnumTypeWrapper(_REGIONTYPE) -SYNTHETIC_SCENE = 0 -URBAN = 1 -SUBURBAN = 2 -HIGHWAY = 3 -SYNTHETIC_REGION = 0 -NORTHERN_CALIFORNIA = 1 -MICHIGAN = 2 - - - -_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.ParallelDomainSampleMetadata.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.ParallelDomainSampleMetadata.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.ParallelDomainSampleMetadata.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=155, - serialized_end=204, -) - -_PARALLELDOMAINSAMPLEMETADATA = _descriptor.Descriptor( - name='ParallelDomainSampleMetadata', - full_name='dgp.proto.ParallelDomainSampleMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.ParallelDomainSampleMetadata.attributes', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=46, - serialized_end=204, -) - - -_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.ParallelDomainSceneMetadata.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.ParallelDomainSceneMetadata.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.ParallelDomainSceneMetadata.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=155, - serialized_end=204, -) - -_PARALLELDOMAINSCENEMETADATA = _descriptor.Descriptor( - name='ParallelDomainSceneMetadata', - full_name='dgp.proto.ParallelDomainSceneMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='location', full_name='dgp.proto.ParallelDomainSceneMetadata.location', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='region_type', full_name='dgp.proto.ParallelDomainSceneMetadata.region_type', index=1, - number=9, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='scene_type', full_name='dgp.proto.ParallelDomainSceneMetadata.scene_type', index=2, - number=10, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_of_day', full_name='dgp.proto.ParallelDomainSceneMetadata.time_of_day', index=3, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sun_elevation', full_name='dgp.proto.ParallelDomainSceneMetadata.sun_elevation', index=4, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sun_azimuth', full_name='dgp.proto.ParallelDomainSceneMetadata.sun_azimuth', index=5, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cloud_cover', full_name='dgp.proto.ParallelDomainSceneMetadata.cloud_cover', index=6, - number=13, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fog_intensity', full_name='dgp.proto.ParallelDomainSceneMetadata.fog_intensity', index=7, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rain_intensity', full_name='dgp.proto.ParallelDomainSceneMetadata.rain_intensity', index=8, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='wetness', full_name='dgp.proto.ParallelDomainSceneMetadata.wetness', index=9, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='street_lights', full_name='dgp.proto.ParallelDomainSceneMetadata.street_lights', index=10, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='batch_id', full_name='dgp.proto.ParallelDomainSceneMetadata.batch_id', index=11, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='version', full_name='dgp.proto.ParallelDomainSceneMetadata.version', index=12, - number=8, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.ParallelDomainSceneMetadata.attributes', index=13, - number=14, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=207, - serialized_end=675, -) - -_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY.containing_type = _PARALLELDOMAINSAMPLEMETADATA -_PARALLELDOMAINSAMPLEMETADATA.fields_by_name['attributes'].message_type = _PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY -_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY.containing_type = _PARALLELDOMAINSCENEMETADATA -_PARALLELDOMAINSCENEMETADATA.fields_by_name['region_type'].enum_type = _REGIONTYPE -_PARALLELDOMAINSCENEMETADATA.fields_by_name['scene_type'].enum_type = _SCENETYPE -_PARALLELDOMAINSCENEMETADATA.fields_by_name['attributes'].message_type = _PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY -DESCRIPTOR.message_types_by_name['ParallelDomainSampleMetadata'] = _PARALLELDOMAINSAMPLEMETADATA -DESCRIPTOR.message_types_by_name['ParallelDomainSceneMetadata'] = _PARALLELDOMAINSCENEMETADATA -DESCRIPTOR.enum_types_by_name['SceneType'] = _SCENETYPE -DESCRIPTOR.enum_types_by_name['RegionType'] = _REGIONTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ParallelDomainSampleMetadata = _reflection.GeneratedProtocolMessageType('ParallelDomainSampleMetadata', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY, - '__module__' : 'dgp.contribs.pd.metadata_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ParallelDomainSampleMetadata.AttributesEntry) - }) - , - 'DESCRIPTOR' : _PARALLELDOMAINSAMPLEMETADATA, - '__module__' : 'dgp.contribs.pd.metadata_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ParallelDomainSampleMetadata) - }) -_sym_db.RegisterMessage(ParallelDomainSampleMetadata) -_sym_db.RegisterMessage(ParallelDomainSampleMetadata.AttributesEntry) - -ParallelDomainSceneMetadata = _reflection.GeneratedProtocolMessageType('ParallelDomainSceneMetadata', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY, - '__module__' : 'dgp.contribs.pd.metadata_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ParallelDomainSceneMetadata.AttributesEntry) - }) - , - 'DESCRIPTOR' : _PARALLELDOMAINSCENEMETADATA, - '__module__' : 'dgp.contribs.pd.metadata_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ParallelDomainSceneMetadata) - }) -_sym_db.RegisterMessage(ParallelDomainSceneMetadata) -_sym_db.RegisterMessage(ParallelDomainSceneMetadata.AttributesEntry) - - -_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY._options = None -_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY._options = None +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x64gp/contribs/pd/metadata.proto\x12\tdgp.proto\"\x9e\x01\n\x1cParallelDomainSampleMetadata\x12K\n\nattributes\x18\x01 \x03(\x0b\x32\x37.dgp.proto.ParallelDomainSampleMetadata.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x03\n\x1bParallelDomainSceneMetadata\x12\x10\n\x08location\x18\x01 \x01(\t\x12*\n\x0bregion_type\x18\t \x01(\x0e\x32\x15.dgp.proto.RegionType\x12(\n\nscene_type\x18\n \x01(\x0e\x32\x14.dgp.proto.SceneType\x12\x13\n\x0btime_of_day\x18\x02 \x01(\t\x12\x15\n\rsun_elevation\x18\x0b \x01(\x02\x12\x13\n\x0bsun_azimuth\x18\x0c \x01(\x02\x12\x13\n\x0b\x63loud_cover\x18\r \x01(\x02\x12\x15\n\rfog_intensity\x18\x03 \x01(\x02\x12\x16\n\x0erain_intensity\x18\x04 \x01(\x02\x12\x0f\n\x07wetness\x18\x05 \x01(\x02\x12\x15\n\rstreet_lights\x18\x06 \x01(\x02\x12\x10\n\x08\x62\x61tch_id\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\r\x12J\n\nattributes\x18\x0e \x03(\x0b\x32\x36.dgp.proto.ParallelDomainSceneMetadata.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*F\n\tSceneType\x12\x13\n\x0fSYNTHETIC_SCENE\x10\x00\x12\t\n\x05URBAN\x10\x01\x12\x0c\n\x08SUBURBAN\x10\x02\x12\x0b\n\x07HIGHWAY\x10\x03*I\n\nRegionType\x12\x14\n\x10SYNTHETIC_REGION\x10\x00\x12\x17\n\x13NORTHERN_CALIFORNIA\x10\x01\x12\x0c\n\x08MICHIGAN\x10\x02\x62\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dgp.contribs.pd.metadata_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + _globals['_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY']._options = None + _globals['_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY']._serialized_options = b'8\001' + _globals['_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY']._options = None + _globals['_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY']._serialized_options = b'8\001' + _globals['_SCENETYPE']._serialized_start=677 + _globals['_SCENETYPE']._serialized_end=747 + _globals['_REGIONTYPE']._serialized_start=749 + _globals['_REGIONTYPE']._serialized_end=822 + _globals['_PARALLELDOMAINSAMPLEMETADATA']._serialized_start=46 + _globals['_PARALLELDOMAINSAMPLEMETADATA']._serialized_end=204 + _globals['_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY']._serialized_start=155 + _globals['_PARALLELDOMAINSAMPLEMETADATA_ATTRIBUTESENTRY']._serialized_end=204 + _globals['_PARALLELDOMAINSCENEMETADATA']._serialized_start=207 + _globals['_PARALLELDOMAINSCENEMETADATA']._serialized_end=675 + _globals['_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY']._serialized_start=155 + _globals['_PARALLELDOMAINSCENEMETADATA_ATTRIBUTESENTRY']._serialized_end=204 # @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/agent_pb2.py b/dgp/proto/agent_pb2.py deleted file mode 100644 index d5007b64..00000000 --- a/dgp/proto/agent_pb2.py +++ /dev/null @@ -1,816 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/agent.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from dgp.proto import annotations_pb2 as dgp_dot_proto_dot_annotations__pb2 -from dgp.proto import identifiers_pb2 as dgp_dot_proto_dot_identifiers__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/agent.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x15\x64gp/proto/agent.proto\x12\tdgp.proto\x1a\x19google/protobuf/any.proto\x1a\x1b\x64gp/proto/annotations.proto\x1a\x1b\x64gp/proto/identifiers.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x01\n\x0f\x41gentSnapshot2D\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12%\n\x03\x62ox\x18\x02 \x01(\x0b\x32\x18.dgp.proto.BoundingBox2D\x12\x0c\n\x04\x61rea\x18\x03 \x01(\r\x12\x0f\n\x07iscrowd\x18\x04 \x01(\x08\x12\x13\n\x0binstance_id\x18\x05 \x01(\r\x12\x10\n\x08\x66\x65\x61tures\x18\x06 \x03(\t\x12\x14\n\x0c\x66\x65\x61ture_type\x18\x07 \x01(\r\"\x87\x01\n\x0f\x41gentSnapshot3D\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12%\n\x03\x62ox\x18\x02 \x01(\x0b\x32\x18.dgp.proto.BoundingBox3D\x12\x13\n\x0binstance_id\x18\x03 \x01(\r\x12\x10\n\x08\x66\x65\x61tures\x18\x04 \x03(\t\x12\x14\n\x0c\x66\x65\x61ture_type\x18\x05 \x01(\r\"\xf0\x01\n\rAgentSnapshot\x12\x37\n\x11\x61gent_snapshot_2D\x18\x01 \x01(\x0b\x32\x1a.dgp.proto.AgentSnapshot2DH\x00\x12\x37\n\x11\x61gent_snapshot_3D\x18\x02 \x01(\x0b\x32\x1a.dgp.proto.AgentSnapshot3DH\x00\x12$\n\x08slice_id\x18\x03 \x01(\x0b\x32\x12.dgp.proto.DatumId\x12/\n\x13raw_sensor_datum_id\x18\x04 \x01(\x0b\x32\x12.dgp.proto.DatumIdB\x16\n\x14\x61gent_snapshot_oneof\"f\n\x0b\x41gentsSlice\x12$\n\x08slice_id\x18\x01 \x01(\x0b\x32\x12.dgp.proto.DatumId\x12\x31\n\x0f\x61gent_snapshots\x18\x02 \x03(\x0b\x32\x18.dgp.proto.AgentSnapshot\"\xbd\x01\n\x0c\x41gentsSlices\x12-\n\ragents_slices\x18\x01 \x03(\x0b\x32\x16.dgp.proto.AgentsSlice\x12\x37\n\x08metadata\x18\x02 \x03(\x0b\x32%.dgp.proto.AgentsSlices.MetadataEntry\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\"\x8e\x01\n\nAgentTrack\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12\x13\n\x0binstance_id\x18\x02 \x01(\r\x12\x31\n\x0f\x61gent_snapshots\x18\x03 \x03(\x0b\x32\x18.dgp.proto.AgentSnapshot\x12&\n\x08metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\"\xb9\x01\n\x0b\x41gentTracks\x12+\n\x0c\x61gent_tracks\x18\x01 \x03(\x0b\x32\x15.dgp.proto.AgentTrack\x12\x36\n\x08metadata\x18\x02 \x03(\x0b\x32$.dgp.proto.AgentTracks.MetadataEntry\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\"\xa6\x04\n\nAgentGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\x1a\n\x12\x61gents_slices_file\x18\x04 \x01(\t\x12\x19\n\x11\x61gent_tracks_file\x18\x05 \x01(\t\x12\x35\n\x08metadata\x18\x06 \x03(\x0b\x32#.dgp.proto.AgentGroup.MetadataEntry\x12\x31\n\rcreation_date\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x12\x66\x65\x61ture_ontologies\x18\x08 \x03(\x0b\x32,.dgp.proto.AgentGroup.FeatureOntologiesEntry\x12\x44\n\x10\x61gent_ontologies\x18\t \x03(\x0b\x32*.dgp.proto.AgentGroup.AgentOntologiesEntry\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x1a\x38\n\x16\x46\x65\x61tureOntologiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x36\n\x14\x41gentOntologiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x62\x06proto3' - , - dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,dgp_dot_proto_dot_annotations__pb2.DESCRIPTOR,dgp_dot_proto_dot_identifiers__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) - - - - -_AGENTSNAPSHOT2D = _descriptor.Descriptor( - name='AgentSnapshot2D', - full_name='dgp.proto.AgentSnapshot2D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.AgentSnapshot2D.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='box', full_name='dgp.proto.AgentSnapshot2D.box', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='area', full_name='dgp.proto.AgentSnapshot2D.area', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='iscrowd', full_name='dgp.proto.AgentSnapshot2D.iscrowd', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='instance_id', full_name='dgp.proto.AgentSnapshot2D.instance_id', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='features', full_name='dgp.proto.AgentSnapshot2D.features', index=5, - number=6, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='feature_type', full_name='dgp.proto.AgentSnapshot2D.feature_type', index=6, - number=7, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=155, - serialized_end=321, -) - - -_AGENTSNAPSHOT3D = _descriptor.Descriptor( - name='AgentSnapshot3D', - full_name='dgp.proto.AgentSnapshot3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.AgentSnapshot3D.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='box', full_name='dgp.proto.AgentSnapshot3D.box', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='instance_id', full_name='dgp.proto.AgentSnapshot3D.instance_id', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='features', full_name='dgp.proto.AgentSnapshot3D.features', index=3, - number=4, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='feature_type', full_name='dgp.proto.AgentSnapshot3D.feature_type', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=324, - serialized_end=459, -) - - -_AGENTSNAPSHOT = _descriptor.Descriptor( - name='AgentSnapshot', - full_name='dgp.proto.AgentSnapshot', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='agent_snapshot_2D', full_name='dgp.proto.AgentSnapshot.agent_snapshot_2D', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agent_snapshot_3D', full_name='dgp.proto.AgentSnapshot.agent_snapshot_3D', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='slice_id', full_name='dgp.proto.AgentSnapshot.slice_id', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='raw_sensor_datum_id', full_name='dgp.proto.AgentSnapshot.raw_sensor_datum_id', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='agent_snapshot_oneof', full_name='dgp.proto.AgentSnapshot.agent_snapshot_oneof', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=462, - serialized_end=702, -) - - -_AGENTSSLICE = _descriptor.Descriptor( - name='AgentsSlice', - full_name='dgp.proto.AgentsSlice', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='slice_id', full_name='dgp.proto.AgentsSlice.slice_id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agent_snapshots', full_name='dgp.proto.AgentsSlice.agent_snapshots', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=704, - serialized_end=806, -) - - -_AGENTSSLICES_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.AgentsSlices.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.AgentsSlices.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.AgentsSlices.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=929, - serialized_end=998, -) - -_AGENTSSLICES = _descriptor.Descriptor( - name='AgentsSlices', - full_name='dgp.proto.AgentsSlices', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='agents_slices', full_name='dgp.proto.AgentsSlices.agents_slices', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.AgentsSlices.metadata', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_AGENTSSLICES_METADATAENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=809, - serialized_end=998, -) - - -_AGENTTRACK = _descriptor.Descriptor( - name='AgentTrack', - full_name='dgp.proto.AgentTrack', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.AgentTrack.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='instance_id', full_name='dgp.proto.AgentTrack.instance_id', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agent_snapshots', full_name='dgp.proto.AgentTrack.agent_snapshots', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.AgentTrack.metadata', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1001, - serialized_end=1143, -) - - -_AGENTTRACKS_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.AgentTracks.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.AgentTracks.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.AgentTracks.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=929, - serialized_end=998, -) - -_AGENTTRACKS = _descriptor.Descriptor( - name='AgentTracks', - full_name='dgp.proto.AgentTracks', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='agent_tracks', full_name='dgp.proto.AgentTracks.agent_tracks', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.AgentTracks.metadata', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_AGENTTRACKS_METADATAENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1146, - serialized_end=1331, -) - - -_AGENTGROUP_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.AgentGroup.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.AgentGroup.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.AgentGroup.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=929, - serialized_end=998, -) - -_AGENTGROUP_FEATUREONTOLOGIESENTRY = _descriptor.Descriptor( - name='FeatureOntologiesEntry', - full_name='dgp.proto.AgentGroup.FeatureOntologiesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.AgentGroup.FeatureOntologiesEntry.key', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.AgentGroup.FeatureOntologiesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1772, - serialized_end=1828, -) - -_AGENTGROUP_AGENTONTOLOGIESENTRY = _descriptor.Descriptor( - name='AgentOntologiesEntry', - full_name='dgp.proto.AgentGroup.AgentOntologiesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.AgentGroup.AgentOntologiesEntry.key', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.AgentGroup.AgentOntologiesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1830, - serialized_end=1884, -) - -_AGENTGROUP = _descriptor.Descriptor( - name='AgentGroup', - full_name='dgp.proto.AgentGroup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='dgp.proto.AgentGroup.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='description', full_name='dgp.proto.AgentGroup.description', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='log', full_name='dgp.proto.AgentGroup.log', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agents_slices_file', full_name='dgp.proto.AgentGroup.agents_slices_file', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agent_tracks_file', full_name='dgp.proto.AgentGroup.agent_tracks_file', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.AgentGroup.metadata', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creation_date', full_name='dgp.proto.AgentGroup.creation_date', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='feature_ontologies', full_name='dgp.proto.AgentGroup.feature_ontologies', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agent_ontologies', full_name='dgp.proto.AgentGroup.agent_ontologies', index=8, - number=9, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_AGENTGROUP_METADATAENTRY, _AGENTGROUP_FEATUREONTOLOGIESENTRY, _AGENTGROUP_AGENTONTOLOGIESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1334, - serialized_end=1884, -) - -_AGENTSNAPSHOT2D.fields_by_name['box'].message_type = dgp_dot_proto_dot_annotations__pb2._BOUNDINGBOX2D -_AGENTSNAPSHOT3D.fields_by_name['box'].message_type = dgp_dot_proto_dot_annotations__pb2._BOUNDINGBOX3D -_AGENTSNAPSHOT.fields_by_name['agent_snapshot_2D'].message_type = _AGENTSNAPSHOT2D -_AGENTSNAPSHOT.fields_by_name['agent_snapshot_3D'].message_type = _AGENTSNAPSHOT3D -_AGENTSNAPSHOT.fields_by_name['slice_id'].message_type = dgp_dot_proto_dot_identifiers__pb2._DATUMID -_AGENTSNAPSHOT.fields_by_name['raw_sensor_datum_id'].message_type = dgp_dot_proto_dot_identifiers__pb2._DATUMID -_AGENTSNAPSHOT.oneofs_by_name['agent_snapshot_oneof'].fields.append( - _AGENTSNAPSHOT.fields_by_name['agent_snapshot_2D']) -_AGENTSNAPSHOT.fields_by_name['agent_snapshot_2D'].containing_oneof = _AGENTSNAPSHOT.oneofs_by_name['agent_snapshot_oneof'] -_AGENTSNAPSHOT.oneofs_by_name['agent_snapshot_oneof'].fields.append( - _AGENTSNAPSHOT.fields_by_name['agent_snapshot_3D']) -_AGENTSNAPSHOT.fields_by_name['agent_snapshot_3D'].containing_oneof = _AGENTSNAPSHOT.oneofs_by_name['agent_snapshot_oneof'] -_AGENTSSLICE.fields_by_name['slice_id'].message_type = dgp_dot_proto_dot_identifiers__pb2._DATUMID -_AGENTSSLICE.fields_by_name['agent_snapshots'].message_type = _AGENTSNAPSHOT -_AGENTSSLICES_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_AGENTSSLICES_METADATAENTRY.containing_type = _AGENTSSLICES -_AGENTSSLICES.fields_by_name['agents_slices'].message_type = _AGENTSSLICE -_AGENTSSLICES.fields_by_name['metadata'].message_type = _AGENTSSLICES_METADATAENTRY -_AGENTTRACK.fields_by_name['agent_snapshots'].message_type = _AGENTSNAPSHOT -_AGENTTRACK.fields_by_name['metadata'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_AGENTTRACKS_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_AGENTTRACKS_METADATAENTRY.containing_type = _AGENTTRACKS -_AGENTTRACKS.fields_by_name['agent_tracks'].message_type = _AGENTTRACK -_AGENTTRACKS.fields_by_name['metadata'].message_type = _AGENTTRACKS_METADATAENTRY -_AGENTGROUP_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_AGENTGROUP_METADATAENTRY.containing_type = _AGENTGROUP -_AGENTGROUP_FEATUREONTOLOGIESENTRY.containing_type = _AGENTGROUP -_AGENTGROUP_AGENTONTOLOGIESENTRY.containing_type = _AGENTGROUP -_AGENTGROUP.fields_by_name['metadata'].message_type = _AGENTGROUP_METADATAENTRY -_AGENTGROUP.fields_by_name['creation_date'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_AGENTGROUP.fields_by_name['feature_ontologies'].message_type = _AGENTGROUP_FEATUREONTOLOGIESENTRY -_AGENTGROUP.fields_by_name['agent_ontologies'].message_type = _AGENTGROUP_AGENTONTOLOGIESENTRY -DESCRIPTOR.message_types_by_name['AgentSnapshot2D'] = _AGENTSNAPSHOT2D -DESCRIPTOR.message_types_by_name['AgentSnapshot3D'] = _AGENTSNAPSHOT3D -DESCRIPTOR.message_types_by_name['AgentSnapshot'] = _AGENTSNAPSHOT -DESCRIPTOR.message_types_by_name['AgentsSlice'] = _AGENTSSLICE -DESCRIPTOR.message_types_by_name['AgentsSlices'] = _AGENTSSLICES -DESCRIPTOR.message_types_by_name['AgentTrack'] = _AGENTTRACK -DESCRIPTOR.message_types_by_name['AgentTracks'] = _AGENTTRACKS -DESCRIPTOR.message_types_by_name['AgentGroup'] = _AGENTGROUP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AgentSnapshot2D = _reflection.GeneratedProtocolMessageType('AgentSnapshot2D', (_message.Message,), { - 'DESCRIPTOR' : _AGENTSNAPSHOT2D, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentSnapshot2D) - }) -_sym_db.RegisterMessage(AgentSnapshot2D) - -AgentSnapshot3D = _reflection.GeneratedProtocolMessageType('AgentSnapshot3D', (_message.Message,), { - 'DESCRIPTOR' : _AGENTSNAPSHOT3D, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentSnapshot3D) - }) -_sym_db.RegisterMessage(AgentSnapshot3D) - -AgentSnapshot = _reflection.GeneratedProtocolMessageType('AgentSnapshot', (_message.Message,), { - 'DESCRIPTOR' : _AGENTSNAPSHOT, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentSnapshot) - }) -_sym_db.RegisterMessage(AgentSnapshot) - -AgentsSlice = _reflection.GeneratedProtocolMessageType('AgentsSlice', (_message.Message,), { - 'DESCRIPTOR' : _AGENTSSLICE, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentsSlice) - }) -_sym_db.RegisterMessage(AgentsSlice) - -AgentsSlices = _reflection.GeneratedProtocolMessageType('AgentsSlices', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _AGENTSSLICES_METADATAENTRY, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentsSlices.MetadataEntry) - }) - , - 'DESCRIPTOR' : _AGENTSSLICES, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentsSlices) - }) -_sym_db.RegisterMessage(AgentsSlices) -_sym_db.RegisterMessage(AgentsSlices.MetadataEntry) - -AgentTrack = _reflection.GeneratedProtocolMessageType('AgentTrack', (_message.Message,), { - 'DESCRIPTOR' : _AGENTTRACK, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentTrack) - }) -_sym_db.RegisterMessage(AgentTrack) - -AgentTracks = _reflection.GeneratedProtocolMessageType('AgentTracks', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _AGENTTRACKS_METADATAENTRY, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentTracks.MetadataEntry) - }) - , - 'DESCRIPTOR' : _AGENTTRACKS, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentTracks) - }) -_sym_db.RegisterMessage(AgentTracks) -_sym_db.RegisterMessage(AgentTracks.MetadataEntry) - -AgentGroup = _reflection.GeneratedProtocolMessageType('AgentGroup', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _AGENTGROUP_METADATAENTRY, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentGroup.MetadataEntry) - }) - , - - 'FeatureOntologiesEntry' : _reflection.GeneratedProtocolMessageType('FeatureOntologiesEntry', (_message.Message,), { - 'DESCRIPTOR' : _AGENTGROUP_FEATUREONTOLOGIESENTRY, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentGroup.FeatureOntologiesEntry) - }) - , - - 'AgentOntologiesEntry' : _reflection.GeneratedProtocolMessageType('AgentOntologiesEntry', (_message.Message,), { - 'DESCRIPTOR' : _AGENTGROUP_AGENTONTOLOGIESENTRY, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentGroup.AgentOntologiesEntry) - }) - , - 'DESCRIPTOR' : _AGENTGROUP, - '__module__' : 'dgp.proto.agent_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentGroup) - }) -_sym_db.RegisterMessage(AgentGroup) -_sym_db.RegisterMessage(AgentGroup.MetadataEntry) -_sym_db.RegisterMessage(AgentGroup.FeatureOntologiesEntry) -_sym_db.RegisterMessage(AgentGroup.AgentOntologiesEntry) - - -_AGENTSSLICES_METADATAENTRY._options = None -_AGENTTRACKS_METADATAENTRY._options = None -_AGENTGROUP_METADATAENTRY._options = None -_AGENTGROUP_FEATUREONTOLOGIESENTRY._options = None -_AGENTGROUP_AGENTONTOLOGIESENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/agent_pb2_grpc.py b/dgp/proto/agent_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/agent_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/annotations_pb2.py b/dgp/proto/annotations_pb2.py deleted file mode 100644 index ac43aaf8..00000000 --- a/dgp/proto/annotations_pb2.py +++ /dev/null @@ -1,2282 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/annotations.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/annotations.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1b\x64gp/proto/annotations.proto\x12\tdgp.proto\x1a\x18\x64gp/proto/geometry.proto\";\n\rBoundingBox2D\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\x12\t\n\x01w\x18\x03 \x01(\r\x12\t\n\x01h\x18\x04 \x01(\r\"\x81\x02\n\x17\x42oundingBox2DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12%\n\x03\x62ox\x18\x02 \x01(\x0b\x32\x18.dgp.proto.BoundingBox2D\x12\x0c\n\x04\x61rea\x18\x03 \x01(\r\x12\x0f\n\x07iscrowd\x18\x04 \x01(\x08\x12\x13\n\x0binstance_id\x18\x05 \x01(\r\x12\x46\n\nattributes\x18\x06 \x03(\x0b\x32\x32.dgp.proto.BoundingBox2DAnnotation.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\rBoundingBox3D\x12\x1d\n\x04pose\x18\x01 \x01(\x0b\x32\x0f.dgp.proto.Pose\x12\r\n\x05width\x18\x02 \x01(\x01\x12\x0e\n\x06length\x18\x03 \x01(\x01\x12\x0e\n\x06height\x18\x04 \x01(\x01\x12\x11\n\tocclusion\x18\x05 \x01(\r\x12\x12\n\ntruncation\x18\x06 \x01(\x01\"\xf6\x01\n\x17\x42oundingBox3DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12%\n\x03\x62ox\x18\x02 \x01(\x0b\x32\x18.dgp.proto.BoundingBox3D\x12\x13\n\x0binstance_id\x18\x03 \x01(\r\x12\x46\n\nattributes\x18\x04 \x03(\x0b\x32\x32.dgp.proto.BoundingBox3DAnnotation.AttributesEntry\x12\x12\n\nnum_points\x18\x05 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\"\n\nKeyPoint2D\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\"\xd3\x01\n\x14KeyPoint2DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12$\n\x05point\x18\x02 \x01(\x0b\x32\x15.dgp.proto.KeyPoint2D\x12\x43\n\nattributes\x18\x03 \x03(\x0b\x32/.dgp.proto.KeyPoint2DAnnotation.AttributesEntry\x12\x0b\n\x03key\x18\x04 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x01\n\x13KeyLine2DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12\'\n\x08vertices\x18\x02 \x03(\x0b\x32\x15.dgp.proto.KeyPoint2D\x12\x42\n\nattributes\x18\x03 \x03(\x0b\x32..dgp.proto.KeyLine2DAnnotation.AttributesEntry\x12\x0b\n\x03key\x18\x04 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"&\n\x0ePolygonPoint2D\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\"\xcb\x01\n\x13Polygon2DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12+\n\x08vertices\x18\x02 \x03(\x0b\x32\x19.dgp.proto.PolygonPoint2D\x12\x42\n\nattributes\x18\x03 \x03(\x0b\x32..dgp.proto.Polygon2DAnnotation.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x01\n\x18\x43lassificationAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12G\n\nattributes\x18\x02 \x03(\x0b\x32\x33.dgp.proto.ClassificationAnnotation.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\nKeyPoint3D\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"\xd3\x01\n\x14KeyPoint3DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12$\n\x05point\x18\x02 \x01(\x0b\x32\x15.dgp.proto.KeyPoint3D\x12\x43\n\nattributes\x18\x03 \x03(\x0b\x32/.dgp.proto.KeyPoint3DAnnotation.AttributesEntry\x12\x0b\n\x03key\x18\x04 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd4\x01\n\x13KeyLine3DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12\'\n\x08vertices\x18\x02 \x03(\x0b\x32\x15.dgp.proto.KeyPoint3D\x12\x42\n\nattributes\x18\x03 \x03(\x0b\x32..dgp.proto.KeyLine3DAnnotation.AttributesEntry\x12\x0b\n\x03key\x18\x04 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"1\n\x0ePolygonPoint3D\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"\xcb\x01\n\x13Polygon3DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12+\n\x08vertices\x18\x02 \x03(\x0b\x32\x19.dgp.proto.PolygonPoint3D\x12\x42\n\nattributes\x18\x03 \x03(\x0b\x32..dgp.proto.Polygon3DAnnotation.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x1bSemanticSegmentationPoint3D\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"\x84\x02\n SemanticSegmentation3DAnnotation\x12\x10\n\x08\x63lass_id\x18\x01 \x01(\r\x12\x35\n\x05point\x18\x02 \x01(\x0b\x32&.dgp.proto.SemanticSegmentationPoint3D\x12O\n\nattributes\x18\x03 \x03(\x0b\x32;.dgp.proto.SemanticSegmentation3DAnnotation.AttributesEntry\x12\x13\n\x0bpoint_index\x18\x04 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x1bInstanceSegmentationPoint3D\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"\x99\x02\n InstanceSegmentation3DAnnotation\x12\x13\n\x0binstance_id\x18\x01 \x01(\r\x12\x10\n\x08\x63lass_id\x18\x02 \x01(\r\x12\x35\n\x05point\x18\x03 \x01(\x0b\x32&.dgp.proto.InstanceSegmentationPoint3D\x12O\n\nattributes\x18\x04 \x03(\x0b\x32;.dgp.proto.InstanceSegmentation3DAnnotation.AttributesEntry\x12\x13\n\x0bpoint_index\x18\x05 \x01(\r\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x18\x42oundingBox2DAnnotations\x12\x37\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\".dgp.proto.BoundingBox2DAnnotation\"S\n\x18\x42oundingBox3DAnnotations\x12\x37\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\".dgp.proto.BoundingBox3DAnnotation\"M\n\x15KeyPoint2DAnnotations\x12\x34\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1f.dgp.proto.KeyPoint2DAnnotation\"K\n\x14KeyLine2DAnnotations\x12\x33\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1e.dgp.proto.KeyLine2DAnnotation\"K\n\x14Polygon2DAnnotations\x12\x33\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1e.dgp.proto.Polygon2DAnnotation\"U\n\x19\x43lassificationAnnotations\x12\x38\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32#.dgp.proto.ClassificationAnnotation\"M\n\x15KeyPoint3DAnnotations\x12\x34\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1f.dgp.proto.KeyPoint3DAnnotation\"K\n\x14KeyLine3DAnnotations\x12\x33\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1e.dgp.proto.KeyLine3DAnnotation\"K\n\x14Polygon3DAnnotations\x12\x33\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32\x1e.dgp.proto.Polygon3DAnnotation\"e\n!SemanticSegmentation3DAnnotations\x12@\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32+.dgp.proto.SemanticSegmentation3DAnnotation\"e\n!InstanceSegmentation3DAnnotations\x12@\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32+.dgp.proto.InstanceSegmentation3DAnnotation*\xa9\x03\n\x0e\x41nnotationType\x12\x13\n\x0f\x42OUNDING_BOX_2D\x10\x00\x12\x13\n\x0f\x42OUNDING_BOX_3D\x10\x01\x12\x1c\n\x18SEMANTIC_SEGMENTATION_2D\x10\x02\x12\x1c\n\x18SEMANTIC_SEGMENTATION_3D\x10\x03\x12\x1c\n\x18INSTANCE_SEGMENTATION_2D\x10\x04\x12\x1c\n\x18INSTANCE_SEGMENTATION_3D\x10\x05\x12\t\n\x05\x44\x45PTH\x10\x06\x12\x16\n\x12SURFACE_NORMALS_2D\x10\r\x12\x16\n\x12SURFACE_NORMALS_3D\x10\x07\x12\x15\n\x11MOTION_VECTORS_2D\x10\x08\x12\x15\n\x11MOTION_VECTORS_3D\x10\t\x12\x10\n\x0cKEY_POINT_2D\x10\n\x12\x0f\n\x0bKEY_LINE_2D\x10\x0b\x12\x0e\n\nPOLYGON_2D\x10\x0c\x12\x12\n\x0e\x41GENT_BEHAVIOR\x10\x0e\x12\x12\n\x0e\x43LASSIFICATION\x10\x0f\x12\x10\n\x0cKEY_POINT_3D\x10\x10\x12\x0f\n\x0bKEY_LINE_3D\x10\x11\x12\x0e\n\nPOLYGON_3D\x10\x12\x62\x06proto3' - , - dependencies=[dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,]) - -_ANNOTATIONTYPE = _descriptor.EnumDescriptor( - name='AnnotationType', - full_name='dgp.proto.AnnotationType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='BOUNDING_BOX_2D', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='BOUNDING_BOX_3D', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SEMANTIC_SEGMENTATION_2D', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SEMANTIC_SEGMENTATION_3D', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INSTANCE_SEGMENTATION_2D', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INSTANCE_SEGMENTATION_3D', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='DEPTH', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SURFACE_NORMALS_2D', index=7, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SURFACE_NORMALS_3D', index=8, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MOTION_VECTORS_2D', index=9, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MOTION_VECTORS_3D', index=10, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='KEY_POINT_2D', index=11, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='KEY_LINE_2D', index=12, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='POLYGON_2D', index=13, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AGENT_BEHAVIOR', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CLASSIFICATION', index=15, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='KEY_POINT_3D', index=16, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='KEY_LINE_3D', index=17, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='POLYGON_3D', index=18, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=3993, - serialized_end=4418, -) -_sym_db.RegisterEnumDescriptor(_ANNOTATIONTYPE) - -AnnotationType = enum_type_wrapper.EnumTypeWrapper(_ANNOTATIONTYPE) -BOUNDING_BOX_2D = 0 -BOUNDING_BOX_3D = 1 -SEMANTIC_SEGMENTATION_2D = 2 -SEMANTIC_SEGMENTATION_3D = 3 -INSTANCE_SEGMENTATION_2D = 4 -INSTANCE_SEGMENTATION_3D = 5 -DEPTH = 6 -SURFACE_NORMALS_2D = 13 -SURFACE_NORMALS_3D = 7 -MOTION_VECTORS_2D = 8 -MOTION_VECTORS_3D = 9 -KEY_POINT_2D = 10 -KEY_LINE_2D = 11 -POLYGON_2D = 12 -AGENT_BEHAVIOR = 14 -CLASSIFICATION = 15 -KEY_POINT_3D = 16 -KEY_LINE_3D = 17 -POLYGON_3D = 18 - - - -_BOUNDINGBOX2D = _descriptor.Descriptor( - name='BoundingBox2D', - full_name='dgp.proto.BoundingBox2D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.BoundingBox2D.x', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.BoundingBox2D.y', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='w', full_name='dgp.proto.BoundingBox2D.w', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='h', full_name='dgp.proto.BoundingBox2D.h', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=68, - serialized_end=127, -) - - -_BOUNDINGBOX2DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.BoundingBox2DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.BoundingBox2DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.BoundingBox2DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_BOUNDINGBOX2DANNOTATION = _descriptor.Descriptor( - name='BoundingBox2DAnnotation', - full_name='dgp.proto.BoundingBox2DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.BoundingBox2DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='box', full_name='dgp.proto.BoundingBox2DAnnotation.box', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='area', full_name='dgp.proto.BoundingBox2DAnnotation.area', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='iscrowd', full_name='dgp.proto.BoundingBox2DAnnotation.iscrowd', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='instance_id', full_name='dgp.proto.BoundingBox2DAnnotation.instance_id', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.BoundingBox2DAnnotation.attributes', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_BOUNDINGBOX2DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=130, - serialized_end=387, -) - - -_BOUNDINGBOX3D = _descriptor.Descriptor( - name='BoundingBox3D', - full_name='dgp.proto.BoundingBox3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pose', full_name='dgp.proto.BoundingBox3D.pose', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='width', full_name='dgp.proto.BoundingBox3D.width', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='length', full_name='dgp.proto.BoundingBox3D.length', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='height', full_name='dgp.proto.BoundingBox3D.height', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='occlusion', full_name='dgp.proto.BoundingBox3D.occlusion', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='truncation', full_name='dgp.proto.BoundingBox3D.truncation', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=390, - serialized_end=522, -) - - -_BOUNDINGBOX3DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.BoundingBox3DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.BoundingBox3DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.BoundingBox3DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_BOUNDINGBOX3DANNOTATION = _descriptor.Descriptor( - name='BoundingBox3DAnnotation', - full_name='dgp.proto.BoundingBox3DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.BoundingBox3DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='box', full_name='dgp.proto.BoundingBox3DAnnotation.box', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='instance_id', full_name='dgp.proto.BoundingBox3DAnnotation.instance_id', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.BoundingBox3DAnnotation.attributes', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_points', full_name='dgp.proto.BoundingBox3DAnnotation.num_points', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_BOUNDINGBOX3DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=525, - serialized_end=771, -) - - -_KEYPOINT2D = _descriptor.Descriptor( - name='KeyPoint2D', - full_name='dgp.proto.KeyPoint2D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.KeyPoint2D.x', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.KeyPoint2D.y', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=773, - serialized_end=807, -) - - -_KEYPOINT2DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.KeyPoint2DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyPoint2DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.KeyPoint2DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_KEYPOINT2DANNOTATION = _descriptor.Descriptor( - name='KeyPoint2DAnnotation', - full_name='dgp.proto.KeyPoint2DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.KeyPoint2DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point', full_name='dgp.proto.KeyPoint2DAnnotation.point', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.KeyPoint2DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyPoint2DAnnotation.key', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_KEYPOINT2DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=810, - serialized_end=1021, -) - - -_KEYLINE2DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.KeyLine2DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyLine2DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.KeyLine2DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_KEYLINE2DANNOTATION = _descriptor.Descriptor( - name='KeyLine2DAnnotation', - full_name='dgp.proto.KeyLine2DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.KeyLine2DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertices', full_name='dgp.proto.KeyLine2DAnnotation.vertices', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.KeyLine2DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyLine2DAnnotation.key', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_KEYLINE2DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1024, - serialized_end=1236, -) - - -_POLYGONPOINT2D = _descriptor.Descriptor( - name='PolygonPoint2D', - full_name='dgp.proto.PolygonPoint2D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.PolygonPoint2D.x', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.PolygonPoint2D.y', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1238, - serialized_end=1276, -) - - -_POLYGON2DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.Polygon2DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Polygon2DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Polygon2DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_POLYGON2DANNOTATION = _descriptor.Descriptor( - name='Polygon2DAnnotation', - full_name='dgp.proto.Polygon2DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.Polygon2DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertices', full_name='dgp.proto.Polygon2DAnnotation.vertices', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.Polygon2DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_POLYGON2DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1279, - serialized_end=1482, -) - - -_CLASSIFICATIONANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.ClassificationAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.ClassificationAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.ClassificationAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_CLASSIFICATIONANNOTATION = _descriptor.Descriptor( - name='ClassificationAnnotation', - full_name='dgp.proto.ClassificationAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.ClassificationAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.ClassificationAnnotation.attributes', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_CLASSIFICATIONANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1485, - serialized_end=1653, -) - - -_KEYPOINT3D = _descriptor.Descriptor( - name='KeyPoint3D', - full_name='dgp.proto.KeyPoint3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.KeyPoint3D.x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.KeyPoint3D.y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='dgp.proto.KeyPoint3D.z', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1655, - serialized_end=1700, -) - - -_KEYPOINT3DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.KeyPoint3DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyPoint3DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.KeyPoint3DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_KEYPOINT3DANNOTATION = _descriptor.Descriptor( - name='KeyPoint3DAnnotation', - full_name='dgp.proto.KeyPoint3DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.KeyPoint3DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point', full_name='dgp.proto.KeyPoint3DAnnotation.point', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.KeyPoint3DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyPoint3DAnnotation.key', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_KEYPOINT3DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1703, - serialized_end=1914, -) - - -_KEYLINE3DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.KeyLine3DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyLine3DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.KeyLine3DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_KEYLINE3DANNOTATION = _descriptor.Descriptor( - name='KeyLine3DAnnotation', - full_name='dgp.proto.KeyLine3DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.KeyLine3DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertices', full_name='dgp.proto.KeyLine3DAnnotation.vertices', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.KeyLine3DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.KeyLine3DAnnotation.key', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_KEYLINE3DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1917, - serialized_end=2129, -) - - -_POLYGONPOINT3D = _descriptor.Descriptor( - name='PolygonPoint3D', - full_name='dgp.proto.PolygonPoint3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.PolygonPoint3D.x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.PolygonPoint3D.y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='dgp.proto.PolygonPoint3D.z', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2131, - serialized_end=2180, -) - - -_POLYGON3DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.Polygon3DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Polygon3DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Polygon3DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_POLYGON3DANNOTATION = _descriptor.Descriptor( - name='Polygon3DAnnotation', - full_name='dgp.proto.Polygon3DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.Polygon3DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='vertices', full_name='dgp.proto.Polygon3DAnnotation.vertices', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.Polygon3DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_POLYGON3DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2183, - serialized_end=2386, -) - - -_SEMANTICSEGMENTATIONPOINT3D = _descriptor.Descriptor( - name='SemanticSegmentationPoint3D', - full_name='dgp.proto.SemanticSegmentationPoint3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.SemanticSegmentationPoint3D.x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.SemanticSegmentationPoint3D.y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='dgp.proto.SemanticSegmentationPoint3D.z', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2388, - serialized_end=2450, -) - - -_SEMANTICSEGMENTATION3DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.SemanticSegmentation3DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.SemanticSegmentation3DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.SemanticSegmentation3DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_SEMANTICSEGMENTATION3DANNOTATION = _descriptor.Descriptor( - name='SemanticSegmentation3DAnnotation', - full_name='dgp.proto.SemanticSegmentation3DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.SemanticSegmentation3DAnnotation.class_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point', full_name='dgp.proto.SemanticSegmentation3DAnnotation.point', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.SemanticSegmentation3DAnnotation.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_index', full_name='dgp.proto.SemanticSegmentation3DAnnotation.point_index', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SEMANTICSEGMENTATION3DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2453, - serialized_end=2713, -) - - -_INSTANCESEGMENTATIONPOINT3D = _descriptor.Descriptor( - name='InstanceSegmentationPoint3D', - full_name='dgp.proto.InstanceSegmentationPoint3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.InstanceSegmentationPoint3D.x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.InstanceSegmentationPoint3D.y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='dgp.proto.InstanceSegmentationPoint3D.z', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2715, - serialized_end=2777, -) - - -_INSTANCESEGMENTATION3DANNOTATION_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='dgp.proto.InstanceSegmentation3DAnnotation.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.InstanceSegmentation3DAnnotation.AttributesEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.InstanceSegmentation3DAnnotation.AttributesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=338, - serialized_end=387, -) - -_INSTANCESEGMENTATION3DANNOTATION = _descriptor.Descriptor( - name='InstanceSegmentation3DAnnotation', - full_name='dgp.proto.InstanceSegmentation3DAnnotation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='instance_id', full_name='dgp.proto.InstanceSegmentation3DAnnotation.instance_id', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='class_id', full_name='dgp.proto.InstanceSegmentation3DAnnotation.class_id', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point', full_name='dgp.proto.InstanceSegmentation3DAnnotation.point', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attributes', full_name='dgp.proto.InstanceSegmentation3DAnnotation.attributes', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_index', full_name='dgp.proto.InstanceSegmentation3DAnnotation.point_index', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_INSTANCESEGMENTATION3DANNOTATION_ATTRIBUTESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2780, - serialized_end=3061, -) - - -_BOUNDINGBOX2DANNOTATIONS = _descriptor.Descriptor( - name='BoundingBox2DAnnotations', - full_name='dgp.proto.BoundingBox2DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.BoundingBox2DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3063, - serialized_end=3146, -) - - -_BOUNDINGBOX3DANNOTATIONS = _descriptor.Descriptor( - name='BoundingBox3DAnnotations', - full_name='dgp.proto.BoundingBox3DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.BoundingBox3DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3148, - serialized_end=3231, -) - - -_KEYPOINT2DANNOTATIONS = _descriptor.Descriptor( - name='KeyPoint2DAnnotations', - full_name='dgp.proto.KeyPoint2DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.KeyPoint2DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3233, - serialized_end=3310, -) - - -_KEYLINE2DANNOTATIONS = _descriptor.Descriptor( - name='KeyLine2DAnnotations', - full_name='dgp.proto.KeyLine2DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.KeyLine2DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3312, - serialized_end=3387, -) - - -_POLYGON2DANNOTATIONS = _descriptor.Descriptor( - name='Polygon2DAnnotations', - full_name='dgp.proto.Polygon2DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.Polygon2DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3389, - serialized_end=3464, -) - - -_CLASSIFICATIONANNOTATIONS = _descriptor.Descriptor( - name='ClassificationAnnotations', - full_name='dgp.proto.ClassificationAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.ClassificationAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3466, - serialized_end=3551, -) - - -_KEYPOINT3DANNOTATIONS = _descriptor.Descriptor( - name='KeyPoint3DAnnotations', - full_name='dgp.proto.KeyPoint3DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.KeyPoint3DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3553, - serialized_end=3630, -) - - -_KEYLINE3DANNOTATIONS = _descriptor.Descriptor( - name='KeyLine3DAnnotations', - full_name='dgp.proto.KeyLine3DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.KeyLine3DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3632, - serialized_end=3707, -) - - -_POLYGON3DANNOTATIONS = _descriptor.Descriptor( - name='Polygon3DAnnotations', - full_name='dgp.proto.Polygon3DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.Polygon3DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3709, - serialized_end=3784, -) - - -_SEMANTICSEGMENTATION3DANNOTATIONS = _descriptor.Descriptor( - name='SemanticSegmentation3DAnnotations', - full_name='dgp.proto.SemanticSegmentation3DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.SemanticSegmentation3DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3786, - serialized_end=3887, -) - - -_INSTANCESEGMENTATION3DANNOTATIONS = _descriptor.Descriptor( - name='InstanceSegmentation3DAnnotations', - full_name='dgp.proto.InstanceSegmentation3DAnnotations', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.InstanceSegmentation3DAnnotations.annotations', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3889, - serialized_end=3990, -) - -_BOUNDINGBOX2DANNOTATION_ATTRIBUTESENTRY.containing_type = _BOUNDINGBOX2DANNOTATION -_BOUNDINGBOX2DANNOTATION.fields_by_name['box'].message_type = _BOUNDINGBOX2D -_BOUNDINGBOX2DANNOTATION.fields_by_name['attributes'].message_type = _BOUNDINGBOX2DANNOTATION_ATTRIBUTESENTRY -_BOUNDINGBOX3D.fields_by_name['pose'].message_type = dgp_dot_proto_dot_geometry__pb2._POSE -_BOUNDINGBOX3DANNOTATION_ATTRIBUTESENTRY.containing_type = _BOUNDINGBOX3DANNOTATION -_BOUNDINGBOX3DANNOTATION.fields_by_name['box'].message_type = _BOUNDINGBOX3D -_BOUNDINGBOX3DANNOTATION.fields_by_name['attributes'].message_type = _BOUNDINGBOX3DANNOTATION_ATTRIBUTESENTRY -_KEYPOINT2DANNOTATION_ATTRIBUTESENTRY.containing_type = _KEYPOINT2DANNOTATION -_KEYPOINT2DANNOTATION.fields_by_name['point'].message_type = _KEYPOINT2D -_KEYPOINT2DANNOTATION.fields_by_name['attributes'].message_type = _KEYPOINT2DANNOTATION_ATTRIBUTESENTRY -_KEYLINE2DANNOTATION_ATTRIBUTESENTRY.containing_type = _KEYLINE2DANNOTATION -_KEYLINE2DANNOTATION.fields_by_name['vertices'].message_type = _KEYPOINT2D -_KEYLINE2DANNOTATION.fields_by_name['attributes'].message_type = _KEYLINE2DANNOTATION_ATTRIBUTESENTRY -_POLYGON2DANNOTATION_ATTRIBUTESENTRY.containing_type = _POLYGON2DANNOTATION -_POLYGON2DANNOTATION.fields_by_name['vertices'].message_type = _POLYGONPOINT2D -_POLYGON2DANNOTATION.fields_by_name['attributes'].message_type = _POLYGON2DANNOTATION_ATTRIBUTESENTRY -_CLASSIFICATIONANNOTATION_ATTRIBUTESENTRY.containing_type = _CLASSIFICATIONANNOTATION -_CLASSIFICATIONANNOTATION.fields_by_name['attributes'].message_type = _CLASSIFICATIONANNOTATION_ATTRIBUTESENTRY -_KEYPOINT3DANNOTATION_ATTRIBUTESENTRY.containing_type = _KEYPOINT3DANNOTATION -_KEYPOINT3DANNOTATION.fields_by_name['point'].message_type = _KEYPOINT3D -_KEYPOINT3DANNOTATION.fields_by_name['attributes'].message_type = _KEYPOINT3DANNOTATION_ATTRIBUTESENTRY -_KEYLINE3DANNOTATION_ATTRIBUTESENTRY.containing_type = _KEYLINE3DANNOTATION -_KEYLINE3DANNOTATION.fields_by_name['vertices'].message_type = _KEYPOINT3D -_KEYLINE3DANNOTATION.fields_by_name['attributes'].message_type = _KEYLINE3DANNOTATION_ATTRIBUTESENTRY -_POLYGON3DANNOTATION_ATTRIBUTESENTRY.containing_type = _POLYGON3DANNOTATION -_POLYGON3DANNOTATION.fields_by_name['vertices'].message_type = _POLYGONPOINT3D -_POLYGON3DANNOTATION.fields_by_name['attributes'].message_type = _POLYGON3DANNOTATION_ATTRIBUTESENTRY -_SEMANTICSEGMENTATION3DANNOTATION_ATTRIBUTESENTRY.containing_type = _SEMANTICSEGMENTATION3DANNOTATION -_SEMANTICSEGMENTATION3DANNOTATION.fields_by_name['point'].message_type = _SEMANTICSEGMENTATIONPOINT3D -_SEMANTICSEGMENTATION3DANNOTATION.fields_by_name['attributes'].message_type = _SEMANTICSEGMENTATION3DANNOTATION_ATTRIBUTESENTRY -_INSTANCESEGMENTATION3DANNOTATION_ATTRIBUTESENTRY.containing_type = _INSTANCESEGMENTATION3DANNOTATION -_INSTANCESEGMENTATION3DANNOTATION.fields_by_name['point'].message_type = _INSTANCESEGMENTATIONPOINT3D -_INSTANCESEGMENTATION3DANNOTATION.fields_by_name['attributes'].message_type = _INSTANCESEGMENTATION3DANNOTATION_ATTRIBUTESENTRY -_BOUNDINGBOX2DANNOTATIONS.fields_by_name['annotations'].message_type = _BOUNDINGBOX2DANNOTATION -_BOUNDINGBOX3DANNOTATIONS.fields_by_name['annotations'].message_type = _BOUNDINGBOX3DANNOTATION -_KEYPOINT2DANNOTATIONS.fields_by_name['annotations'].message_type = _KEYPOINT2DANNOTATION -_KEYLINE2DANNOTATIONS.fields_by_name['annotations'].message_type = _KEYLINE2DANNOTATION -_POLYGON2DANNOTATIONS.fields_by_name['annotations'].message_type = _POLYGON2DANNOTATION -_CLASSIFICATIONANNOTATIONS.fields_by_name['annotations'].message_type = _CLASSIFICATIONANNOTATION -_KEYPOINT3DANNOTATIONS.fields_by_name['annotations'].message_type = _KEYPOINT3DANNOTATION -_KEYLINE3DANNOTATIONS.fields_by_name['annotations'].message_type = _KEYLINE3DANNOTATION -_POLYGON3DANNOTATIONS.fields_by_name['annotations'].message_type = _POLYGON3DANNOTATION -_SEMANTICSEGMENTATION3DANNOTATIONS.fields_by_name['annotations'].message_type = _SEMANTICSEGMENTATION3DANNOTATION -_INSTANCESEGMENTATION3DANNOTATIONS.fields_by_name['annotations'].message_type = _INSTANCESEGMENTATION3DANNOTATION -DESCRIPTOR.message_types_by_name['BoundingBox2D'] = _BOUNDINGBOX2D -DESCRIPTOR.message_types_by_name['BoundingBox2DAnnotation'] = _BOUNDINGBOX2DANNOTATION -DESCRIPTOR.message_types_by_name['BoundingBox3D'] = _BOUNDINGBOX3D -DESCRIPTOR.message_types_by_name['BoundingBox3DAnnotation'] = _BOUNDINGBOX3DANNOTATION -DESCRIPTOR.message_types_by_name['KeyPoint2D'] = _KEYPOINT2D -DESCRIPTOR.message_types_by_name['KeyPoint2DAnnotation'] = _KEYPOINT2DANNOTATION -DESCRIPTOR.message_types_by_name['KeyLine2DAnnotation'] = _KEYLINE2DANNOTATION -DESCRIPTOR.message_types_by_name['PolygonPoint2D'] = _POLYGONPOINT2D -DESCRIPTOR.message_types_by_name['Polygon2DAnnotation'] = _POLYGON2DANNOTATION -DESCRIPTOR.message_types_by_name['ClassificationAnnotation'] = _CLASSIFICATIONANNOTATION -DESCRIPTOR.message_types_by_name['KeyPoint3D'] = _KEYPOINT3D -DESCRIPTOR.message_types_by_name['KeyPoint3DAnnotation'] = _KEYPOINT3DANNOTATION -DESCRIPTOR.message_types_by_name['KeyLine3DAnnotation'] = _KEYLINE3DANNOTATION -DESCRIPTOR.message_types_by_name['PolygonPoint3D'] = _POLYGONPOINT3D -DESCRIPTOR.message_types_by_name['Polygon3DAnnotation'] = _POLYGON3DANNOTATION -DESCRIPTOR.message_types_by_name['SemanticSegmentationPoint3D'] = _SEMANTICSEGMENTATIONPOINT3D -DESCRIPTOR.message_types_by_name['SemanticSegmentation3DAnnotation'] = _SEMANTICSEGMENTATION3DANNOTATION -DESCRIPTOR.message_types_by_name['InstanceSegmentationPoint3D'] = _INSTANCESEGMENTATIONPOINT3D -DESCRIPTOR.message_types_by_name['InstanceSegmentation3DAnnotation'] = _INSTANCESEGMENTATION3DANNOTATION -DESCRIPTOR.message_types_by_name['BoundingBox2DAnnotations'] = _BOUNDINGBOX2DANNOTATIONS -DESCRIPTOR.message_types_by_name['BoundingBox3DAnnotations'] = _BOUNDINGBOX3DANNOTATIONS -DESCRIPTOR.message_types_by_name['KeyPoint2DAnnotations'] = _KEYPOINT2DANNOTATIONS -DESCRIPTOR.message_types_by_name['KeyLine2DAnnotations'] = _KEYLINE2DANNOTATIONS -DESCRIPTOR.message_types_by_name['Polygon2DAnnotations'] = _POLYGON2DANNOTATIONS -DESCRIPTOR.message_types_by_name['ClassificationAnnotations'] = _CLASSIFICATIONANNOTATIONS -DESCRIPTOR.message_types_by_name['KeyPoint3DAnnotations'] = _KEYPOINT3DANNOTATIONS -DESCRIPTOR.message_types_by_name['KeyLine3DAnnotations'] = _KEYLINE3DANNOTATIONS -DESCRIPTOR.message_types_by_name['Polygon3DAnnotations'] = _POLYGON3DANNOTATIONS -DESCRIPTOR.message_types_by_name['SemanticSegmentation3DAnnotations'] = _SEMANTICSEGMENTATION3DANNOTATIONS -DESCRIPTOR.message_types_by_name['InstanceSegmentation3DAnnotations'] = _INSTANCESEGMENTATION3DANNOTATIONS -DESCRIPTOR.enum_types_by_name['AnnotationType'] = _ANNOTATIONTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BoundingBox2D = _reflection.GeneratedProtocolMessageType('BoundingBox2D', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDINGBOX2D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox2D) - }) -_sym_db.RegisterMessage(BoundingBox2D) - -BoundingBox2DAnnotation = _reflection.GeneratedProtocolMessageType('BoundingBox2DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDINGBOX2DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox2DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _BOUNDINGBOX2DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox2DAnnotation) - }) -_sym_db.RegisterMessage(BoundingBox2DAnnotation) -_sym_db.RegisterMessage(BoundingBox2DAnnotation.AttributesEntry) - -BoundingBox3D = _reflection.GeneratedProtocolMessageType('BoundingBox3D', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDINGBOX3D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox3D) - }) -_sym_db.RegisterMessage(BoundingBox3D) - -BoundingBox3DAnnotation = _reflection.GeneratedProtocolMessageType('BoundingBox3DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDINGBOX3DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox3DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _BOUNDINGBOX3DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox3DAnnotation) - }) -_sym_db.RegisterMessage(BoundingBox3DAnnotation) -_sym_db.RegisterMessage(BoundingBox3DAnnotation.AttributesEntry) - -KeyPoint2D = _reflection.GeneratedProtocolMessageType('KeyPoint2D', (_message.Message,), { - 'DESCRIPTOR' : _KEYPOINT2D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint2D) - }) -_sym_db.RegisterMessage(KeyPoint2D) - -KeyPoint2DAnnotation = _reflection.GeneratedProtocolMessageType('KeyPoint2DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _KEYPOINT2DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint2DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _KEYPOINT2DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint2DAnnotation) - }) -_sym_db.RegisterMessage(KeyPoint2DAnnotation) -_sym_db.RegisterMessage(KeyPoint2DAnnotation.AttributesEntry) - -KeyLine2DAnnotation = _reflection.GeneratedProtocolMessageType('KeyLine2DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _KEYLINE2DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyLine2DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _KEYLINE2DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyLine2DAnnotation) - }) -_sym_db.RegisterMessage(KeyLine2DAnnotation) -_sym_db.RegisterMessage(KeyLine2DAnnotation.AttributesEntry) - -PolygonPoint2D = _reflection.GeneratedProtocolMessageType('PolygonPoint2D', (_message.Message,), { - 'DESCRIPTOR' : _POLYGONPOINT2D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.PolygonPoint2D) - }) -_sym_db.RegisterMessage(PolygonPoint2D) - -Polygon2DAnnotation = _reflection.GeneratedProtocolMessageType('Polygon2DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _POLYGON2DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Polygon2DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _POLYGON2DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Polygon2DAnnotation) - }) -_sym_db.RegisterMessage(Polygon2DAnnotation) -_sym_db.RegisterMessage(Polygon2DAnnotation.AttributesEntry) - -ClassificationAnnotation = _reflection.GeneratedProtocolMessageType('ClassificationAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _CLASSIFICATIONANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ClassificationAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _CLASSIFICATIONANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ClassificationAnnotation) - }) -_sym_db.RegisterMessage(ClassificationAnnotation) -_sym_db.RegisterMessage(ClassificationAnnotation.AttributesEntry) - -KeyPoint3D = _reflection.GeneratedProtocolMessageType('KeyPoint3D', (_message.Message,), { - 'DESCRIPTOR' : _KEYPOINT3D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint3D) - }) -_sym_db.RegisterMessage(KeyPoint3D) - -KeyPoint3DAnnotation = _reflection.GeneratedProtocolMessageType('KeyPoint3DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _KEYPOINT3DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint3DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _KEYPOINT3DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint3DAnnotation) - }) -_sym_db.RegisterMessage(KeyPoint3DAnnotation) -_sym_db.RegisterMessage(KeyPoint3DAnnotation.AttributesEntry) - -KeyLine3DAnnotation = _reflection.GeneratedProtocolMessageType('KeyLine3DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _KEYLINE3DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyLine3DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _KEYLINE3DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyLine3DAnnotation) - }) -_sym_db.RegisterMessage(KeyLine3DAnnotation) -_sym_db.RegisterMessage(KeyLine3DAnnotation.AttributesEntry) - -PolygonPoint3D = _reflection.GeneratedProtocolMessageType('PolygonPoint3D', (_message.Message,), { - 'DESCRIPTOR' : _POLYGONPOINT3D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.PolygonPoint3D) - }) -_sym_db.RegisterMessage(PolygonPoint3D) - -Polygon3DAnnotation = _reflection.GeneratedProtocolMessageType('Polygon3DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _POLYGON3DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Polygon3DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _POLYGON3DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Polygon3DAnnotation) - }) -_sym_db.RegisterMessage(Polygon3DAnnotation) -_sym_db.RegisterMessage(Polygon3DAnnotation.AttributesEntry) - -SemanticSegmentationPoint3D = _reflection.GeneratedProtocolMessageType('SemanticSegmentationPoint3D', (_message.Message,), { - 'DESCRIPTOR' : _SEMANTICSEGMENTATIONPOINT3D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SemanticSegmentationPoint3D) - }) -_sym_db.RegisterMessage(SemanticSegmentationPoint3D) - -SemanticSegmentation3DAnnotation = _reflection.GeneratedProtocolMessageType('SemanticSegmentation3DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _SEMANTICSEGMENTATION3DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SemanticSegmentation3DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _SEMANTICSEGMENTATION3DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SemanticSegmentation3DAnnotation) - }) -_sym_db.RegisterMessage(SemanticSegmentation3DAnnotation) -_sym_db.RegisterMessage(SemanticSegmentation3DAnnotation.AttributesEntry) - -InstanceSegmentationPoint3D = _reflection.GeneratedProtocolMessageType('InstanceSegmentationPoint3D', (_message.Message,), { - 'DESCRIPTOR' : _INSTANCESEGMENTATIONPOINT3D, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.InstanceSegmentationPoint3D) - }) -_sym_db.RegisterMessage(InstanceSegmentationPoint3D) - -InstanceSegmentation3DAnnotation = _reflection.GeneratedProtocolMessageType('InstanceSegmentation3DAnnotation', (_message.Message,), { - - 'AttributesEntry' : _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), { - 'DESCRIPTOR' : _INSTANCESEGMENTATION3DANNOTATION_ATTRIBUTESENTRY, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.InstanceSegmentation3DAnnotation.AttributesEntry) - }) - , - 'DESCRIPTOR' : _INSTANCESEGMENTATION3DANNOTATION, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.InstanceSegmentation3DAnnotation) - }) -_sym_db.RegisterMessage(InstanceSegmentation3DAnnotation) -_sym_db.RegisterMessage(InstanceSegmentation3DAnnotation.AttributesEntry) - -BoundingBox2DAnnotations = _reflection.GeneratedProtocolMessageType('BoundingBox2DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDINGBOX2DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox2DAnnotations) - }) -_sym_db.RegisterMessage(BoundingBox2DAnnotations) - -BoundingBox3DAnnotations = _reflection.GeneratedProtocolMessageType('BoundingBox3DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDINGBOX3DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.BoundingBox3DAnnotations) - }) -_sym_db.RegisterMessage(BoundingBox3DAnnotations) - -KeyPoint2DAnnotations = _reflection.GeneratedProtocolMessageType('KeyPoint2DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _KEYPOINT2DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint2DAnnotations) - }) -_sym_db.RegisterMessage(KeyPoint2DAnnotations) - -KeyLine2DAnnotations = _reflection.GeneratedProtocolMessageType('KeyLine2DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _KEYLINE2DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyLine2DAnnotations) - }) -_sym_db.RegisterMessage(KeyLine2DAnnotations) - -Polygon2DAnnotations = _reflection.GeneratedProtocolMessageType('Polygon2DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _POLYGON2DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Polygon2DAnnotations) - }) -_sym_db.RegisterMessage(Polygon2DAnnotations) - -ClassificationAnnotations = _reflection.GeneratedProtocolMessageType('ClassificationAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _CLASSIFICATIONANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.ClassificationAnnotations) - }) -_sym_db.RegisterMessage(ClassificationAnnotations) - -KeyPoint3DAnnotations = _reflection.GeneratedProtocolMessageType('KeyPoint3DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _KEYPOINT3DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyPoint3DAnnotations) - }) -_sym_db.RegisterMessage(KeyPoint3DAnnotations) - -KeyLine3DAnnotations = _reflection.GeneratedProtocolMessageType('KeyLine3DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _KEYLINE3DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.KeyLine3DAnnotations) - }) -_sym_db.RegisterMessage(KeyLine3DAnnotations) - -Polygon3DAnnotations = _reflection.GeneratedProtocolMessageType('Polygon3DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _POLYGON3DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Polygon3DAnnotations) - }) -_sym_db.RegisterMessage(Polygon3DAnnotations) - -SemanticSegmentation3DAnnotations = _reflection.GeneratedProtocolMessageType('SemanticSegmentation3DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _SEMANTICSEGMENTATION3DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SemanticSegmentation3DAnnotations) - }) -_sym_db.RegisterMessage(SemanticSegmentation3DAnnotations) - -InstanceSegmentation3DAnnotations = _reflection.GeneratedProtocolMessageType('InstanceSegmentation3DAnnotations', (_message.Message,), { - 'DESCRIPTOR' : _INSTANCESEGMENTATION3DANNOTATIONS, - '__module__' : 'dgp.proto.annotations_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.InstanceSegmentation3DAnnotations) - }) -_sym_db.RegisterMessage(InstanceSegmentation3DAnnotations) - - -_BOUNDINGBOX2DANNOTATION_ATTRIBUTESENTRY._options = None -_BOUNDINGBOX3DANNOTATION_ATTRIBUTESENTRY._options = None -_KEYPOINT2DANNOTATION_ATTRIBUTESENTRY._options = None -_KEYLINE2DANNOTATION_ATTRIBUTESENTRY._options = None -_POLYGON2DANNOTATION_ATTRIBUTESENTRY._options = None -_CLASSIFICATIONANNOTATION_ATTRIBUTESENTRY._options = None -_KEYPOINT3DANNOTATION_ATTRIBUTESENTRY._options = None -_KEYLINE3DANNOTATION_ATTRIBUTESENTRY._options = None -_POLYGON3DANNOTATION_ATTRIBUTESENTRY._options = None -_SEMANTICSEGMENTATION3DANNOTATION_ATTRIBUTESENTRY._options = None -_INSTANCESEGMENTATION3DANNOTATION_ATTRIBUTESENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/annotations_pb2_grpc.py b/dgp/proto/annotations_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/annotations_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/artifacts_pb2.py b/dgp/proto/artifacts_pb2.py deleted file mode 100644 index f14042c3..00000000 --- a/dgp/proto/artifacts_pb2.py +++ /dev/null @@ -1,89 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/artifacts.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import dataset_pb2 as dgp_dot_proto_dot_dataset__pb2 -from dgp.proto import remote_pb2 as dgp_dot_proto_dot_remote__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/artifacts.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x19\x64gp/proto/artifacts.proto\x12\tdgp.proto\x1a\x17\x64gp/proto/dataset.proto\x1a\x16\x64gp/proto/remote.proto\"\x83\x01\n\x10\x44\x61tasetArtifacts\x12,\n\x08metadata\x18\x01 \x01(\x0b\x32\x1a.dgp.proto.DatasetMetadata\x12+\n\x08\x61rtifact\x18\x02 \x01(\x0b\x32\x19.dgp.proto.RemoteArtifact\x12\x14\n\x0c\x64\x65rived_from\x18\x03 \x03(\tb\x06proto3' - , - dependencies=[dgp_dot_proto_dot_dataset__pb2.DESCRIPTOR,dgp_dot_proto_dot_remote__pb2.DESCRIPTOR,]) - - - - -_DATASETARTIFACTS = _descriptor.Descriptor( - name='DatasetArtifacts', - full_name='dgp.proto.DatasetArtifacts', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.DatasetArtifacts.metadata', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='artifact', full_name='dgp.proto.DatasetArtifacts.artifact', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='derived_from', full_name='dgp.proto.DatasetArtifacts.derived_from', index=2, - number=3, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=90, - serialized_end=221, -) - -_DATASETARTIFACTS.fields_by_name['metadata'].message_type = dgp_dot_proto_dot_dataset__pb2._DATASETMETADATA -_DATASETARTIFACTS.fields_by_name['artifact'].message_type = dgp_dot_proto_dot_remote__pb2._REMOTEARTIFACT -DESCRIPTOR.message_types_by_name['DatasetArtifacts'] = _DATASETARTIFACTS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DatasetArtifacts = _reflection.GeneratedProtocolMessageType('DatasetArtifacts', (_message.Message,), { - 'DESCRIPTOR' : _DATASETARTIFACTS, - '__module__' : 'dgp.proto.artifacts_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatasetArtifacts) - }) -_sym_db.RegisterMessage(DatasetArtifacts) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/artifacts_pb2_grpc.py b/dgp/proto/artifacts_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/artifacts_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/dataset_pb2.py b/dgp/proto/dataset_pb2.py deleted file mode 100644 index 0030db3b..00000000 --- a/dgp/proto/dataset_pb2.py +++ /dev/null @@ -1,893 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/dataset.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from dgp.proto import remote_pb2 as dgp_dot_proto_dot_remote__pb2 -from dgp.proto import scene_pb2 as dgp_dot_proto_dot_scene__pb2 -from dgp.proto import statistics_pb2 as dgp_dot_proto_dot_statistics__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/dataset.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x17\x64gp/proto/dataset.proto\x12\tdgp.proto\x1a\x19google/protobuf/any.proto\x1a\x16\x64gp/proto/remote.proto\x1a\x15\x64gp/proto/scene.proto\x1a\x1a\x64gp/proto/statistics.proto\"\xec\x05\n\x08Ontology\x12\x35\n\nname_to_id\x18\x01 \x03(\x0b\x32!.dgp.proto.Ontology.NameToIdEntry\x12\x35\n\nid_to_name\x18\x02 \x03(\x0b\x32!.dgp.proto.Ontology.IdToNameEntry\x12\x33\n\x08\x63olormap\x18\x03 \x03(\x0b\x32!.dgp.proto.Ontology.ColormapEntry\x12\x31\n\x07isthing\x18\x04 \x03(\x0b\x32 .dgp.proto.Ontology.IsthingEntry\x12=\n\rsupercategory\x18\x05 \x03(\x0b\x32&.dgp.proto.Ontology.SupercategoryEntry\x12\x42\n\x10segmentation_ids\x18\x06 \x03(\x0b\x32(.dgp.proto.Ontology.SegmentationIdsEntry\x12\x11\n\tignore_id\x18\x07 \x01(\x03\x1a/\n\rNameToIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a/\n\rIdToNameEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a(\n\x05\x43olor\x12\t\n\x01r\x18\x01 \x01(\x05\x12\t\n\x01g\x18\x02 \x01(\x05\x12\t\n\x01\x62\x18\x03 \x01(\x05\x1aJ\n\rColormapEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.dgp.proto.Ontology.Color:\x02\x38\x01\x1a.\n\x0cIsthingEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x1a\x34\n\x12SupercategoryEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x36\n\x14SegmentationIdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\xbf\x03\n\x0f\x44\x61tasetMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x15\n\rcreation_date\x18\x03 \x01(\t\x12\x0f\n\x07\x63reator\x18\x04 \x01(\t\x12*\n\x0b\x62ucket_path\x18\x05 \x01(\x0b\x32\x15.dgp.proto.RemotePath\x12\'\n\x08raw_path\x18\x06 \x01(\x0b\x32\x15.dgp.proto.RemotePath\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x38\n\x06origin\x18\x08 \x01(\x0e\x32(.dgp.proto.DatasetMetadata.DatasetOrigin\x12\"\n\x1a\x61vailable_annotation_types\x18\t \x03(\x05\x12\x30\n\nstatistics\x18\n \x01(\x0b\x32\x1c.dgp.proto.DatasetStatistics\x12\x18\n\x10\x66rame_per_second\x18\x0b \x01(\x02\x12&\n\x08metadata\x18\x0c \x01(\x0b\x32\x14.google.protobuf.Any\")\n\rDatasetOrigin\x12\n\n\x06PUBLIC\x10\x00\x12\x0c\n\x08INTERNAL\x10\x01\"\xc7\x01\n\x0cSceneDataset\x12,\n\x08metadata\x18\x01 \x01(\x0b\x32\x1a.dgp.proto.DatasetMetadata\x12>\n\x0cscene_splits\x18\x02 \x03(\x0b\x32(.dgp.proto.SceneDataset.SceneSplitsEntry\x1aI\n\x10SceneSplitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.dgp.proto.SceneFiles:\x02\x38\x01\"\xbe\x01\n\x06\x41gents\x12,\n\x08metadata\x18\x01 \x01(\x0b\x32\x1a.dgp.proto.DatasetMetadata\x12:\n\ragents_splits\x18\x02 \x03(\x0b\x32#.dgp.proto.Agents.AgentsSplitsEntry\x1aJ\n\x11\x41gentsSplitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.dgp.proto.AgentFiles:\x02\x38\x01\"\x1f\n\nAgentFiles\x12\x11\n\tfilenames\x18\x01 \x03(\t*?\n\x0c\x44\x61tasetSplit\x12\t\n\x05TRAIN\x10\x00\x12\x07\n\x03VAL\x10\x01\x12\x08\n\x04TEST\x10\x02\x12\x11\n\rTRAIN_OVERFIT\x10\x03\x62\x06proto3' - , - dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,dgp_dot_proto_dot_remote__pb2.DESCRIPTOR,dgp_dot_proto_dot_scene__pb2.DESCRIPTOR,dgp_dot_proto_dot_statistics__pb2.DESCRIPTOR,]) - -_DATASETSPLIT = _descriptor.EnumDescriptor( - name='DatasetSplit', - full_name='dgp.proto.DatasetSplit', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='TRAIN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VAL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TEST', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TRAIN_OVERFIT', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1769, - serialized_end=1832, -) -_sym_db.RegisterEnumDescriptor(_DATASETSPLIT) - -DatasetSplit = enum_type_wrapper.EnumTypeWrapper(_DATASETSPLIT) -TRAIN = 0 -VAL = 1 -TEST = 2 -TRAIN_OVERFIT = 3 - - -_DATASETMETADATA_DATASETORIGIN = _descriptor.EnumDescriptor( - name='DatasetOrigin', - full_name='dgp.proto.DatasetMetadata.DatasetOrigin', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='PUBLIC', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INTERNAL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=1298, - serialized_end=1339, -) -_sym_db.RegisterEnumDescriptor(_DATASETMETADATA_DATASETORIGIN) - - -_ONTOLOGY_NAMETOIDENTRY = _descriptor.Descriptor( - name='NameToIdEntry', - full_name='dgp.proto.Ontology.NameToIdEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Ontology.NameToIdEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Ontology.NameToIdEntry.value', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=517, - serialized_end=564, -) - -_ONTOLOGY_IDTONAMEENTRY = _descriptor.Descriptor( - name='IdToNameEntry', - full_name='dgp.proto.Ontology.IdToNameEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Ontology.IdToNameEntry.key', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Ontology.IdToNameEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=566, - serialized_end=613, -) - -_ONTOLOGY_COLOR = _descriptor.Descriptor( - name='Color', - full_name='dgp.proto.Ontology.Color', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='r', full_name='dgp.proto.Ontology.Color.r', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='g', full_name='dgp.proto.Ontology.Color.g', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='b', full_name='dgp.proto.Ontology.Color.b', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=615, - serialized_end=655, -) - -_ONTOLOGY_COLORMAPENTRY = _descriptor.Descriptor( - name='ColormapEntry', - full_name='dgp.proto.Ontology.ColormapEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Ontology.ColormapEntry.key', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Ontology.ColormapEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=657, - serialized_end=731, -) - -_ONTOLOGY_ISTHINGENTRY = _descriptor.Descriptor( - name='IsthingEntry', - full_name='dgp.proto.Ontology.IsthingEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Ontology.IsthingEntry.key', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Ontology.IsthingEntry.value', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=733, - serialized_end=779, -) - -_ONTOLOGY_SUPERCATEGORYENTRY = _descriptor.Descriptor( - name='SupercategoryEntry', - full_name='dgp.proto.Ontology.SupercategoryEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Ontology.SupercategoryEntry.key', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Ontology.SupercategoryEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=781, - serialized_end=833, -) - -_ONTOLOGY_SEGMENTATIONIDSENTRY = _descriptor.Descriptor( - name='SegmentationIdsEntry', - full_name='dgp.proto.Ontology.SegmentationIdsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Ontology.SegmentationIdsEntry.key', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Ontology.SegmentationIdsEntry.value', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=835, - serialized_end=889, -) - -_ONTOLOGY = _descriptor.Descriptor( - name='Ontology', - full_name='dgp.proto.Ontology', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name_to_id', full_name='dgp.proto.Ontology.name_to_id', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='id_to_name', full_name='dgp.proto.Ontology.id_to_name', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='colormap', full_name='dgp.proto.Ontology.colormap', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='isthing', full_name='dgp.proto.Ontology.isthing', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='supercategory', full_name='dgp.proto.Ontology.supercategory', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='segmentation_ids', full_name='dgp.proto.Ontology.segmentation_ids', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ignore_id', full_name='dgp.proto.Ontology.ignore_id', index=6, - number=7, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_ONTOLOGY_NAMETOIDENTRY, _ONTOLOGY_IDTONAMEENTRY, _ONTOLOGY_COLOR, _ONTOLOGY_COLORMAPENTRY, _ONTOLOGY_ISTHINGENTRY, _ONTOLOGY_SUPERCATEGORYENTRY, _ONTOLOGY_SEGMENTATIONIDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=141, - serialized_end=889, -) - - -_DATASETMETADATA = _descriptor.Descriptor( - name='DatasetMetadata', - full_name='dgp.proto.DatasetMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='dgp.proto.DatasetMetadata.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='version', full_name='dgp.proto.DatasetMetadata.version', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creation_date', full_name='dgp.proto.DatasetMetadata.creation_date', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creator', full_name='dgp.proto.DatasetMetadata.creator', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bucket_path', full_name='dgp.proto.DatasetMetadata.bucket_path', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='raw_path', full_name='dgp.proto.DatasetMetadata.raw_path', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='description', full_name='dgp.proto.DatasetMetadata.description', index=6, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='origin', full_name='dgp.proto.DatasetMetadata.origin', index=7, - number=8, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='available_annotation_types', full_name='dgp.proto.DatasetMetadata.available_annotation_types', index=8, - number=9, type=5, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='statistics', full_name='dgp.proto.DatasetMetadata.statistics', index=9, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='frame_per_second', full_name='dgp.proto.DatasetMetadata.frame_per_second', index=10, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.DatasetMetadata.metadata', index=11, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _DATASETMETADATA_DATASETORIGIN, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=892, - serialized_end=1339, -) - - -_SCENEDATASET_SCENESPLITSENTRY = _descriptor.Descriptor( - name='SceneSplitsEntry', - full_name='dgp.proto.SceneDataset.SceneSplitsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.SceneDataset.SceneSplitsEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.SceneDataset.SceneSplitsEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1468, - serialized_end=1541, -) - -_SCENEDATASET = _descriptor.Descriptor( - name='SceneDataset', - full_name='dgp.proto.SceneDataset', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.SceneDataset.metadata', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='scene_splits', full_name='dgp.proto.SceneDataset.scene_splits', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SCENEDATASET_SCENESPLITSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1342, - serialized_end=1541, -) - - -_AGENTS_AGENTSSPLITSENTRY = _descriptor.Descriptor( - name='AgentsSplitsEntry', - full_name='dgp.proto.Agents.AgentsSplitsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Agents.AgentsSplitsEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Agents.AgentsSplitsEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1660, - serialized_end=1734, -) - -_AGENTS = _descriptor.Descriptor( - name='Agents', - full_name='dgp.proto.Agents', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.Agents.metadata', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='agents_splits', full_name='dgp.proto.Agents.agents_splits', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_AGENTS_AGENTSSPLITSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1544, - serialized_end=1734, -) - - -_AGENTFILES = _descriptor.Descriptor( - name='AgentFiles', - full_name='dgp.proto.AgentFiles', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='filenames', full_name='dgp.proto.AgentFiles.filenames', index=0, - number=1, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1736, - serialized_end=1767, -) - -_ONTOLOGY_NAMETOIDENTRY.containing_type = _ONTOLOGY -_ONTOLOGY_IDTONAMEENTRY.containing_type = _ONTOLOGY -_ONTOLOGY_COLOR.containing_type = _ONTOLOGY -_ONTOLOGY_COLORMAPENTRY.fields_by_name['value'].message_type = _ONTOLOGY_COLOR -_ONTOLOGY_COLORMAPENTRY.containing_type = _ONTOLOGY -_ONTOLOGY_ISTHINGENTRY.containing_type = _ONTOLOGY -_ONTOLOGY_SUPERCATEGORYENTRY.containing_type = _ONTOLOGY -_ONTOLOGY_SEGMENTATIONIDSENTRY.containing_type = _ONTOLOGY -_ONTOLOGY.fields_by_name['name_to_id'].message_type = _ONTOLOGY_NAMETOIDENTRY -_ONTOLOGY.fields_by_name['id_to_name'].message_type = _ONTOLOGY_IDTONAMEENTRY -_ONTOLOGY.fields_by_name['colormap'].message_type = _ONTOLOGY_COLORMAPENTRY -_ONTOLOGY.fields_by_name['isthing'].message_type = _ONTOLOGY_ISTHINGENTRY -_ONTOLOGY.fields_by_name['supercategory'].message_type = _ONTOLOGY_SUPERCATEGORYENTRY -_ONTOLOGY.fields_by_name['segmentation_ids'].message_type = _ONTOLOGY_SEGMENTATIONIDSENTRY -_DATASETMETADATA.fields_by_name['bucket_path'].message_type = dgp_dot_proto_dot_remote__pb2._REMOTEPATH -_DATASETMETADATA.fields_by_name['raw_path'].message_type = dgp_dot_proto_dot_remote__pb2._REMOTEPATH -_DATASETMETADATA.fields_by_name['origin'].enum_type = _DATASETMETADATA_DATASETORIGIN -_DATASETMETADATA.fields_by_name['statistics'].message_type = dgp_dot_proto_dot_statistics__pb2._DATASETSTATISTICS -_DATASETMETADATA.fields_by_name['metadata'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_DATASETMETADATA_DATASETORIGIN.containing_type = _DATASETMETADATA -_SCENEDATASET_SCENESPLITSENTRY.fields_by_name['value'].message_type = dgp_dot_proto_dot_scene__pb2._SCENEFILES -_SCENEDATASET_SCENESPLITSENTRY.containing_type = _SCENEDATASET -_SCENEDATASET.fields_by_name['metadata'].message_type = _DATASETMETADATA -_SCENEDATASET.fields_by_name['scene_splits'].message_type = _SCENEDATASET_SCENESPLITSENTRY -_AGENTS_AGENTSSPLITSENTRY.fields_by_name['value'].message_type = _AGENTFILES -_AGENTS_AGENTSSPLITSENTRY.containing_type = _AGENTS -_AGENTS.fields_by_name['metadata'].message_type = _DATASETMETADATA -_AGENTS.fields_by_name['agents_splits'].message_type = _AGENTS_AGENTSSPLITSENTRY -DESCRIPTOR.message_types_by_name['Ontology'] = _ONTOLOGY -DESCRIPTOR.message_types_by_name['DatasetMetadata'] = _DATASETMETADATA -DESCRIPTOR.message_types_by_name['SceneDataset'] = _SCENEDATASET -DESCRIPTOR.message_types_by_name['Agents'] = _AGENTS -DESCRIPTOR.message_types_by_name['AgentFiles'] = _AGENTFILES -DESCRIPTOR.enum_types_by_name['DatasetSplit'] = _DATASETSPLIT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Ontology = _reflection.GeneratedProtocolMessageType('Ontology', (_message.Message,), { - - 'NameToIdEntry' : _reflection.GeneratedProtocolMessageType('NameToIdEntry', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_NAMETOIDENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.NameToIdEntry) - }) - , - - 'IdToNameEntry' : _reflection.GeneratedProtocolMessageType('IdToNameEntry', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_IDTONAMEENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.IdToNameEntry) - }) - , - - 'Color' : _reflection.GeneratedProtocolMessageType('Color', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_COLOR, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.Color) - }) - , - - 'ColormapEntry' : _reflection.GeneratedProtocolMessageType('ColormapEntry', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_COLORMAPENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.ColormapEntry) - }) - , - - 'IsthingEntry' : _reflection.GeneratedProtocolMessageType('IsthingEntry', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_ISTHINGENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.IsthingEntry) - }) - , - - 'SupercategoryEntry' : _reflection.GeneratedProtocolMessageType('SupercategoryEntry', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_SUPERCATEGORYENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.SupercategoryEntry) - }) - , - - 'SegmentationIdsEntry' : _reflection.GeneratedProtocolMessageType('SegmentationIdsEntry', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY_SEGMENTATIONIDSENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology.SegmentationIdsEntry) - }) - , - 'DESCRIPTOR' : _ONTOLOGY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Ontology) - }) -_sym_db.RegisterMessage(Ontology) -_sym_db.RegisterMessage(Ontology.NameToIdEntry) -_sym_db.RegisterMessage(Ontology.IdToNameEntry) -_sym_db.RegisterMessage(Ontology.Color) -_sym_db.RegisterMessage(Ontology.ColormapEntry) -_sym_db.RegisterMessage(Ontology.IsthingEntry) -_sym_db.RegisterMessage(Ontology.SupercategoryEntry) -_sym_db.RegisterMessage(Ontology.SegmentationIdsEntry) - -DatasetMetadata = _reflection.GeneratedProtocolMessageType('DatasetMetadata', (_message.Message,), { - 'DESCRIPTOR' : _DATASETMETADATA, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatasetMetadata) - }) -_sym_db.RegisterMessage(DatasetMetadata) - -SceneDataset = _reflection.GeneratedProtocolMessageType('SceneDataset', (_message.Message,), { - - 'SceneSplitsEntry' : _reflection.GeneratedProtocolMessageType('SceneSplitsEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCENEDATASET_SCENESPLITSENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SceneDataset.SceneSplitsEntry) - }) - , - 'DESCRIPTOR' : _SCENEDATASET, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SceneDataset) - }) -_sym_db.RegisterMessage(SceneDataset) -_sym_db.RegisterMessage(SceneDataset.SceneSplitsEntry) - -Agents = _reflection.GeneratedProtocolMessageType('Agents', (_message.Message,), { - - 'AgentsSplitsEntry' : _reflection.GeneratedProtocolMessageType('AgentsSplitsEntry', (_message.Message,), { - 'DESCRIPTOR' : _AGENTS_AGENTSSPLITSENTRY, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Agents.AgentsSplitsEntry) - }) - , - 'DESCRIPTOR' : _AGENTS, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Agents) - }) -_sym_db.RegisterMessage(Agents) -_sym_db.RegisterMessage(Agents.AgentsSplitsEntry) - -AgentFiles = _reflection.GeneratedProtocolMessageType('AgentFiles', (_message.Message,), { - 'DESCRIPTOR' : _AGENTFILES, - '__module__' : 'dgp.proto.dataset_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.AgentFiles) - }) -_sym_db.RegisterMessage(AgentFiles) - - -_ONTOLOGY_NAMETOIDENTRY._options = None -_ONTOLOGY_IDTONAMEENTRY._options = None -_ONTOLOGY_COLORMAPENTRY._options = None -_ONTOLOGY_ISTHINGENTRY._options = None -_ONTOLOGY_SUPERCATEGORYENTRY._options = None -_ONTOLOGY_SEGMENTATIONIDSENTRY._options = None -_SCENEDATASET_SCENESPLITSENTRY._options = None -_AGENTS_AGENTSSPLITSENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/dataset_pb2_grpc.py b/dgp/proto/dataset_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/dataset_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/features_pb2.py b/dgp/proto/features_pb2.py deleted file mode 100644 index 04094b22..00000000 --- a/dgp/proto/features_pb2.py +++ /dev/null @@ -1,115 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/features.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/features.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x18\x64gp/proto/features.proto\x12\tdgp.proto\x1a\x18\x64gp/proto/geometry.proto*l\n\x0b\x46\x65\x61tureType\x12\x0c\n\x08\x41GENT_2D\x10\x00\x12\x0c\n\x08\x41GENT_3D\x10\x01\x12\x11\n\rEGO_INTENTION\x10\x02\x12\x0c\n\x08\x43ORRIDOR\x10\x03\x12\x10\n\x0cINTERSECTION\x10\x04\x12\x0e\n\nPARKED_CAR\x10\x05*)\n\x10\x46\x65\x61tureValueType\x12\x0b\n\x07NUMERIC\x10\x00\x12\x08\n\x04\x46ILE\x10\x01\x62\x06proto3' - , - dependencies=[dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,]) - -_FEATURETYPE = _descriptor.EnumDescriptor( - name='FeatureType', - full_name='dgp.proto.FeatureType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='AGENT_2D', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AGENT_3D', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='EGO_INTENTION', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CORRIDOR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INTERSECTION', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PARKED_CAR', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=65, - serialized_end=173, -) -_sym_db.RegisterEnumDescriptor(_FEATURETYPE) - -FeatureType = enum_type_wrapper.EnumTypeWrapper(_FEATURETYPE) -_FEATUREVALUETYPE = _descriptor.EnumDescriptor( - name='FeatureValueType', - full_name='dgp.proto.FeatureValueType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='NUMERIC', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FILE', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=175, - serialized_end=216, -) -_sym_db.RegisterEnumDescriptor(_FEATUREVALUETYPE) - -FeatureValueType = enum_type_wrapper.EnumTypeWrapper(_FEATUREVALUETYPE) -AGENT_2D = 0 -AGENT_3D = 1 -EGO_INTENTION = 2 -CORRIDOR = 3 -INTERSECTION = 4 -PARKED_CAR = 5 -NUMERIC = 0 -FILE = 1 - - -DESCRIPTOR.enum_types_by_name['FeatureType'] = _FEATURETYPE -DESCRIPTOR.enum_types_by_name['FeatureValueType'] = _FEATUREVALUETYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/features_pb2_grpc.py b/dgp/proto/features_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/features_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/file_datum_pb2.py b/dgp/proto/file_datum_pb2.py deleted file mode 100644 index 149dc7c3..00000000 --- a/dgp/proto/file_datum_pb2.py +++ /dev/null @@ -1,178 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/file_datum.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/file_datum.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1a\x64gp/proto/file_datum.proto\x12\tdgp.proto\x1a\x19google/protobuf/any.proto\"\xc8\x01\n\tFileDatum\x12,\n\x05\x64\x61tum\x18\x01 \x01(\x0b\x32\x1d.dgp.proto.SelfDescribingFile\x12:\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32%.dgp.proto.FileDatum.AnnotationsEntry\x1aQ\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.dgp.proto.SelfDescribingFile:\x02\x38\x01\"L\n\x12SelfDescribingFile\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12$\n\x06schema\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Anyb\x06proto3' - , - dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,]) - - - - -_FILEDATUM_ANNOTATIONSENTRY = _descriptor.Descriptor( - name='AnnotationsEntry', - full_name='dgp.proto.FileDatum.AnnotationsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.FileDatum.AnnotationsEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.FileDatum.AnnotationsEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=188, - serialized_end=269, -) - -_FILEDATUM = _descriptor.Descriptor( - name='FileDatum', - full_name='dgp.proto.FileDatum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='datum', full_name='dgp.proto.FileDatum.datum', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.FileDatum.annotations', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_FILEDATUM_ANNOTATIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=69, - serialized_end=269, -) - - -_SELFDESCRIBINGFILE = _descriptor.Descriptor( - name='SelfDescribingFile', - full_name='dgp.proto.SelfDescribingFile', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='filename', full_name='dgp.proto.SelfDescribingFile.filename', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='schema', full_name='dgp.proto.SelfDescribingFile.schema', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=271, - serialized_end=347, -) - -_FILEDATUM_ANNOTATIONSENTRY.fields_by_name['value'].message_type = _SELFDESCRIBINGFILE -_FILEDATUM_ANNOTATIONSENTRY.containing_type = _FILEDATUM -_FILEDATUM.fields_by_name['datum'].message_type = _SELFDESCRIBINGFILE -_FILEDATUM.fields_by_name['annotations'].message_type = _FILEDATUM_ANNOTATIONSENTRY -_SELFDESCRIBINGFILE.fields_by_name['schema'].message_type = google_dot_protobuf_dot_any__pb2._ANY -DESCRIPTOR.message_types_by_name['FileDatum'] = _FILEDATUM -DESCRIPTOR.message_types_by_name['SelfDescribingFile'] = _SELFDESCRIBINGFILE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FileDatum = _reflection.GeneratedProtocolMessageType('FileDatum', (_message.Message,), { - - 'AnnotationsEntry' : _reflection.GeneratedProtocolMessageType('AnnotationsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FILEDATUM_ANNOTATIONSENTRY, - '__module__' : 'dgp.proto.file_datum_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.FileDatum.AnnotationsEntry) - }) - , - 'DESCRIPTOR' : _FILEDATUM, - '__module__' : 'dgp.proto.file_datum_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.FileDatum) - }) -_sym_db.RegisterMessage(FileDatum) -_sym_db.RegisterMessage(FileDatum.AnnotationsEntry) - -SelfDescribingFile = _reflection.GeneratedProtocolMessageType('SelfDescribingFile', (_message.Message,), { - 'DESCRIPTOR' : _SELFDESCRIBINGFILE, - '__module__' : 'dgp.proto.file_datum_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SelfDescribingFile) - }) -_sym_db.RegisterMessage(SelfDescribingFile) - - -_FILEDATUM_ANNOTATIONSENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/file_datum_pb2_grpc.py b/dgp/proto/file_datum_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/file_datum_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/geometry_pb2.py b/dgp/proto/geometry_pb2.py deleted file mode 100644 index 05baffd8..00000000 --- a/dgp/proto/geometry_pb2.py +++ /dev/null @@ -1,470 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/geometry.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/geometry.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x18\x64gp/proto/geometry.proto\x12\tdgp.proto\"*\n\x07Point3D\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"*\n\x07Vector3\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\"<\n\nQuaternion\x12\n\n\x02qx\x18\x01 \x01(\x01\x12\n\n\x02qy\x18\x02 \x01(\x01\x12\n\n\x02qz\x18\x03 \x01(\x01\x12\n\n\x02qw\x18\x04 \x01(\x01\"}\n\x04Pose\x12\'\n\x0btranslation\x18\x01 \x01(\x0b\x32\x12.dgp.proto.Vector3\x12\'\n\x08rotation\x18\x02 \x01(\x0b\x32\x15.dgp.proto.Quaternion\x12#\n\x1breference_coordinate_system\x18\x03 \x01(\t\"\xe7\x02\n\x10\x43\x61meraIntrinsics\x12\n\n\x02\x66x\x18\x01 \x01(\x01\x12\n\n\x02\x66y\x18\x02 \x01(\x01\x12\n\n\x02\x63x\x18\x03 \x01(\x01\x12\n\n\x02\x63y\x18\x04 \x01(\x01\x12\x0c\n\x04skew\x18\x05 \x01(\x01\x12\x0b\n\x03\x66ov\x18\x06 \x01(\x01\x12\x0f\n\x07\x66isheye\x18\x07 \x01(\x05\x12\n\n\x02k1\x18\x08 \x01(\x01\x12\n\n\x02k2\x18\t \x01(\x01\x12\n\n\x02k3\x18\n \x01(\x01\x12\n\n\x02k4\x18\x0b \x01(\x01\x12\n\n\x02k5\x18\x0c \x01(\x01\x12\n\n\x02k6\x18\r \x01(\x01\x12\n\n\x02p1\x18\x0e \x01(\x01\x12\n\n\x02p2\x18\x0f \x01(\x01\x12\n\n\x02s1\x18\x10 \x01(\x01\x12\n\n\x02s2\x18\x11 \x01(\x01\x12\n\n\x02s3\x18\x12 \x01(\x01\x12\n\n\x02s4\x18\x13 \x01(\x01\x12\x0c\n\x04taux\x18\x14 \x01(\x01\x12\x0c\n\x04tauy\x18\x15 \x01(\x01\x12\r\n\x05\x61lpha\x18\x16 \x01(\x01\x12\x0c\n\x04\x62\x65ta\x18\x17 \x01(\x01\x12\t\n\x01w\x18\x18 \x01(\x01\x12\n\n\x02xi\x18\x19 \x01(\x01\x12\x17\n\x0f\x65quirectangular\x18\x1a \x01(\x05\x62\x06proto3' -) - - - - -_POINT3D = _descriptor.Descriptor( - name='Point3D', - full_name='dgp.proto.Point3D', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.Point3D.x', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.Point3D.y', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='dgp.proto.Point3D.z', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=39, - serialized_end=81, -) - - -_VECTOR3 = _descriptor.Descriptor( - name='Vector3', - full_name='dgp.proto.Vector3', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='x', full_name='dgp.proto.Vector3.x', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='y', full_name='dgp.proto.Vector3.y', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='z', full_name='dgp.proto.Vector3.z', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=83, - serialized_end=125, -) - - -_QUATERNION = _descriptor.Descriptor( - name='Quaternion', - full_name='dgp.proto.Quaternion', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='qx', full_name='dgp.proto.Quaternion.qx', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='qy', full_name='dgp.proto.Quaternion.qy', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='qz', full_name='dgp.proto.Quaternion.qz', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='qw', full_name='dgp.proto.Quaternion.qw', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=127, - serialized_end=187, -) - - -_POSE = _descriptor.Descriptor( - name='Pose', - full_name='dgp.proto.Pose', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='translation', full_name='dgp.proto.Pose.translation', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='rotation', full_name='dgp.proto.Pose.rotation', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='reference_coordinate_system', full_name='dgp.proto.Pose.reference_coordinate_system', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=189, - serialized_end=314, -) - - -_CAMERAINTRINSICS = _descriptor.Descriptor( - name='CameraIntrinsics', - full_name='dgp.proto.CameraIntrinsics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='fx', full_name='dgp.proto.CameraIntrinsics.fx', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fy', full_name='dgp.proto.CameraIntrinsics.fy', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cx', full_name='dgp.proto.CameraIntrinsics.cx', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cy', full_name='dgp.proto.CameraIntrinsics.cy', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='skew', full_name='dgp.proto.CameraIntrinsics.skew', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fov', full_name='dgp.proto.CameraIntrinsics.fov', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fisheye', full_name='dgp.proto.CameraIntrinsics.fisheye', index=6, - number=7, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='k1', full_name='dgp.proto.CameraIntrinsics.k1', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='k2', full_name='dgp.proto.CameraIntrinsics.k2', index=8, - number=9, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='k3', full_name='dgp.proto.CameraIntrinsics.k3', index=9, - number=10, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='k4', full_name='dgp.proto.CameraIntrinsics.k4', index=10, - number=11, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='k5', full_name='dgp.proto.CameraIntrinsics.k5', index=11, - number=12, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='k6', full_name='dgp.proto.CameraIntrinsics.k6', index=12, - number=13, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='p1', full_name='dgp.proto.CameraIntrinsics.p1', index=13, - number=14, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='p2', full_name='dgp.proto.CameraIntrinsics.p2', index=14, - number=15, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='s1', full_name='dgp.proto.CameraIntrinsics.s1', index=15, - number=16, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='s2', full_name='dgp.proto.CameraIntrinsics.s2', index=16, - number=17, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='s3', full_name='dgp.proto.CameraIntrinsics.s3', index=17, - number=18, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='s4', full_name='dgp.proto.CameraIntrinsics.s4', index=18, - number=19, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='taux', full_name='dgp.proto.CameraIntrinsics.taux', index=19, - number=20, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='tauy', full_name='dgp.proto.CameraIntrinsics.tauy', index=20, - number=21, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='alpha', full_name='dgp.proto.CameraIntrinsics.alpha', index=21, - number=22, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='beta', full_name='dgp.proto.CameraIntrinsics.beta', index=22, - number=23, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='w', full_name='dgp.proto.CameraIntrinsics.w', index=23, - number=24, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='xi', full_name='dgp.proto.CameraIntrinsics.xi', index=24, - number=25, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='equirectangular', full_name='dgp.proto.CameraIntrinsics.equirectangular', index=25, - number=26, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=317, - serialized_end=676, -) - -_POSE.fields_by_name['translation'].message_type = _VECTOR3 -_POSE.fields_by_name['rotation'].message_type = _QUATERNION -DESCRIPTOR.message_types_by_name['Point3D'] = _POINT3D -DESCRIPTOR.message_types_by_name['Vector3'] = _VECTOR3 -DESCRIPTOR.message_types_by_name['Quaternion'] = _QUATERNION -DESCRIPTOR.message_types_by_name['Pose'] = _POSE -DESCRIPTOR.message_types_by_name['CameraIntrinsics'] = _CAMERAINTRINSICS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Point3D = _reflection.GeneratedProtocolMessageType('Point3D', (_message.Message,), { - 'DESCRIPTOR' : _POINT3D, - '__module__' : 'dgp.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Point3D) - }) -_sym_db.RegisterMessage(Point3D) - -Vector3 = _reflection.GeneratedProtocolMessageType('Vector3', (_message.Message,), { - 'DESCRIPTOR' : _VECTOR3, - '__module__' : 'dgp.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Vector3) - }) -_sym_db.RegisterMessage(Vector3) - -Quaternion = _reflection.GeneratedProtocolMessageType('Quaternion', (_message.Message,), { - 'DESCRIPTOR' : _QUATERNION, - '__module__' : 'dgp.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Quaternion) - }) -_sym_db.RegisterMessage(Quaternion) - -Pose = _reflection.GeneratedProtocolMessageType('Pose', (_message.Message,), { - 'DESCRIPTOR' : _POSE, - '__module__' : 'dgp.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Pose) - }) -_sym_db.RegisterMessage(Pose) - -CameraIntrinsics = _reflection.GeneratedProtocolMessageType('CameraIntrinsics', (_message.Message,), { - 'DESCRIPTOR' : _CAMERAINTRINSICS, - '__module__' : 'dgp.proto.geometry_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.CameraIntrinsics) - }) -_sym_db.RegisterMessage(CameraIntrinsics) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/geometry_pb2_grpc.py b/dgp/proto/geometry_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/geometry_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/identifiers_pb2.py b/dgp/proto/identifiers_pb2.py deleted file mode 100644 index d7ca9d12..00000000 --- a/dgp/proto/identifiers_pb2.py +++ /dev/null @@ -1,94 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/identifiers.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/identifiers.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1b\x64gp/proto/identifiers.proto\x12\tdgp.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"b\n\x07\x44\x61tumId\x12\x0b\n\x03log\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05index\x18\x04 \x01(\x04\x62\x06proto3' - , - dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) - - - - -_DATUMID = _descriptor.Descriptor( - name='DatumId', - full_name='dgp.proto.DatumId', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='log', full_name='dgp.proto.DatumId.log', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='name', full_name='dgp.proto.DatumId.name', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp', full_name='dgp.proto.DatumId.timestamp', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='index', full_name='dgp.proto.DatumId.index', index=3, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=75, - serialized_end=173, -) - -_DATUMID.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -DESCRIPTOR.message_types_by_name['DatumId'] = _DATUMID -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DatumId = _reflection.GeneratedProtocolMessageType('DatumId', (_message.Message,), { - 'DESCRIPTOR' : _DATUMID, - '__module__' : 'dgp.proto.identifiers_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatumId) - }) -_sym_db.RegisterMessage(DatumId) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/identifiers_pb2_grpc.py b/dgp/proto/identifiers_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/identifiers_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/image_pb2.py b/dgp/proto/image_pb2.py deleted file mode 100644 index 4dab867f..00000000 --- a/dgp/proto/image_pb2.py +++ /dev/null @@ -1,215 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/image.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/image.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x15\x64gp/proto/image.proto\x12\tdgp.proto\x1a\x18\x64gp/proto/geometry.proto\x1a\x19google/protobuf/any.proto\"\xce\x02\n\x05Image\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x10\n\x08\x63hannels\x18\x04 \x01(\x05\x12\x36\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32!.dgp.proto.Image.AnnotationsEntry\x12\x30\n\x08metadata\x18\x06 \x03(\x0b\x32\x1e.dgp.proto.Image.MetadataEntry\x12\x1d\n\x04pose\x18\x07 \x01(\x0b\x32\x0f.dgp.proto.Pose\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x62\x06proto3' - , - dependencies=[dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,]) - - - - -_IMAGE_ANNOTATIONSENTRY = _descriptor.Descriptor( - name='AnnotationsEntry', - full_name='dgp.proto.Image.AnnotationsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Image.AnnotationsEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Image.AnnotationsEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=303, - serialized_end=353, -) - -_IMAGE_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.Image.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Image.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Image.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=355, - serialized_end=424, -) - -_IMAGE = _descriptor.Descriptor( - name='Image', - full_name='dgp.proto.Image', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='filename', full_name='dgp.proto.Image.filename', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='height', full_name='dgp.proto.Image.height', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='width', full_name='dgp.proto.Image.width', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channels', full_name='dgp.proto.Image.channels', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.Image.annotations', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.Image.metadata', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose', full_name='dgp.proto.Image.pose', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_IMAGE_ANNOTATIONSENTRY, _IMAGE_METADATAENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=90, - serialized_end=424, -) - -_IMAGE_ANNOTATIONSENTRY.containing_type = _IMAGE -_IMAGE_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_IMAGE_METADATAENTRY.containing_type = _IMAGE -_IMAGE.fields_by_name['annotations'].message_type = _IMAGE_ANNOTATIONSENTRY -_IMAGE.fields_by_name['metadata'].message_type = _IMAGE_METADATAENTRY -_IMAGE.fields_by_name['pose'].message_type = dgp_dot_proto_dot_geometry__pb2._POSE -DESCRIPTOR.message_types_by_name['Image'] = _IMAGE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Image = _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), { - - 'AnnotationsEntry' : _reflection.GeneratedProtocolMessageType('AnnotationsEntry', (_message.Message,), { - 'DESCRIPTOR' : _IMAGE_ANNOTATIONSENTRY, - '__module__' : 'dgp.proto.image_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Image.AnnotationsEntry) - }) - , - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _IMAGE_METADATAENTRY, - '__module__' : 'dgp.proto.image_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Image.MetadataEntry) - }) - , - 'DESCRIPTOR' : _IMAGE, - '__module__' : 'dgp.proto.image_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Image) - }) -_sym_db.RegisterMessage(Image) -_sym_db.RegisterMessage(Image.AnnotationsEntry) -_sym_db.RegisterMessage(Image.MetadataEntry) - - -_IMAGE_ANNOTATIONSENTRY._options = None -_IMAGE_METADATAENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/image_pb2_grpc.py b/dgp/proto/image_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/image_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/map_pb2.py b/dgp/proto/map_pb2.py deleted file mode 100644 index d84b9f96..00000000 --- a/dgp/proto/map_pb2.py +++ /dev/null @@ -1,500 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/map.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 -from dgp.proto import identifiers_pb2 as dgp_dot_proto_dot_identifiers__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/map.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x13\x64gp/proto/map.proto\x12\tdgp.proto\x1a\x18\x64gp/proto/geometry.proto\x1a\x1b\x64gp/proto/identifiers.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfa\x04\n\x0bLaneDivider\x12&\n\nway_points\x18\x01 \x03(\x0b\x32\x12.dgp.proto.Point3D\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.dgp.proto.LaneDivider.LaneDividerType\x12\x36\n\x05\x63olor\x18\x03 \x01(\x0e\x32\'.dgp.proto.LaneDivider.LaneDividerColor\x12<\n\x08material\x18\x04 \x01(\x0e\x32*.dgp.proto.LaneDivider.LaneDividerMaterial\"\xfc\x01\n\x0fLaneDividerType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x15\n\x11TYPE_SINGLE_SOLID\x10\x01\x12\x16\n\x12TYPE_SINGLE_DASHED\x10\x02\x12\x1c\n\x18TYPE_SINGLE_WHITE_DASHED\x10\x03\x12\x15\n\x11TYPE_DOUBLE_SOLID\x10\x04\x12\x16\n\x12TYPE_DOUBLE_DASHED\x10\x05\x12%\n!TYPE_DOUBLE_SOLID_FAR_DASHED_NEAR\x10\x06\x12%\n!TYPE_DOUBLE_DASHED_FAR_SOLID_NEAR\x10\x07\x12\r\n\tTYPE_CURB\x10\x08\"W\n\x10LaneDividerColor\x12\x11\n\rCOLOR_UNKNOWN\x10\x00\x12\x10\n\x0c\x43OLOR_YELLOW\x10\x01\x12\x0f\n\x0b\x43OLOR_WHITE\x10\x02\x12\r\n\tCOLOR_RED\x10\x03\"?\n\x13LaneDividerMaterial\x12\x14\n\x10MATERIAL_UNKNOWN\x10\x00\x12\x12\n\x0eMATERIAL_PAINT\x10\x01\"\xa8\x01\n\x04Lane\x12\n\n\x02id\x18\x01 \x01(\t\x12+\n\x0b\x63\x65nter_line\x18\x02 \x01(\x0b\x32\x16.dgp.proto.LaneDivider\x12\x32\n\x12left_lane_boundary\x18\x03 \x01(\x0b\x32\x16.dgp.proto.LaneDivider\x12\x33\n\x13right_lane_boundary\x18\x04 \x01(\x0b\x32\x16.dgp.proto.LaneDivider\"1\n\x08\x42oundary\x12%\n\x05\x65\x64ges\x18\x01 \x03(\x0b\x32\x16.dgp.proto.LaneDivider\"I\n\x04Zone\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\'\n\nboundaries\x18\x03 \x03(\x0b\x32\x13.dgp.proto.Boundary\"\xa6\x01\n\x08SceneMap\x12\x1e\n\x05lanes\x18\x01 \x03(\x0b\x32\x0f.dgp.proto.Lane\x12\x1e\n\x05zones\x18\x02 \x03(\x0b\x32\x0f.dgp.proto.Zone\x12\x32\n\ntransforms\x18\x03 \x03(\x0b\x32\x1e.dgp.proto.LocalEarthTransform\x12&\n\x08map_data\x18\x04 \x01(\x0b\x32\x14.google.protobuf.Any\"[\n\x13LocalEarthTransform\x12%\n\tsample_id\x18\x01 \x01(\x0b\x32\x12.dgp.proto.DatumId\x12\x1d\n\x04pose\x18\x02 \x01(\x0b\x32\x0f.dgp.proto.Poseb\x06proto3' - , - dependencies=[dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,dgp_dot_proto_dot_identifiers__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) - - - -_LANEDIVIDER_LANEDIVIDERTYPE = _descriptor.EnumDescriptor( - name='LaneDividerType', - full_name='dgp.proto.LaneDivider.LaneDividerType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='TYPE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_SINGLE_SOLID', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_SINGLE_DASHED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_SINGLE_WHITE_DASHED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_DOUBLE_SOLID', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_DOUBLE_DASHED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_DOUBLE_SOLID_FAR_DASHED_NEAR', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_DOUBLE_DASHED_FAR_SOLID_NEAR', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TYPE_CURB', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=378, - serialized_end=630, -) -_sym_db.RegisterEnumDescriptor(_LANEDIVIDER_LANEDIVIDERTYPE) - -_LANEDIVIDER_LANEDIVIDERCOLOR = _descriptor.EnumDescriptor( - name='LaneDividerColor', - full_name='dgp.proto.LaneDivider.LaneDividerColor', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='COLOR_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COLOR_YELLOW', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COLOR_WHITE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COLOR_RED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=632, - serialized_end=719, -) -_sym_db.RegisterEnumDescriptor(_LANEDIVIDER_LANEDIVIDERCOLOR) - -_LANEDIVIDER_LANEDIVIDERMATERIAL = _descriptor.EnumDescriptor( - name='LaneDividerMaterial', - full_name='dgp.proto.LaneDivider.LaneDividerMaterial', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='MATERIAL_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MATERIAL_PAINT', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=721, - serialized_end=784, -) -_sym_db.RegisterEnumDescriptor(_LANEDIVIDER_LANEDIVIDERMATERIAL) - - -_LANEDIVIDER = _descriptor.Descriptor( - name='LaneDivider', - full_name='dgp.proto.LaneDivider', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='way_points', full_name='dgp.proto.LaneDivider.way_points', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='type', full_name='dgp.proto.LaneDivider.type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='color', full_name='dgp.proto.LaneDivider.color', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='material', full_name='dgp.proto.LaneDivider.material', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _LANEDIVIDER_LANEDIVIDERTYPE, - _LANEDIVIDER_LANEDIVIDERCOLOR, - _LANEDIVIDER_LANEDIVIDERMATERIAL, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=150, - serialized_end=784, -) - - -_LANE = _descriptor.Descriptor( - name='Lane', - full_name='dgp.proto.Lane', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dgp.proto.Lane.id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='center_line', full_name='dgp.proto.Lane.center_line', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='left_lane_boundary', full_name='dgp.proto.Lane.left_lane_boundary', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='right_lane_boundary', full_name='dgp.proto.Lane.right_lane_boundary', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=787, - serialized_end=955, -) - - -_BOUNDARY = _descriptor.Descriptor( - name='Boundary', - full_name='dgp.proto.Boundary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='edges', full_name='dgp.proto.Boundary.edges', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=957, - serialized_end=1006, -) - - -_ZONE = _descriptor.Descriptor( - name='Zone', - full_name='dgp.proto.Zone', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dgp.proto.Zone.id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='type', full_name='dgp.proto.Zone.type', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='boundaries', full_name='dgp.proto.Zone.boundaries', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1008, - serialized_end=1081, -) - - -_SCENEMAP = _descriptor.Descriptor( - name='SceneMap', - full_name='dgp.proto.SceneMap', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='lanes', full_name='dgp.proto.SceneMap.lanes', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='zones', full_name='dgp.proto.SceneMap.zones', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='transforms', full_name='dgp.proto.SceneMap.transforms', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='map_data', full_name='dgp.proto.SceneMap.map_data', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1084, - serialized_end=1250, -) - - -_LOCALEARTHTRANSFORM = _descriptor.Descriptor( - name='LocalEarthTransform', - full_name='dgp.proto.LocalEarthTransform', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='sample_id', full_name='dgp.proto.LocalEarthTransform.sample_id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose', full_name='dgp.proto.LocalEarthTransform.pose', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1252, - serialized_end=1343, -) - -_LANEDIVIDER.fields_by_name['way_points'].message_type = dgp_dot_proto_dot_geometry__pb2._POINT3D -_LANEDIVIDER.fields_by_name['type'].enum_type = _LANEDIVIDER_LANEDIVIDERTYPE -_LANEDIVIDER.fields_by_name['color'].enum_type = _LANEDIVIDER_LANEDIVIDERCOLOR -_LANEDIVIDER.fields_by_name['material'].enum_type = _LANEDIVIDER_LANEDIVIDERMATERIAL -_LANEDIVIDER_LANEDIVIDERTYPE.containing_type = _LANEDIVIDER -_LANEDIVIDER_LANEDIVIDERCOLOR.containing_type = _LANEDIVIDER -_LANEDIVIDER_LANEDIVIDERMATERIAL.containing_type = _LANEDIVIDER -_LANE.fields_by_name['center_line'].message_type = _LANEDIVIDER -_LANE.fields_by_name['left_lane_boundary'].message_type = _LANEDIVIDER -_LANE.fields_by_name['right_lane_boundary'].message_type = _LANEDIVIDER -_BOUNDARY.fields_by_name['edges'].message_type = _LANEDIVIDER -_ZONE.fields_by_name['boundaries'].message_type = _BOUNDARY -_SCENEMAP.fields_by_name['lanes'].message_type = _LANE -_SCENEMAP.fields_by_name['zones'].message_type = _ZONE -_SCENEMAP.fields_by_name['transforms'].message_type = _LOCALEARTHTRANSFORM -_SCENEMAP.fields_by_name['map_data'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_LOCALEARTHTRANSFORM.fields_by_name['sample_id'].message_type = dgp_dot_proto_dot_identifiers__pb2._DATUMID -_LOCALEARTHTRANSFORM.fields_by_name['pose'].message_type = dgp_dot_proto_dot_geometry__pb2._POSE -DESCRIPTOR.message_types_by_name['LaneDivider'] = _LANEDIVIDER -DESCRIPTOR.message_types_by_name['Lane'] = _LANE -DESCRIPTOR.message_types_by_name['Boundary'] = _BOUNDARY -DESCRIPTOR.message_types_by_name['Zone'] = _ZONE -DESCRIPTOR.message_types_by_name['SceneMap'] = _SCENEMAP -DESCRIPTOR.message_types_by_name['LocalEarthTransform'] = _LOCALEARTHTRANSFORM -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -LaneDivider = _reflection.GeneratedProtocolMessageType('LaneDivider', (_message.Message,), { - 'DESCRIPTOR' : _LANEDIVIDER, - '__module__' : 'dgp.proto.map_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.LaneDivider) - }) -_sym_db.RegisterMessage(LaneDivider) - -Lane = _reflection.GeneratedProtocolMessageType('Lane', (_message.Message,), { - 'DESCRIPTOR' : _LANE, - '__module__' : 'dgp.proto.map_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Lane) - }) -_sym_db.RegisterMessage(Lane) - -Boundary = _reflection.GeneratedProtocolMessageType('Boundary', (_message.Message,), { - 'DESCRIPTOR' : _BOUNDARY, - '__module__' : 'dgp.proto.map_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Boundary) - }) -_sym_db.RegisterMessage(Boundary) - -Zone = _reflection.GeneratedProtocolMessageType('Zone', (_message.Message,), { - 'DESCRIPTOR' : _ZONE, - '__module__' : 'dgp.proto.map_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Zone) - }) -_sym_db.RegisterMessage(Zone) - -SceneMap = _reflection.GeneratedProtocolMessageType('SceneMap', (_message.Message,), { - 'DESCRIPTOR' : _SCENEMAP, - '__module__' : 'dgp.proto.map_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SceneMap) - }) -_sym_db.RegisterMessage(SceneMap) - -LocalEarthTransform = _reflection.GeneratedProtocolMessageType('LocalEarthTransform', (_message.Message,), { - 'DESCRIPTOR' : _LOCALEARTHTRANSFORM, - '__module__' : 'dgp.proto.map_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.LocalEarthTransform) - }) -_sym_db.RegisterMessage(LocalEarthTransform) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/map_pb2_grpc.py b/dgp/proto/map_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/map_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/ontology_pb2.py b/dgp/proto/ontology_pb2.py deleted file mode 100644 index df8a0513..00000000 --- a/dgp/proto/ontology_pb2.py +++ /dev/null @@ -1,289 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/ontology.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/ontology.proto', - package='dgp.proto.v2', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x18\x64gp/proto/ontology.proto\x12\x0c\x64gp.proto.v2\"\xab\x01\n\x0cOntologyItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\r\x12/\n\x05\x63olor\x18\x03 \x01(\x0b\x32 .dgp.proto.v2.OntologyItem.Color\x12\x0f\n\x07isthing\x18\x04 \x01(\x08\x12\x15\n\rsupercategory\x18\x05 \x01(\t\x1a(\n\x05\x43olor\x12\t\n\x01r\x18\x01 \x01(\r\x12\t\n\x01g\x18\x02 \x01(\r\x12\t\n\x01\x62\x18\x03 \x01(\r\"5\n\x08Ontology\x12)\n\x05items\x18\x01 \x03(\x0b\x32\x1a.dgp.proto.v2.OntologyItem\"K\n\x13\x46\x65\x61tureOntologyItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\r\x12\x1a\n\x12\x66\x65\x61ture_value_type\x18\x03 \x01(\r\"C\n\x0f\x46\x65\x61tureOntology\x12\x30\n\x05items\x18\x01 \x03(\x0b\x32!.dgp.proto.v2.FeatureOntologyItemb\x06proto3' -) - - - - -_ONTOLOGYITEM_COLOR = _descriptor.Descriptor( - name='Color', - full_name='dgp.proto.v2.OntologyItem.Color', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='r', full_name='dgp.proto.v2.OntologyItem.Color.r', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='g', full_name='dgp.proto.v2.OntologyItem.Color.g', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='b', full_name='dgp.proto.v2.OntologyItem.Color.b', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=174, - serialized_end=214, -) - -_ONTOLOGYITEM = _descriptor.Descriptor( - name='OntologyItem', - full_name='dgp.proto.v2.OntologyItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='dgp.proto.v2.OntologyItem.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='id', full_name='dgp.proto.v2.OntologyItem.id', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='color', full_name='dgp.proto.v2.OntologyItem.color', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='isthing', full_name='dgp.proto.v2.OntologyItem.isthing', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='supercategory', full_name='dgp.proto.v2.OntologyItem.supercategory', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_ONTOLOGYITEM_COLOR, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=43, - serialized_end=214, -) - - -_ONTOLOGY = _descriptor.Descriptor( - name='Ontology', - full_name='dgp.proto.v2.Ontology', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='items', full_name='dgp.proto.v2.Ontology.items', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=216, - serialized_end=269, -) - - -_FEATUREONTOLOGYITEM = _descriptor.Descriptor( - name='FeatureOntologyItem', - full_name='dgp.proto.v2.FeatureOntologyItem', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='dgp.proto.v2.FeatureOntologyItem.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='id', full_name='dgp.proto.v2.FeatureOntologyItem.id', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='feature_value_type', full_name='dgp.proto.v2.FeatureOntologyItem.feature_value_type', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=271, - serialized_end=346, -) - - -_FEATUREONTOLOGY = _descriptor.Descriptor( - name='FeatureOntology', - full_name='dgp.proto.v2.FeatureOntology', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='items', full_name='dgp.proto.v2.FeatureOntology.items', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=348, - serialized_end=415, -) - -_ONTOLOGYITEM_COLOR.containing_type = _ONTOLOGYITEM -_ONTOLOGYITEM.fields_by_name['color'].message_type = _ONTOLOGYITEM_COLOR -_ONTOLOGY.fields_by_name['items'].message_type = _ONTOLOGYITEM -_FEATUREONTOLOGY.fields_by_name['items'].message_type = _FEATUREONTOLOGYITEM -DESCRIPTOR.message_types_by_name['OntologyItem'] = _ONTOLOGYITEM -DESCRIPTOR.message_types_by_name['Ontology'] = _ONTOLOGY -DESCRIPTOR.message_types_by_name['FeatureOntologyItem'] = _FEATUREONTOLOGYITEM -DESCRIPTOR.message_types_by_name['FeatureOntology'] = _FEATUREONTOLOGY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -OntologyItem = _reflection.GeneratedProtocolMessageType('OntologyItem', (_message.Message,), { - - 'Color' : _reflection.GeneratedProtocolMessageType('Color', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGYITEM_COLOR, - '__module__' : 'dgp.proto.ontology_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.v2.OntologyItem.Color) - }) - , - 'DESCRIPTOR' : _ONTOLOGYITEM, - '__module__' : 'dgp.proto.ontology_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.v2.OntologyItem) - }) -_sym_db.RegisterMessage(OntologyItem) -_sym_db.RegisterMessage(OntologyItem.Color) - -Ontology = _reflection.GeneratedProtocolMessageType('Ontology', (_message.Message,), { - 'DESCRIPTOR' : _ONTOLOGY, - '__module__' : 'dgp.proto.ontology_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.v2.Ontology) - }) -_sym_db.RegisterMessage(Ontology) - -FeatureOntologyItem = _reflection.GeneratedProtocolMessageType('FeatureOntologyItem', (_message.Message,), { - 'DESCRIPTOR' : _FEATUREONTOLOGYITEM, - '__module__' : 'dgp.proto.ontology_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.v2.FeatureOntologyItem) - }) -_sym_db.RegisterMessage(FeatureOntologyItem) - -FeatureOntology = _reflection.GeneratedProtocolMessageType('FeatureOntology', (_message.Message,), { - 'DESCRIPTOR' : _FEATUREONTOLOGY, - '__module__' : 'dgp.proto.ontology_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.v2.FeatureOntology) - }) -_sym_db.RegisterMessage(FeatureOntology) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/ontology_pb2_grpc.py b/dgp/proto/ontology_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/ontology_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/point_cloud_pb2.py b/dgp/proto/point_cloud_pb2.py deleted file mode 100644 index 9483f870..00000000 --- a/dgp/proto/point_cloud_pb2.py +++ /dev/null @@ -1,286 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/point_cloud.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/point_cloud.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1b\x64gp/proto/point_cloud.proto\x12\tdgp.proto\x1a\x19google/protobuf/any.proto\x1a\x18\x64gp/proto/geometry.proto\"\xaa\x04\n\nPointCloud\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.dgp.proto.PointCloud.AnnotationsEntry\x12\x35\n\x08metadata\x18\x03 \x03(\x0b\x32#.dgp.proto.PointCloud.MetadataEntry\x12\x37\n\x0cpoint_format\x18\x04 \x03(\x0e\x32!.dgp.proto.PointCloud.ChannelType\x12\x14\n\x0cpoint_fields\x18\x05 \x03(\t\x12\x1d\n\x04pose\x18\x06 \x01(\x0b\x32\x0f.dgp.proto.Pose\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\"\xac\x01\n\x0b\x43hannelType\x12\x05\n\x01X\x10\x00\x12\x05\n\x01Y\x10\x01\x12\x05\n\x01Z\x10\x02\x12\r\n\tINTENSITY\x10\x03\x12\x05\n\x01R\x10\x04\x12\x05\n\x01G\x10\x05\x12\x05\n\x01\x42\x10\x06\x12\x08\n\x04RING\x10\x07\x12\x0c\n\x08NORMAL_X\x10\x08\x12\x0c\n\x08NORMAL_Y\x10\t\x12\x0c\n\x08NORMAL_Z\x10\n\x12\r\n\tTIMESTAMP\x10\r\"\x04\x08\x0b\x10\x0b\"\x04\x08\x0c\x10\x0c*\x08\x43LASS_ID*\x0bINSTANCE_IDb\x06proto3' - , - dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,]) - - - -_POINTCLOUD_CHANNELTYPE = _descriptor.EnumDescriptor( - name='ChannelType', - full_name='dgp.proto.PointCloud.ChannelType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='X', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='Y', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='Z', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INTENSITY', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='R', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='G', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='B', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RING', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NORMAL_X', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NORMAL_Y', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NORMAL_Z', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TIMESTAMP', index=11, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=478, - serialized_end=650, -) -_sym_db.RegisterEnumDescriptor(_POINTCLOUD_CHANNELTYPE) - - -_POINTCLOUD_ANNOTATIONSENTRY = _descriptor.Descriptor( - name='AnnotationsEntry', - full_name='dgp.proto.PointCloud.AnnotationsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.PointCloud.AnnotationsEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.PointCloud.AnnotationsEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=354, - serialized_end=404, -) - -_POINTCLOUD_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.PointCloud.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.PointCloud.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.PointCloud.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=406, - serialized_end=475, -) - -_POINTCLOUD = _descriptor.Descriptor( - name='PointCloud', - full_name='dgp.proto.PointCloud', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='filename', full_name='dgp.proto.PointCloud.filename', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.PointCloud.annotations', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.PointCloud.metadata', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_format', full_name='dgp.proto.PointCloud.point_format', index=3, - number=4, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_fields', full_name='dgp.proto.PointCloud.point_fields', index=4, - number=5, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose', full_name='dgp.proto.PointCloud.pose', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_POINTCLOUD_ANNOTATIONSENTRY, _POINTCLOUD_METADATAENTRY, ], - enum_types=[ - _POINTCLOUD_CHANNELTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=96, - serialized_end=650, -) - -_POINTCLOUD_ANNOTATIONSENTRY.containing_type = _POINTCLOUD -_POINTCLOUD_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_POINTCLOUD_METADATAENTRY.containing_type = _POINTCLOUD -_POINTCLOUD.fields_by_name['annotations'].message_type = _POINTCLOUD_ANNOTATIONSENTRY -_POINTCLOUD.fields_by_name['metadata'].message_type = _POINTCLOUD_METADATAENTRY -_POINTCLOUD.fields_by_name['point_format'].enum_type = _POINTCLOUD_CHANNELTYPE -_POINTCLOUD.fields_by_name['pose'].message_type = dgp_dot_proto_dot_geometry__pb2._POSE -_POINTCLOUD_CHANNELTYPE.containing_type = _POINTCLOUD -DESCRIPTOR.message_types_by_name['PointCloud'] = _POINTCLOUD -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PointCloud = _reflection.GeneratedProtocolMessageType('PointCloud', (_message.Message,), { - - 'AnnotationsEntry' : _reflection.GeneratedProtocolMessageType('AnnotationsEntry', (_message.Message,), { - 'DESCRIPTOR' : _POINTCLOUD_ANNOTATIONSENTRY, - '__module__' : 'dgp.proto.point_cloud_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.PointCloud.AnnotationsEntry) - }) - , - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _POINTCLOUD_METADATAENTRY, - '__module__' : 'dgp.proto.point_cloud_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.PointCloud.MetadataEntry) - }) - , - 'DESCRIPTOR' : _POINTCLOUD, - '__module__' : 'dgp.proto.point_cloud_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.PointCloud) - }) -_sym_db.RegisterMessage(PointCloud) -_sym_db.RegisterMessage(PointCloud.AnnotationsEntry) -_sym_db.RegisterMessage(PointCloud.MetadataEntry) - - -_POINTCLOUD_ANNOTATIONSENTRY._options = None -_POINTCLOUD_METADATAENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/point_cloud_pb2_grpc.py b/dgp/proto/point_cloud_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/point_cloud_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/radar_point_cloud_pb2.py b/dgp/proto/radar_point_cloud_pb2.py deleted file mode 100644 index 6f1e7fd9..00000000 --- a/dgp/proto/radar_point_cloud_pb2.py +++ /dev/null @@ -1,401 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/radar_point_cloud.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/radar_point_cloud.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n!dgp/proto/radar_point_cloud.proto\x12\tdgp.proto\x1a\x18\x64gp/proto/geometry.proto\x1a\x19google/protobuf/any.proto\"\xaa\x07\n\x0fRadarPointCloud\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12@\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32+.dgp.proto.RadarPointCloud.AnnotationsEntry\x12:\n\x08metadata\x18\x03 \x03(\x0b\x32(.dgp.proto.RadarPointCloud.MetadataEntry\x12<\n\x0cpoint_format\x18\x04 \x03(\x0e\x32&.dgp.proto.RadarPointCloud.ChannelType\x12\x14\n\x0cpoint_fields\x18\x05 \x03(\t\x12\x1d\n\x04pose\x18\x06 \x01(\x0b\x32\x0f.dgp.proto.Pose\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\"\x98\x04\n\x0b\x43hannelType\x12\x05\n\x01X\x10\x00\x12\x05\n\x01Y\x10\x01\x12\x05\n\x01Z\x10\x02\x12\x07\n\x03V_X\x10\x03\x12\x07\n\x03V_Y\x10\x04\x12\x07\n\x03V_Z\x10\x05\x12\x0c\n\x08RCS_DBSM\x10\x06\x12\x19\n\x15\x45XISTENCE_PROBABILITY\x10\x07\x12\r\n\tSENSOR_ID\x10\x08\x12\n\n\x06\x43OV_XX\x10\t\x12\n\n\x06\x43OV_XY\x10\n\x12\n\n\x06\x43OV_XZ\x10\x0b\x12\n\n\x06\x43OV_YX\x10\x0c\x12\n\n\x06\x43OV_YY\x10\r\x12\n\n\x06\x43OV_YZ\x10\x0e\x12\n\n\x06\x43OV_ZX\x10\x0f\x12\n\n\x06\x43OV_ZY\x10\x10\x12\n\n\x06\x43OV_ZZ\x10\x11\x12\x13\n\x0fRADIAL_DISTANCE\x10\x12\x12\x11\n\rAZIMUTH_ANGLE\x10\x13\x12\x13\n\x0f\x45LEVATION_ANGLE\x10\x14\x12\x0f\n\x0bVELOCITY_XS\x10\x15\x12\x1c\n\x18RADIAL_DISTANCE_VARIANCE\x10\x16\x12\x1a\n\x16\x41ZIMUTH_ANGLE_VARIANCE\x10\x17\x12\x1c\n\x18\x45LEVATION_ANGLE_VARIANCE\x10\x18\x12\x15\n\x11VELOCITY_VARIANCE\x10\x19\x12\x0c\n\x08\x41\x43\x43\x45L_XS\x10\x1a\x12\x0f\n\x0b\x43OUNT_ALIVE\x10\x1b\x12\x16\n\x12REFLECTED_POWER_DB\x10\x1c\x12\x05\n\x01R\x10\x1d\x12\x05\n\x01G\x10\x1e\x12\x05\n\x01\x42\x10\x1f\x12\x0c\n\x08\x43LASS_ID\x10 \x12\x0f\n\x0bINSTANCE_ID\x10!\x12\r\n\tTIMESTAMP\x10\"b\x06proto3' - , - dependencies=[dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,]) - - - -_RADARPOINTCLOUD_CHANNELTYPE = _descriptor.EnumDescriptor( - name='ChannelType', - full_name='dgp.proto.RadarPointCloud.ChannelType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='X', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='Y', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='Z', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='V_X', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='V_Y', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='V_Z', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RCS_DBSM', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='EXISTENCE_PROBABILITY', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SENSOR_ID', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_XX', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_XY', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_XZ', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_YX', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_YY', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_YZ', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_ZX', index=15, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_ZY', index=16, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COV_ZZ', index=17, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RADIAL_DISTANCE', index=18, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AZIMUTH_ANGLE', index=19, number=19, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ELEVATION_ANGLE', index=20, number=20, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VELOCITY_XS', index=21, number=21, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RADIAL_DISTANCE_VARIANCE', index=22, number=22, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AZIMUTH_ANGLE_VARIANCE', index=23, number=23, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ELEVATION_ANGLE_VARIANCE', index=24, number=24, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='VELOCITY_VARIANCE', index=25, number=25, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ACCEL_XS', index=26, number=26, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COUNT_ALIVE', index=27, number=27, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='REFLECTED_POWER_DB', index=28, number=28, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='R', index=29, number=29, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='G', index=30, number=30, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='B', index=31, number=31, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CLASS_ID', index=32, number=32, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INSTANCE_ID', index=33, number=33, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TIMESTAMP', index=34, number=34, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=504, - serialized_end=1040, -) -_sym_db.RegisterEnumDescriptor(_RADARPOINTCLOUD_CHANNELTYPE) - - -_RADARPOINTCLOUD_ANNOTATIONSENTRY = _descriptor.Descriptor( - name='AnnotationsEntry', - full_name='dgp.proto.RadarPointCloud.AnnotationsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.RadarPointCloud.AnnotationsEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.RadarPointCloud.AnnotationsEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=380, - serialized_end=430, -) - -_RADARPOINTCLOUD_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.RadarPointCloud.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.RadarPointCloud.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.RadarPointCloud.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=432, - serialized_end=501, -) - -_RADARPOINTCLOUD = _descriptor.Descriptor( - name='RadarPointCloud', - full_name='dgp.proto.RadarPointCloud', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='filename', full_name='dgp.proto.RadarPointCloud.filename', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='annotations', full_name='dgp.proto.RadarPointCloud.annotations', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.RadarPointCloud.metadata', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_format', full_name='dgp.proto.RadarPointCloud.point_format', index=3, - number=4, type=14, cpp_type=8, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_fields', full_name='dgp.proto.RadarPointCloud.point_fields', index=4, - number=5, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pose', full_name='dgp.proto.RadarPointCloud.pose', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_RADARPOINTCLOUD_ANNOTATIONSENTRY, _RADARPOINTCLOUD_METADATAENTRY, ], - enum_types=[ - _RADARPOINTCLOUD_CHANNELTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=102, - serialized_end=1040, -) - -_RADARPOINTCLOUD_ANNOTATIONSENTRY.containing_type = _RADARPOINTCLOUD -_RADARPOINTCLOUD_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_RADARPOINTCLOUD_METADATAENTRY.containing_type = _RADARPOINTCLOUD -_RADARPOINTCLOUD.fields_by_name['annotations'].message_type = _RADARPOINTCLOUD_ANNOTATIONSENTRY -_RADARPOINTCLOUD.fields_by_name['metadata'].message_type = _RADARPOINTCLOUD_METADATAENTRY -_RADARPOINTCLOUD.fields_by_name['point_format'].enum_type = _RADARPOINTCLOUD_CHANNELTYPE -_RADARPOINTCLOUD.fields_by_name['pose'].message_type = dgp_dot_proto_dot_geometry__pb2._POSE -_RADARPOINTCLOUD_CHANNELTYPE.containing_type = _RADARPOINTCLOUD -DESCRIPTOR.message_types_by_name['RadarPointCloud'] = _RADARPOINTCLOUD -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RadarPointCloud = _reflection.GeneratedProtocolMessageType('RadarPointCloud', (_message.Message,), { - - 'AnnotationsEntry' : _reflection.GeneratedProtocolMessageType('AnnotationsEntry', (_message.Message,), { - 'DESCRIPTOR' : _RADARPOINTCLOUD_ANNOTATIONSENTRY, - '__module__' : 'dgp.proto.radar_point_cloud_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.RadarPointCloud.AnnotationsEntry) - }) - , - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _RADARPOINTCLOUD_METADATAENTRY, - '__module__' : 'dgp.proto.radar_point_cloud_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.RadarPointCloud.MetadataEntry) - }) - , - 'DESCRIPTOR' : _RADARPOINTCLOUD, - '__module__' : 'dgp.proto.radar_point_cloud_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.RadarPointCloud) - }) -_sym_db.RegisterMessage(RadarPointCloud) -_sym_db.RegisterMessage(RadarPointCloud.AnnotationsEntry) -_sym_db.RegisterMessage(RadarPointCloud.MetadataEntry) - - -_RADARPOINTCLOUD_ANNOTATIONSENTRY._options = None -_RADARPOINTCLOUD_METADATAENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/radar_point_cloud_pb2_grpc.py b/dgp/proto/radar_point_cloud_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/radar_point_cloud_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/remote_pb2.py b/dgp/proto/remote_pb2.py deleted file mode 100644 index f43dc578..00000000 --- a/dgp/proto/remote_pb2.py +++ /dev/null @@ -1,125 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/remote.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/remote.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x16\x64gp/proto/remote.proto\x12\tdgp.proto\"\x1b\n\nRemotePath\x12\r\n\x05value\x18\x01 \x01(\t\"Q\n\x0eRemoteArtifact\x12\"\n\x03url\x18\x01 \x01(\x0b\x32\x15.dgp.proto.RemotePath\x12\x0c\n\x04sha1\x18\x02 \x01(\t\x12\r\n\x05isdir\x18\x03 \x01(\x08\x62\x06proto3' -) - - - - -_REMOTEPATH = _descriptor.Descriptor( - name='RemotePath', - full_name='dgp.proto.RemotePath', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.RemotePath.value', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=37, - serialized_end=64, -) - - -_REMOTEARTIFACT = _descriptor.Descriptor( - name='RemoteArtifact', - full_name='dgp.proto.RemoteArtifact', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='url', full_name='dgp.proto.RemoteArtifact.url', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sha1', full_name='dgp.proto.RemoteArtifact.sha1', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='isdir', full_name='dgp.proto.RemoteArtifact.isdir', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=66, - serialized_end=147, -) - -_REMOTEARTIFACT.fields_by_name['url'].message_type = _REMOTEPATH -DESCRIPTOR.message_types_by_name['RemotePath'] = _REMOTEPATH -DESCRIPTOR.message_types_by_name['RemoteArtifact'] = _REMOTEARTIFACT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RemotePath = _reflection.GeneratedProtocolMessageType('RemotePath', (_message.Message,), { - 'DESCRIPTOR' : _REMOTEPATH, - '__module__' : 'dgp.proto.remote_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.RemotePath) - }) -_sym_db.RegisterMessage(RemotePath) - -RemoteArtifact = _reflection.GeneratedProtocolMessageType('RemoteArtifact', (_message.Message,), { - 'DESCRIPTOR' : _REMOTEARTIFACT, - '__module__' : 'dgp.proto.remote_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.RemoteArtifact) - }) -_sym_db.RegisterMessage(RemoteArtifact) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/remote_pb2_grpc.py b/dgp/proto/remote_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/remote_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/sample_pb2.py b/dgp/proto/sample_pb2.py deleted file mode 100644 index 54124e1e..00000000 --- a/dgp/proto/sample_pb2.py +++ /dev/null @@ -1,358 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/sample.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from dgp.proto import file_datum_pb2 as dgp_dot_proto_dot_file__datum__pb2 -from dgp.proto import geometry_pb2 as dgp_dot_proto_dot_geometry__pb2 -from dgp.proto import identifiers_pb2 as dgp_dot_proto_dot_identifiers__pb2 -from dgp.proto import image_pb2 as dgp_dot_proto_dot_image__pb2 -from dgp.proto import point_cloud_pb2 as dgp_dot_proto_dot_point__cloud__pb2 -from dgp.proto import radar_point_cloud_pb2 as dgp_dot_proto_dot_radar__point__cloud__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/sample.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x16\x64gp/proto/sample.proto\x12\tdgp.proto\x1a\x19google/protobuf/any.proto\x1a\x1a\x64gp/proto/file_datum.proto\x1a\x18\x64gp/proto/geometry.proto\x1a\x1b\x64gp/proto/identifiers.proto\x1a\x15\x64gp/proto/image.proto\x1a\x1b\x64gp/proto/point_cloud.proto\x1a!dgp/proto/radar_point_cloud.proto\"x\n\x11SampleCalibration\x12\r\n\x05names\x18\x01 \x03(\t\x12/\n\nintrinsics\x18\x02 \x03(\x0b\x32\x1b.dgp.proto.CameraIntrinsics\x12#\n\nextrinsics\x18\x03 \x03(\x0b\x32\x0f.dgp.proto.Pose\"\xd1\x01\n\nDatumValue\x12!\n\x05image\x18\x01 \x01(\x0b\x32\x10.dgp.proto.ImageH\x00\x12,\n\x0bpoint_cloud\x18\x02 \x01(\x0b\x32\x15.dgp.proto.PointCloudH\x00\x12*\n\nfile_datum\x18\x03 \x01(\x0b\x32\x14.dgp.proto.FileDatumH\x00\x12\x37\n\x11radar_point_cloud\x18\x04 \x01(\x0b\x32\x1a.dgp.proto.RadarPointCloudH\x00\x42\r\n\x0b\x64\x61tum_oneof\"~\n\x05\x44\x61tum\x12\x1e\n\x02id\x18\x01 \x01(\x0b\x32\x12.dgp.proto.DatumId\x12\x0b\n\x03key\x18\x02 \x01(\t\x12$\n\x05\x64\x61tum\x18\x03 \x01(\x0b\x32\x15.dgp.proto.DatumValue\x12\x10\n\x08next_key\x18\x04 \x01(\t\x12\x10\n\x08prev_key\x18\x05 \x01(\t\"\xcf\x01\n\x06Sample\x12\x1e\n\x02id\x18\x01 \x01(\x0b\x32\x12.dgp.proto.DatumId\x12\x12\n\ndatum_keys\x18\x02 \x03(\t\x12\x17\n\x0f\x63\x61libration_key\x18\x03 \x01(\t\x12\x31\n\x08metadata\x18\x04 \x03(\x0b\x32\x1f.dgp.proto.Sample.MetadataEntry\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x62\x06proto3' - , - dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,dgp_dot_proto_dot_file__datum__pb2.DESCRIPTOR,dgp_dot_proto_dot_geometry__pb2.DESCRIPTOR,dgp_dot_proto_dot_identifiers__pb2.DESCRIPTOR,dgp_dot_proto_dot_image__pb2.DESCRIPTOR,dgp_dot_proto_dot_point__cloud__pb2.DESCRIPTOR,dgp_dot_proto_dot_radar__point__cloud__pb2.DESCRIPTOR,]) - - - - -_SAMPLECALIBRATION = _descriptor.Descriptor( - name='SampleCalibration', - full_name='dgp.proto.SampleCalibration', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='names', full_name='dgp.proto.SampleCalibration.names', index=0, - number=1, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='intrinsics', full_name='dgp.proto.SampleCalibration.intrinsics', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='extrinsics', full_name='dgp.proto.SampleCalibration.extrinsics', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=234, - serialized_end=354, -) - - -_DATUMVALUE = _descriptor.Descriptor( - name='DatumValue', - full_name='dgp.proto.DatumValue', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='image', full_name='dgp.proto.DatumValue.image', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='point_cloud', full_name='dgp.proto.DatumValue.point_cloud', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='file_datum', full_name='dgp.proto.DatumValue.file_datum', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='radar_point_cloud', full_name='dgp.proto.DatumValue.radar_point_cloud', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='datum_oneof', full_name='dgp.proto.DatumValue.datum_oneof', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=357, - serialized_end=566, -) - - -_DATUM = _descriptor.Descriptor( - name='Datum', - full_name='dgp.proto.Datum', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dgp.proto.Datum.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Datum.key', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='datum', full_name='dgp.proto.Datum.datum', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='next_key', full_name='dgp.proto.Datum.next_key', index=3, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='prev_key', full_name='dgp.proto.Datum.prev_key', index=4, - number=5, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=568, - serialized_end=694, -) - - -_SAMPLE_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.Sample.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Sample.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Sample.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=835, - serialized_end=904, -) - -_SAMPLE = _descriptor.Descriptor( - name='Sample', - full_name='dgp.proto.Sample', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dgp.proto.Sample.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='datum_keys', full_name='dgp.proto.Sample.datum_keys', index=1, - number=2, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='calibration_key', full_name='dgp.proto.Sample.calibration_key', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.Sample.metadata', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SAMPLE_METADATAENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=697, - serialized_end=904, -) - -_SAMPLECALIBRATION.fields_by_name['intrinsics'].message_type = dgp_dot_proto_dot_geometry__pb2._CAMERAINTRINSICS -_SAMPLECALIBRATION.fields_by_name['extrinsics'].message_type = dgp_dot_proto_dot_geometry__pb2._POSE -_DATUMVALUE.fields_by_name['image'].message_type = dgp_dot_proto_dot_image__pb2._IMAGE -_DATUMVALUE.fields_by_name['point_cloud'].message_type = dgp_dot_proto_dot_point__cloud__pb2._POINTCLOUD -_DATUMVALUE.fields_by_name['file_datum'].message_type = dgp_dot_proto_dot_file__datum__pb2._FILEDATUM -_DATUMVALUE.fields_by_name['radar_point_cloud'].message_type = dgp_dot_proto_dot_radar__point__cloud__pb2._RADARPOINTCLOUD -_DATUMVALUE.oneofs_by_name['datum_oneof'].fields.append( - _DATUMVALUE.fields_by_name['image']) -_DATUMVALUE.fields_by_name['image'].containing_oneof = _DATUMVALUE.oneofs_by_name['datum_oneof'] -_DATUMVALUE.oneofs_by_name['datum_oneof'].fields.append( - _DATUMVALUE.fields_by_name['point_cloud']) -_DATUMVALUE.fields_by_name['point_cloud'].containing_oneof = _DATUMVALUE.oneofs_by_name['datum_oneof'] -_DATUMVALUE.oneofs_by_name['datum_oneof'].fields.append( - _DATUMVALUE.fields_by_name['file_datum']) -_DATUMVALUE.fields_by_name['file_datum'].containing_oneof = _DATUMVALUE.oneofs_by_name['datum_oneof'] -_DATUMVALUE.oneofs_by_name['datum_oneof'].fields.append( - _DATUMVALUE.fields_by_name['radar_point_cloud']) -_DATUMVALUE.fields_by_name['radar_point_cloud'].containing_oneof = _DATUMVALUE.oneofs_by_name['datum_oneof'] -_DATUM.fields_by_name['id'].message_type = dgp_dot_proto_dot_identifiers__pb2._DATUMID -_DATUM.fields_by_name['datum'].message_type = _DATUMVALUE -_SAMPLE_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_SAMPLE_METADATAENTRY.containing_type = _SAMPLE -_SAMPLE.fields_by_name['id'].message_type = dgp_dot_proto_dot_identifiers__pb2._DATUMID -_SAMPLE.fields_by_name['metadata'].message_type = _SAMPLE_METADATAENTRY -DESCRIPTOR.message_types_by_name['SampleCalibration'] = _SAMPLECALIBRATION -DESCRIPTOR.message_types_by_name['DatumValue'] = _DATUMVALUE -DESCRIPTOR.message_types_by_name['Datum'] = _DATUM -DESCRIPTOR.message_types_by_name['Sample'] = _SAMPLE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SampleCalibration = _reflection.GeneratedProtocolMessageType('SampleCalibration', (_message.Message,), { - 'DESCRIPTOR' : _SAMPLECALIBRATION, - '__module__' : 'dgp.proto.sample_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SampleCalibration) - }) -_sym_db.RegisterMessage(SampleCalibration) - -DatumValue = _reflection.GeneratedProtocolMessageType('DatumValue', (_message.Message,), { - 'DESCRIPTOR' : _DATUMVALUE, - '__module__' : 'dgp.proto.sample_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatumValue) - }) -_sym_db.RegisterMessage(DatumValue) - -Datum = _reflection.GeneratedProtocolMessageType('Datum', (_message.Message,), { - 'DESCRIPTOR' : _DATUM, - '__module__' : 'dgp.proto.sample_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Datum) - }) -_sym_db.RegisterMessage(Datum) - -Sample = _reflection.GeneratedProtocolMessageType('Sample', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _SAMPLE_METADATAENTRY, - '__module__' : 'dgp.proto.sample_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Sample.MetadataEntry) - }) - , - 'DESCRIPTOR' : _SAMPLE, - '__module__' : 'dgp.proto.sample_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Sample) - }) -_sym_db.RegisterMessage(Sample) -_sym_db.RegisterMessage(Sample.MetadataEntry) - - -_SAMPLE_METADATAENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/sample_pb2_grpc.py b/dgp/proto/sample_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/sample_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/scene_pb2.py b/dgp/proto/scene_pb2.py deleted file mode 100644 index 2245e393..00000000 --- a/dgp/proto/scene_pb2.py +++ /dev/null @@ -1,315 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/scene.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from dgp.proto import sample_pb2 as dgp_dot_proto_dot_sample__pb2 -from dgp.proto import statistics_pb2 as dgp_dot_proto_dot_statistics__pb2 -from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/scene.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x15\x64gp/proto/scene.proto\x12\tdgp.proto\x1a\x16\x64gp/proto/sample.proto\x1a\x1a\x64gp/proto/statistics.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc2\x03\n\x05Scene\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0b\n\x03log\x18\x03 \x01(\t\x12\"\n\x07samples\x18\x04 \x03(\x0b\x32\x11.dgp.proto.Sample\x12\x30\n\x08metadata\x18\x05 \x03(\x0b\x32\x1e.dgp.proto.Scene.MetadataEntry\x12\x1e\n\x04\x64\x61ta\x18\x06 \x03(\x0b\x32\x10.dgp.proto.Datum\x12\x31\n\rcreation_date\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nontologies\x18\x08 \x03(\x0b\x32 .dgp.proto.Scene.OntologiesEntry\x12\x30\n\nstatistics\x18\t \x01(\x0b\x32\x1c.dgp.proto.DatasetStatistics\x1a\x45\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.google.protobuf.Any:\x02\x38\x01\x1a\x31\n\x0fOntologiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x06Scenes\x12 \n\x06scenes\x18\x01 \x03(\x0b\x32\x10.dgp.proto.Scene\"\x1f\n\nSceneFiles\x12\x11\n\tfilenames\x18\x01 \x03(\tb\x06proto3' - , - dependencies=[dgp_dot_proto_dot_sample__pb2.DESCRIPTOR,dgp_dot_proto_dot_statistics__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) - - - - -_SCENE_METADATAENTRY = _descriptor.Descriptor( - name='MetadataEntry', - full_name='dgp.proto.Scene.MetadataEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Scene.MetadataEntry.key', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Scene.MetadataEntry.value', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=479, - serialized_end=548, -) - -_SCENE_ONTOLOGIESENTRY = _descriptor.Descriptor( - name='OntologiesEntry', - full_name='dgp.proto.Scene.OntologiesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dgp.proto.Scene.OntologiesEntry.key', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='dgp.proto.Scene.OntologiesEntry.value', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=550, - serialized_end=599, -) - -_SCENE = _descriptor.Descriptor( - name='Scene', - full_name='dgp.proto.Scene', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='name', full_name='dgp.proto.Scene.name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='description', full_name='dgp.proto.Scene.description', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='log', full_name='dgp.proto.Scene.log', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=b"".decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='samples', full_name='dgp.proto.Scene.samples', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='metadata', full_name='dgp.proto.Scene.metadata', index=4, - number=5, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='data', full_name='dgp.proto.Scene.data', index=5, - number=6, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creation_date', full_name='dgp.proto.Scene.creation_date', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ontologies', full_name='dgp.proto.Scene.ontologies', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='statistics', full_name='dgp.proto.Scene.statistics', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SCENE_METADATAENTRY, _SCENE_ONTOLOGIESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=149, - serialized_end=599, -) - - -_SCENES = _descriptor.Descriptor( - name='Scenes', - full_name='dgp.proto.Scenes', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='scenes', full_name='dgp.proto.Scenes.scenes', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=601, - serialized_end=643, -) - - -_SCENEFILES = _descriptor.Descriptor( - name='SceneFiles', - full_name='dgp.proto.SceneFiles', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='filenames', full_name='dgp.proto.SceneFiles.filenames', index=0, - number=1, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=645, - serialized_end=676, -) - -_SCENE_METADATAENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_any__pb2._ANY -_SCENE_METADATAENTRY.containing_type = _SCENE -_SCENE_ONTOLOGIESENTRY.containing_type = _SCENE -_SCENE.fields_by_name['samples'].message_type = dgp_dot_proto_dot_sample__pb2._SAMPLE -_SCENE.fields_by_name['metadata'].message_type = _SCENE_METADATAENTRY -_SCENE.fields_by_name['data'].message_type = dgp_dot_proto_dot_sample__pb2._DATUM -_SCENE.fields_by_name['creation_date'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_SCENE.fields_by_name['ontologies'].message_type = _SCENE_ONTOLOGIESENTRY -_SCENE.fields_by_name['statistics'].message_type = dgp_dot_proto_dot_statistics__pb2._DATASETSTATISTICS -_SCENES.fields_by_name['scenes'].message_type = _SCENE -DESCRIPTOR.message_types_by_name['Scene'] = _SCENE -DESCRIPTOR.message_types_by_name['Scenes'] = _SCENES -DESCRIPTOR.message_types_by_name['SceneFiles'] = _SCENEFILES -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Scene = _reflection.GeneratedProtocolMessageType('Scene', (_message.Message,), { - - 'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCENE_METADATAENTRY, - '__module__' : 'dgp.proto.scene_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Scene.MetadataEntry) - }) - , - - 'OntologiesEntry' : _reflection.GeneratedProtocolMessageType('OntologiesEntry', (_message.Message,), { - 'DESCRIPTOR' : _SCENE_ONTOLOGIESENTRY, - '__module__' : 'dgp.proto.scene_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Scene.OntologiesEntry) - }) - , - 'DESCRIPTOR' : _SCENE, - '__module__' : 'dgp.proto.scene_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Scene) - }) -_sym_db.RegisterMessage(Scene) -_sym_db.RegisterMessage(Scene.MetadataEntry) -_sym_db.RegisterMessage(Scene.OntologiesEntry) - -Scenes = _reflection.GeneratedProtocolMessageType('Scenes', (_message.Message,), { - 'DESCRIPTOR' : _SCENES, - '__module__' : 'dgp.proto.scene_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.Scenes) - }) -_sym_db.RegisterMessage(Scenes) - -SceneFiles = _reflection.GeneratedProtocolMessageType('SceneFiles', (_message.Message,), { - 'DESCRIPTOR' : _SCENEFILES, - '__module__' : 'dgp.proto.scene_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.SceneFiles) - }) -_sym_db.RegisterMessage(SceneFiles) - - -_SCENE_METADATAENTRY._options = None -_SCENE_ONTOLOGIESENTRY._options = None -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/scene_pb2_grpc.py b/dgp/proto/scene_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/scene_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/proto/statistics_pb2.py b/dgp/proto/statistics_pb2.py deleted file mode 100644 index 06624cc4..00000000 --- a/dgp/proto/statistics_pb2.py +++ /dev/null @@ -1,187 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: dgp/proto/statistics.proto -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='dgp/proto/statistics.proto', - package='dgp.proto', - syntax='proto3', - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x1a\x64gp/proto/statistics.proto\x12\tdgp.proto\"\xb2\x02\n\x11\x44\x61tasetStatistics\x12\x46\n\x10image_statistics\x18\x01 \x01(\x0b\x32,.dgp.proto.DatasetStatistics.ImageStatistics\x12P\n\x15pointcloud_statistics\x18\x02 \x01(\x0b\x32\x31.dgp.proto.DatasetStatistics.PointCloudStatistics\x1a>\n\x0fImageStatistics\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0c\n\x04mean\x18\x02 \x03(\x02\x12\x0e\n\x06stddev\x18\x03 \x03(\x02\x1a\x43\n\x14PointCloudStatistics\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0c\n\x04mean\x18\x02 \x03(\x02\x12\x0e\n\x06stddev\x18\x03 \x03(\x02\x62\x06proto3' -) - - - - -_DATASETSTATISTICS_IMAGESTATISTICS = _descriptor.Descriptor( - name='ImageStatistics', - full_name='dgp.proto.DatasetStatistics.ImageStatistics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='count', full_name='dgp.proto.DatasetStatistics.ImageStatistics.count', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mean', full_name='dgp.proto.DatasetStatistics.ImageStatistics.mean', index=1, - number=2, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='stddev', full_name='dgp.proto.DatasetStatistics.ImageStatistics.stddev', index=2, - number=3, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=217, - serialized_end=279, -) - -_DATASETSTATISTICS_POINTCLOUDSTATISTICS = _descriptor.Descriptor( - name='PointCloudStatistics', - full_name='dgp.proto.DatasetStatistics.PointCloudStatistics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='count', full_name='dgp.proto.DatasetStatistics.PointCloudStatistics.count', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='mean', full_name='dgp.proto.DatasetStatistics.PointCloudStatistics.mean', index=1, - number=2, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='stddev', full_name='dgp.proto.DatasetStatistics.PointCloudStatistics.stddev', index=2, - number=3, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=281, - serialized_end=348, -) - -_DATASETSTATISTICS = _descriptor.Descriptor( - name='DatasetStatistics', - full_name='dgp.proto.DatasetStatistics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='image_statistics', full_name='dgp.proto.DatasetStatistics.image_statistics', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pointcloud_statistics', full_name='dgp.proto.DatasetStatistics.pointcloud_statistics', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_DATASETSTATISTICS_IMAGESTATISTICS, _DATASETSTATISTICS_POINTCLOUDSTATISTICS, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=42, - serialized_end=348, -) - -_DATASETSTATISTICS_IMAGESTATISTICS.containing_type = _DATASETSTATISTICS -_DATASETSTATISTICS_POINTCLOUDSTATISTICS.containing_type = _DATASETSTATISTICS -_DATASETSTATISTICS.fields_by_name['image_statistics'].message_type = _DATASETSTATISTICS_IMAGESTATISTICS -_DATASETSTATISTICS.fields_by_name['pointcloud_statistics'].message_type = _DATASETSTATISTICS_POINTCLOUDSTATISTICS -DESCRIPTOR.message_types_by_name['DatasetStatistics'] = _DATASETSTATISTICS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DatasetStatistics = _reflection.GeneratedProtocolMessageType('DatasetStatistics', (_message.Message,), { - - 'ImageStatistics' : _reflection.GeneratedProtocolMessageType('ImageStatistics', (_message.Message,), { - 'DESCRIPTOR' : _DATASETSTATISTICS_IMAGESTATISTICS, - '__module__' : 'dgp.proto.statistics_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatasetStatistics.ImageStatistics) - }) - , - - 'PointCloudStatistics' : _reflection.GeneratedProtocolMessageType('PointCloudStatistics', (_message.Message,), { - 'DESCRIPTOR' : _DATASETSTATISTICS_POINTCLOUDSTATISTICS, - '__module__' : 'dgp.proto.statistics_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatasetStatistics.PointCloudStatistics) - }) - , - 'DESCRIPTOR' : _DATASETSTATISTICS, - '__module__' : 'dgp.proto.statistics_pb2' - # @@protoc_insertion_point(class_scope:dgp.proto.DatasetStatistics) - }) -_sym_db.RegisterMessage(DatasetStatistics) -_sym_db.RegisterMessage(DatasetStatistics.ImageStatistics) -_sym_db.RegisterMessage(DatasetStatistics.PointCloudStatistics) - - -# @@protoc_insertion_point(module_scope) diff --git a/dgp/proto/statistics_pb2_grpc.py b/dgp/proto/statistics_pb2_grpc.py deleted file mode 100644 index 2daafffe..00000000 --- a/dgp/proto/statistics_pb2_grpc.py +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - diff --git a/dgp/utils/render_3d_to_2d.py b/dgp/utils/render_3d_to_2d.py index acbb3675..a04d7a60 100644 --- a/dgp/utils/render_3d_to_2d.py +++ b/dgp/utils/render_3d_to_2d.py @@ -1,4 +1,6 @@ # Copyright 2023 Toyota Motor Corporation. All rights reserved. +from __future__ import annotations + import logging import os import time diff --git a/dgp/utils/visualization_utils.py b/dgp/utils/visualization_utils.py index 1bdaadee..6a9806b3 100644 --- a/dgp/utils/visualization_utils.py +++ b/dgp/utils/visualization_utils.py @@ -4,7 +4,7 @@ import cv2 import numpy as np -from matplotlib.cm import get_cmap +from matplotlib import colormaps from dgp.utils.camera import Camera from dgp.utils.colors import ( @@ -20,7 +20,7 @@ # Time to wait before key press in debug visualizations DEBUG_WAIT_TIME = 10000 -MPL_JET_CMAP = get_cmap('jet') +MPL_JET_CMAP = colormaps.get_cmap('jet') LOG = logging.getLogger(__name__) LOG.setLevel(logging.INFO) diff --git a/docs/VIRTUAL_ENV.md b/docs/VIRTUAL_ENV.md index c98525ac..25f3793b 100644 --- a/docs/VIRTUAL_ENV.md +++ b/docs/VIRTUAL_ENV.md @@ -22,7 +22,6 @@ DGP. ```sh dgp$ pip install --upgrade pip -dgp$ pip install cython==0.29.30 numpy==1.20.3 dgp$ pip install -r requirements.txt -r requirements-dev.txt ``` diff --git a/pyproject.toml b/pyproject.toml index f470ff5d..7a5213c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,3 +3,4 @@ # https://pycqa.github.io/isort/docs/configuration/multi_line_output_modes.html#3-vertical-hanging-indent multi_line_output = 3 include_trailing_comma = true + diff --git a/requirements-dev.txt b/requirements-dev.txt index 84fa4cad..bb8ee2a0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,10 @@ awscli -coverage==6.0.2 -grpcio==1.41.0 -grpcio-tools==1.41.0 +coverage>=6.0.2 +wheel isort >=5.0,<6.0 -pylint>=2.8.1 -pytest==6.2.5 -pytest-timeout==2.0.1 -ujson==5.4.0 -yapf==0.31.0 -pre-commit==2.20.0 +pylint +pytest +pytest-timeout +ujson>=5.4.0 +yapf>=0.31.0 +pre-commit>=2.20.0 diff --git a/requirements.txt b/requirements.txt index d55362ed..82be9be7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ boto3 botocore Click>=7.1.2 diskcache>=4.1.0 -protobuf>=3.20.1,<4.0.0 matplotlib>=3.0.3,<3.9.0 opencv-python>=4.5.3.56 Pillow>=8.3.2 diff --git a/setup.py b/setup.py index a20c81ff..96a5b0b2 100644 --- a/setup.py +++ b/setup.py @@ -1,68 +1,91 @@ -# Copyright 2019 Toyota Research Institute. All rights reserved. -import importlib +# Copyright 2025 Toyota Research Institute. All rights reserved. +import logging import os +from pathlib import Path from setuptools import find_packages, setup from setuptools.command.build_py import build_py from setuptools.command.develop import develop from setuptools.command.install import install +logger = logging.getLogger(__file__) -def build_protos(): - SETUP_DIR = os.path.dirname(os.path.abspath(__file__)) - from grpc.tools import command - command.build_package_protos(SETUP_DIR) +__version__ = "2.0.0" +_ROOT_DIRPATH = Path(__file__).parent.absolute() -class CustomBuildPyCommand(build_py): +# Specify the dev version for development. +_DEV_VERSION = str(os.environ.get("DGP_DEV_VERSION", "")) + +_VERSION = f"{__version__}.{_DEV_VERSION}" if _DEV_VERSION else __version__ + +with open("requirements.txt", encoding="utf-8") as f: + requirements = f.read().splitlines() + +with open("requirements-dev.txt", encoding="utf-8") as f: + requirements_dev = f.read().splitlines() + +install_requires = requirements + [ + "protobuf>=4.0.0,<5.0.0", +] +setup_requires = [ + "protobuf>=4.0.0,<5.0.0", + "grpcio-tools<1.66.0", # for protobuf 4.X.X support. +] + + +def _build_py(): + from grpc_tools import command + + command.build_package_protos(_ROOT_DIRPATH) + + +class _CustomBuildPyCommand(build_py): def run(self): - build_protos() + _build_py() build_py.run(self) -class CustomInstallCommand(install): +class _CustomInstallCommand(install): def run(self): - build_protos() + _build_py() install.run(self) -class CustomDevelopCommand(develop): +class _CustomDevelopCommand(develop): def run(self): - build_protos() + _build_py() develop.run(self) -__version__ = importlib.import_module('dgp').__version__ - -with open('requirements.txt', encoding='utf-8') as f: - requirements = f.read().splitlines() - -with open('requirements-dev.txt', encoding='utf-8') as f: - requirements_dev = f.read().splitlines() +packages = find_packages(exclude=["tests"]) -packages = find_packages(exclude=['tests']) setup( name="dgp", - version=__version__, + version=_VERSION, description="Dataset Governance Policy (DGP) for Autonomous Vehicle ML datasets.", - long_description=open('README.md', encoding='utf-8').read(), - long_description_content_type='text/markdown', + long_description=open("README.md", encoding="utf-8").read(), + long_description_content_type="text/markdown", author="Toyota Research Institute", - author_email='ml@tri.global', + author_email="ml@tri.global", url="https://github.com/TRI-ML/dgp", packages=packages, - entry_points={'console_scripts': [ - 'dgp_cli=dgp.cli:cli', - ]}, + entry_points={ + "console_scripts": [ + "dgp_cli=dgp.cli:cli", + ], + }, include_package_data=True, - setup_requires=['cython==0.29.30', 'grpcio==1.41.0', 'grpcio-tools==1.41.0'], - install_requires=requirements, - extras_require={'dev': requirements_dev}, + install_requires=install_requires, + setup_requires=setup_requires, + extras_require={ + "dev": requirements_dev, + }, zip_safe=False, - python_requires='>=3.6', + python_requires=">=3.8", cmdclass={ - 'install': CustomInstallCommand, - 'develop': CustomDevelopCommand, - 'build_py': CustomBuildPyCommand - } + "build_py": _CustomBuildPyCommand, + "install": _CustomInstallCommand, + "develop": _CustomDevelopCommand, + }, ) diff --git a/tests/annotation/test_bounding_box_2d_annotation.py b/tests/annotation/test_bounding_box_2d_annotation.py index 6af98101..a8d0b5f8 100644 --- a/tests/annotation/test_bounding_box_2d_annotation.py +++ b/tests/annotation/test_bounding_box_2d_annotation.py @@ -27,14 +27,32 @@ def test_bb2d_annotation(bb_ontology): def test_bb2d_load(bb_ontology): DGP_TEST_DATASET_DIR = os.path.join(TEST_DATA_DIR, "dgp") - expected_output = [[0., 581., 185., 652.], [149., 564., 299., 641.], [313., 573., 425., 627.], - [1334., 531., 1655., 745.], [1559., 577., 1850., 726.], [717., 367., 1494., 1021.], - [1232., 516., 1460., 681.], [1218., 553., 1362., 656.], [1199., 562., 1324., 643.], - [1185., 555., 1292., 645.], [1175., 564., 1264., 633.], [1158., 549., 1232., 607.], - [317., 556., 490., 652.], [196., 538., 395., 642.], [551., 525., 722., 610.], - [831., 550., 917., 611.], [1213., 553., 1268., 595.], [493., 563., 654., 640.], - [1470., 569., 1684., 700.], [396., 569., 502., 604.], [323., 569., 429., 602.], - [289., 568., 393., 601.], [264., 568., 367., 601.], [533., 574., 547., 608.]] + expected_output = [ + [0.0, 581.0, 185.0, 652.0], + [149.0, 564.0, 299.0, 641.0], + [313.0, 573.0, 425.0, 627.0], + [1334.0, 531.0, 1655.0, 745.0], + [1559.0, 577.0, 1850.0, 726.0], + [717.0, 367.0, 1494.0, 1021.0], + [1232.0, 516.0, 1460.0, 681.0], + [1218.0, 553.0, 1362.0, 656.0], + [1199.0, 562.0, 1324.0, 643.0], + [1185.0, 555.0, 1292.0, 645.0], + [1175.0, 564.0, 1264.0, 633.0], + [1158.0, 549.0, 1232.0, 607.0], + [317.0, 556.0, 490.0, 652.0], + [196.0, 538.0, 395.0, 642.0], + [551.0, 525.0, 722.0, 610.0], + [831.0, 550.0, 917.0, 611.0], + [1213.0, 553.0, 1268.0, 595.0], + [493.0, 563.0, 654.0, 640.0], + [1470.0, 569.0, 1684.0, 700.0], + [396.0, 569.0, 502.0, 604.0], + [323.0, 569.0, 429.0, 602.0], + [289.0, 568.0, 393.0, 601.0], + [264.0, 568.0, 367.0, 601.0], + [533.0, 574.0, 547.0, 608.0], + ] scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, "test_scene/scene_01/bounding_box_2d/CAMERA_01/15569195938203752.json" ) @@ -49,7 +67,7 @@ def test_bb2d_proto(bb_ontology): ) bb2d_list = BoundingBox2DAnnotationList.load(scenes_dataset_json, bb_ontology) ouput_proto = bb2d_list.to_proto() - assert ouput_proto.__sizeof__() == 80 + assert ouput_proto.__sizeof__() in {64, 80} def test_bb2d_save(bb_ontology): diff --git a/tests/annotation/test_key_line_3d_annotation.py b/tests/annotation/test_key_line_3d_annotation.py index f87d8d15..736dc0d2 100644 --- a/tests/annotation/test_key_line_3d_annotation.py +++ b/tests/annotation/test_key_line_3d_annotation.py @@ -12,10 +12,10 @@ def get_ontology_kl(scene_dataset_json, annotation_type): dataset = SynchronizedSceneDataset( scene_dataset_json, - split='train', - datum_names=['lcm_25tm'], + split="train", + datum_names=["lcm_25tm"], backward_context=0, - requested_annotations=("key_line_3d", ) + requested_annotations=("key_line_3d", ), ) return dataset.dataset_metadata.ontology_table.get(annotation_type, None) @@ -38,7 +38,7 @@ def test_kl3d_load(kl_ontology): expected_output = "a28b1" scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, - "key_line_3d/scene_000000/key_line_3d/lcm_25tm/000000000000000005_21e2436af96fb6388eb0c64cc029cfdc928a3e95.json" + "key_line_3d/scene_000000/key_line_3d/lcm_25tm/000000000000000005_21e2436af96fb6388eb0c64cc029cfdc928a3e95.json", ) kl3d_list = KeyLine3DAnnotationList.load(scenes_dataset_json, kl_ontology) assert kl3d_list.hexdigest[0:5] == expected_output @@ -48,18 +48,18 @@ def test_kl3d_proto(kl_ontology): DGP_TEST_DATASET_DIR = os.path.join(TEST_DATA_DIR, "dgp") scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, - "key_line_3d/scene_000000/key_line_3d/lcm_25tm/000000000000000005_21e2436af96fb6388eb0c64cc029cfdc928a3e95.json" + "key_line_3d/scene_000000/key_line_3d/lcm_25tm/000000000000000005_21e2436af96fb6388eb0c64cc029cfdc928a3e95.json", ) kl3d_list = KeyLine3DAnnotationList.load(scenes_dataset_json, kl_ontology) output_proto = kl3d_list.to_proto() - assert output_proto.__sizeof__() == 80 + assert output_proto.__sizeof__() in {64, 80} def test_kl3d_save(kl_ontology): DGP_TEST_DATASET_DIR = os.path.join(TEST_DATA_DIR, "dgp") scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, - "key_line_3d/scene_000000/key_line_3d/lcm_25tm/000000000000000005_21e2436af96fb6388eb0c64cc029cfdc928a3e95.json" + "key_line_3d/scene_000000/key_line_3d/lcm_25tm/000000000000000005_21e2436af96fb6388eb0c64cc029cfdc928a3e95.json", ) kl3d_list = KeyLine3DAnnotationList.load(scenes_dataset_json, kl_ontology) kl3d_list.save(".") diff --git a/tests/annotation/test_keyline_annotation.py b/tests/annotation/test_keyline_annotation.py index 4d22eee3..660af5b7 100644 --- a/tests/annotation/test_keyline_annotation.py +++ b/tests/annotation/test_keyline_annotation.py @@ -12,10 +12,10 @@ def get_ontology_kl(scene_dataset_json, annotation_type): dataset = SynchronizedSceneDataset( scene_dataset_json, - split='train', - datum_names=['locator'], + split="train", + datum_names=["locator"], backward_context=0, - requested_annotations=("key_line_2d", ) + requested_annotations=("key_line_2d", ), ) return dataset.dataset_metadata.ontology_table.get(annotation_type, None) @@ -38,7 +38,7 @@ def test_kl2d_load(kl_ontology): expected_output = "b67e1" scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, - "key_line_2d/scene_000000/key_line_2d/FCM_front/000000000000000005_23caffa10d786a53782f9530a6ad796db0eaea21.json" + "key_line_2d/scene_000000/key_line_2d/FCM_front/000000000000000005_23caffa10d786a53782f9530a6ad796db0eaea21.json", ) kl2d_list = KeyLine2DAnnotationList.load(scenes_dataset_json, kl_ontology) assert kl2d_list.hexdigest[0:5] == expected_output @@ -48,18 +48,18 @@ def test_kl2d_proto(kl_ontology): DGP_TEST_DATASET_DIR = os.path.join(TEST_DATA_DIR, "dgp") scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, - "key_line_2d/scene_000000/key_line_2d/FCM_front/000000000000000005_23caffa10d786a53782f9530a6ad796db0eaea21.json" + "key_line_2d/scene_000000/key_line_2d/FCM_front/000000000000000005_23caffa10d786a53782f9530a6ad796db0eaea21.json", ) kl2d_list = KeyLine2DAnnotationList.load(scenes_dataset_json, kl_ontology) ouput_proto = kl2d_list.to_proto() - assert ouput_proto.__sizeof__() == 80 + assert ouput_proto.__sizeof__() in {64, 80} def test_kl2d_save(kl_ontology): DGP_TEST_DATASET_DIR = os.path.join(TEST_DATA_DIR, "dgp") scenes_dataset_json = os.path.join( DGP_TEST_DATASET_DIR, - "key_line_2d/scene_000000/key_line_2d/FCM_front/000000000000000005_23caffa10d786a53782f9530a6ad796db0eaea21.json" + "key_line_2d/scene_000000/key_line_2d/FCM_front/000000000000000005_23caffa10d786a53782f9530a6ad796db0eaea21.json", ) kl2d_list = KeyLine2DAnnotationList.load(scenes_dataset_json, kl_ontology) kl2d_list.save(".") diff --git a/tests/utils/structures/test_key_line_2d.py b/tests/utils/structures/test_key_line_2d.py index 235f14ce..ccb2dce8 100644 --- a/tests/utils/structures/test_key_line_2d.py +++ b/tests/utils/structures/test_key_line_2d.py @@ -1,6 +1,5 @@ import numpy as np import pytest -from numpy.lib.ufunclike import fix from dgp.utils.structures.key_line_2d import KeyLine2D @@ -8,10 +7,10 @@ @pytest.fixture def keyline(): k = np.float32([ - [.5, 2], + [0.5, 2], [0, 3], [0, 1], - [.25, -.25], + [0.25, -0.25], [100, 1], ]) return KeyLine2D(k) @@ -22,7 +21,7 @@ def test_keyline_class_id(keyline): def test_keyline_instance_id(keyline): - assert keyline.instance_id == 'fec66e3031932ead7efc8c0e5090ffac' + assert keyline.instance_id == "fec66e3031932ead7efc8c0e5090ffac" def test_keyline_color(keyline): @@ -34,7 +33,7 @@ def test_keyline_attributes(keyline): def test_keyline_hexdigest(keyline): - assert keyline.hexdigest == 'fec66e3031932ead7efc8c0e5090ffac' + assert keyline.hexdigest == "fec66e3031932ead7efc8c0e5090ffac" def test_keyline_to_proto(keyline): diff --git a/tests/utils/structures/test_key_line_3d.py b/tests/utils/structures/test_key_line_3d.py index af767f59..29967f20 100644 --- a/tests/utils/structures/test_key_line_3d.py +++ b/tests/utils/structures/test_key_line_3d.py @@ -1,13 +1,12 @@ import numpy as np import pytest -from numpy.lib.ufunclike import fix from dgp.utils.structures.key_line_3d import KeyLine3D @pytest.fixture def keyline(): - k = np.float32([[.5, 2, -1], [-4, 0, 3], [0, -1, 2], [.25, 1.25, -.25], [100, 1, 200]]) + k = np.float32([[0.5, 2, -1], [-4, 0, 3], [0, -1, 2], [0.25, 1.25, -0.25], [100, 1, 200]]) return KeyLine3D(k) @@ -16,7 +15,7 @@ def test_keyline_class_id(keyline): def test_keyline_instance_id(keyline): - assert keyline.instance_id == '6b144d77fb6c1f915f56027b4fe34f5e' + assert keyline.instance_id == "6b144d77fb6c1f915f56027b4fe34f5e" def test_keyline_color(keyline): @@ -28,7 +27,7 @@ def test_keyline_attributes(keyline): def test_keyline_hexdigest(keyline): - assert keyline.hexdigest == '6b144d77fb6c1f915f56027b4fe34f5e' + assert keyline.hexdigest == "6b144d77fb6c1f915f56027b4fe34f5e" def test_keyline_to_proto(keyline): diff --git a/tests/utils/test_camera.py b/tests/utils/test_camera.py index a2be66e5..d577d04a 100644 --- a/tests/utils/test_camera.py +++ b/tests/utils/test_camera.py @@ -1,6 +1,5 @@ import numpy as np import pytest -from numpy.lib.ufunclike import fix from dgp.utils.camera import Camera @@ -8,8 +7,8 @@ @pytest.fixture def camera(): k = np.float32([ - [.5, 0, 2], - [0, .25, 3], + [0.5, 0, 2], + [0, 0.25, 3], [0, 0, 1], ]) d = np.zeros(shape=(5, )) @@ -18,7 +17,7 @@ def camera(): @pytest.fixture def camera2(): - return Camera.from_params(.5, .25, 2, 3) + return Camera.from_params(0.5, 0.25, 2, 3) def test_camera_fx(camera, camera2): diff --git a/tests/utils/test_render_3d_to_2d.py b/tests/utils/test_render_3d_to_2d.py index 513e16c6..7479e30c 100644 --- a/tests/utils/test_render_3d_to_2d.py +++ b/tests/utils/test_render_3d_to_2d.py @@ -2,22 +2,20 @@ """Unit test to merge dgp datasets.""" import logging import os -import tempfile import unittest -import unittest.mock as mock import dgp.utils.render_3d_to_2d as render_engine from tests import TEST_DATA_DIR -SCENE_JSON = 'scene_6245881cb04e9f71ae6de99064e771dfa370329d.json' +SCENE_JSON = "scene_6245881cb04e9f71ae6de99064e771dfa370329d.json" # The list of cameras' name FRONT_CAMERA = ["CAMERA_21"] # The list of Lidars' name LIDAR = ["LIDAR"] # Define the class names from bounding_box_2d to bounding_box_3d if the class names are different. ONTOLOGY_NAME_MAPPER_2D_to_3D = { - 'Pedestrian': 'Person', - 'Car': 'Car', + "Pedestrian": "Person", + "Car": "Car", } @@ -28,11 +26,11 @@ def test_associate_scene(self): """Verifies the target bounding box can be associated successfully.""" # answer = gt_engine.associate_3d_and_2d_annotations_scene(scene_json=os.path.join(TEST_DATA_DIR,'dgp/test_scene/scene_03', SCENE_JSON)) answer = render_engine.associate_3d_and_2d_annotations_scene( - scene_json=os.path.join(TEST_DATA_DIR, 'dgp/associate_2d_to_3d_scene/scene_01', SCENE_JSON), + scene_json=os.path.join(TEST_DATA_DIR, "dgp/associate_2d_to_3d_scene/scene_01", SCENE_JSON), ontology_name_mapper=ONTOLOGY_NAME_MAPPER_2D_to_3D, camera_datum_names=FRONT_CAMERA, lidar_datum_names=LIDAR, - max_num_items=1 + max_num_items=1, ) assert FRONT_CAMERA[0] in answer for class_name in ONTOLOGY_NAME_MAPPER_2D_to_3D.keys(): @@ -41,7 +39,7 @@ def test_associate_scene(self): elif class_name == "Car": assert len(answer[FRONT_CAMERA[0]][class_name]) == 0 else: - raise RuntimeError('Unexpected class_name {}'.format(class_name)) + raise RuntimeError("Unexpected class_name {}".format(class_name)) if __name__ == "__main__":