|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
_sym_db = _symbol_database.Default() |
|
|
|
|
|
from object_detection.protos import faster_rcnn_pb2 as object__detection_dot_protos_dot_faster__rcnn__pb2 |
|
from object_detection.protos import ssd_pb2 as object__detection_dot_protos_dot_ssd__pb2 |
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor( |
|
name='object_detection/protos/model.proto', |
|
package='object_detection.protos', |
|
syntax='proto2', |
|
serialized_options=None, |
|
serialized_pb=_b('\n#object_detection/protos/model.proto\x12\x17object_detection.protos\x1a)object_detection/protos/faster_rcnn.proto\x1a!object_detection/protos/ssd.proto\"\x82\x01\n\x0e\x44\x65tectionModel\x12:\n\x0b\x66\x61ster_rcnn\x18\x01 \x01(\x0b\x32#.object_detection.protos.FasterRcnnH\x00\x12+\n\x03ssd\x18\x02 \x01(\x0b\x32\x1c.object_detection.protos.SsdH\x00\x42\x07\n\x05model') |
|
, |
|
dependencies=[object__detection_dot_protos_dot_faster__rcnn__pb2.DESCRIPTOR,object__detection_dot_protos_dot_ssd__pb2.DESCRIPTOR,]) |
|
|
|
|
|
|
|
|
|
_DETECTIONMODEL = _descriptor.Descriptor( |
|
name='DetectionModel', |
|
full_name='object_detection.protos.DetectionModel', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='faster_rcnn', full_name='object_detection.protos.DetectionModel.faster_rcnn', 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), |
|
_descriptor.FieldDescriptor( |
|
name='ssd', full_name='object_detection.protos.DetectionModel.ssd', 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), |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
serialized_options=None, |
|
is_extendable=False, |
|
syntax='proto2', |
|
extension_ranges=[], |
|
oneofs=[ |
|
_descriptor.OneofDescriptor( |
|
name='model', full_name='object_detection.protos.DetectionModel.model', |
|
index=0, containing_type=None, fields=[]), |
|
], |
|
serialized_start=143, |
|
serialized_end=273, |
|
) |
|
|
|
_DETECTIONMODEL.fields_by_name['faster_rcnn'].message_type = object__detection_dot_protos_dot_faster__rcnn__pb2._FASTERRCNN |
|
_DETECTIONMODEL.fields_by_name['ssd'].message_type = object__detection_dot_protos_dot_ssd__pb2._SSD |
|
_DETECTIONMODEL.oneofs_by_name['model'].fields.append( |
|
_DETECTIONMODEL.fields_by_name['faster_rcnn']) |
|
_DETECTIONMODEL.fields_by_name['faster_rcnn'].containing_oneof = _DETECTIONMODEL.oneofs_by_name['model'] |
|
_DETECTIONMODEL.oneofs_by_name['model'].fields.append( |
|
_DETECTIONMODEL.fields_by_name['ssd']) |
|
_DETECTIONMODEL.fields_by_name['ssd'].containing_oneof = _DETECTIONMODEL.oneofs_by_name['model'] |
|
DESCRIPTOR.message_types_by_name['DetectionModel'] = _DETECTIONMODEL |
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR) |
|
|
|
DetectionModel = _reflection.GeneratedProtocolMessageType('DetectionModel', (_message.Message,), dict( |
|
DESCRIPTOR = _DETECTIONMODEL, |
|
__module__ = 'object_detection.protos.model_pb2' |
|
|
|
)) |
|
_sym_db.RegisterMessage(DetectionModel) |
|
|
|
|
|
|
|
|