|
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: ext.proto
-
- import sys
- _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
- 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
- from google.protobuf import descriptor_pb2
- # @@protoc_insertion_point(imports)
-
- _sym_db = _symbol_database.Default()
-
-
-
-
- DESCRIPTOR = _descriptor.FileDescriptor(
- name='ext.proto',
- package='apulis.infer.cv.detection',
- syntax='proto3',
- serialized_pb=_b('\n\text.proto\x12\x19\x61pulis.infer.cv.detection\"\xaf\x01\n\x07Predict\x12\x37\n\x06\x62\x62oxes\x18\x01 \x03(\x0b\x32\'.apulis.infer.cv.detection.Predict.BBox\x1ak\n\x04\x42\x42ox\x12\n\n\x02x0\x18\x01 \x01(\x02\x12\n\n\x02y0\x18\x02 \x01(\x02\x12\n\n\x02x1\x18\x03 \x01(\x02\x12\n\n\x02y1\x18\x04 \x01(\x02\x12\r\n\x05score\x18\x05 \x01(\x02\x12\x12\n\nlabel_name\x18\x06 \x01(\t\x12\x10\n\x08label_id\x18\x07 \x01(\x05\x42/Z-public/cv/detection;apulis_infer_cv_detectionb\x06proto3')
- )
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
-
-
-
- _PREDICT_BBOX = _descriptor.Descriptor(
- name='BBox',
- full_name='apulis.infer.cv.detection.Predict.BBox',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='x0', full_name='apulis.infer.cv.detection.Predict.BBox.x0', 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,
- options=None),
- _descriptor.FieldDescriptor(
- name='y0', full_name='apulis.infer.cv.detection.Predict.BBox.y0', 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,
- options=None),
- _descriptor.FieldDescriptor(
- name='x1', full_name='apulis.infer.cv.detection.Predict.BBox.x1', 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,
- options=None),
- _descriptor.FieldDescriptor(
- name='y1', full_name='apulis.infer.cv.detection.Predict.BBox.y1', index=3,
- 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,
- options=None),
- _descriptor.FieldDescriptor(
- name='score', full_name='apulis.infer.cv.detection.Predict.BBox.score', index=4,
- 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,
- options=None),
- _descriptor.FieldDescriptor(
- name='label_name', full_name='apulis.infer.cv.detection.Predict.BBox.label_name', index=5,
- number=6, 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,
- options=None),
- _descriptor.FieldDescriptor(
- name='label_id', full_name='apulis.infer.cv.detection.Predict.BBox.label_id', 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,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=109,
- serialized_end=216,
- )
-
- _PREDICT = _descriptor.Descriptor(
- name='Predict',
- full_name='apulis.infer.cv.detection.Predict',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='bboxes', full_name='apulis.infer.cv.detection.Predict.bboxes', 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,
- options=None),
- ],
- extensions=[
- ],
- nested_types=[_PREDICT_BBOX, ],
- enum_types=[
- ],
- options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=41,
- serialized_end=216,
- )
-
- _PREDICT_BBOX.containing_type = _PREDICT
- _PREDICT.fields_by_name['bboxes'].message_type = _PREDICT_BBOX
- DESCRIPTOR.message_types_by_name['Predict'] = _PREDICT
-
- Predict = _reflection.GeneratedProtocolMessageType('Predict', (_message.Message,), dict(
-
- BBox = _reflection.GeneratedProtocolMessageType('BBox', (_message.Message,), dict(
- DESCRIPTOR = _PREDICT_BBOX,
- __module__ = 'ext_pb2'
- # @@protoc_insertion_point(class_scope:apulis.infer.cv.detection.Predict.BBox)
- ))
- ,
- DESCRIPTOR = _PREDICT,
- __module__ = 'ext_pb2'
- # @@protoc_insertion_point(class_scope:apulis.infer.cv.detection.Predict)
- ))
- _sym_db.RegisterMessage(Predict)
- _sym_db.RegisterMessage(Predict.BBox)
-
-
- DESCRIPTOR.has_options = True
- DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z-public/cv/detection;apulis_infer_cv_detection'))
- # @@protoc_insertion_point(module_scope)
|