You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.7 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/model.proto
  3. import sys
  4. _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import message as _message
  7. from google.protobuf import reflection as _reflection
  8. from google.protobuf import symbol_database as _symbol_database
  9. from google.protobuf import descriptor_pb2
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. from object_detection.protos import faster_rcnn_pb2 as object__detection_dot_protos_dot_faster__rcnn__pb2
  13. from object_detection.protos import ssd_pb2 as object__detection_dot_protos_dot_ssd__pb2
  14. DESCRIPTOR = _descriptor.FileDescriptor(
  15. name='object_detection/protos/model.proto',
  16. package='object_detection.protos',
  17. syntax='proto2',
  18. 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')
  19. ,
  20. dependencies=[object__detection_dot_protos_dot_faster__rcnn__pb2.DESCRIPTOR,object__detection_dot_protos_dot_ssd__pb2.DESCRIPTOR,])
  21. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  22. _DETECTIONMODEL = _descriptor.Descriptor(
  23. name='DetectionModel',
  24. full_name='object_detection.protos.DetectionModel',
  25. filename=None,
  26. file=DESCRIPTOR,
  27. containing_type=None,
  28. fields=[
  29. _descriptor.FieldDescriptor(
  30. name='faster_rcnn', full_name='object_detection.protos.DetectionModel.faster_rcnn', index=0,
  31. number=1, type=11, cpp_type=10, label=1,
  32. has_default_value=False, default_value=None,
  33. message_type=None, enum_type=None, containing_type=None,
  34. is_extension=False, extension_scope=None,
  35. options=None),
  36. _descriptor.FieldDescriptor(
  37. name='ssd', full_name='object_detection.protos.DetectionModel.ssd', index=1,
  38. number=2, type=11, cpp_type=10, label=1,
  39. has_default_value=False, default_value=None,
  40. message_type=None, enum_type=None, containing_type=None,
  41. is_extension=False, extension_scope=None,
  42. options=None),
  43. ],
  44. extensions=[
  45. ],
  46. nested_types=[],
  47. enum_types=[
  48. ],
  49. options=None,
  50. is_extendable=False,
  51. syntax='proto2',
  52. extension_ranges=[],
  53. oneofs=[
  54. _descriptor.OneofDescriptor(
  55. name='model', full_name='object_detection.protos.DetectionModel.model',
  56. index=0, containing_type=None, fields=[]),
  57. ],
  58. serialized_start=143,
  59. serialized_end=273,
  60. )
  61. _DETECTIONMODEL.fields_by_name['faster_rcnn'].message_type = object__detection_dot_protos_dot_faster__rcnn__pb2._FASTERRCNN
  62. _DETECTIONMODEL.fields_by_name['ssd'].message_type = object__detection_dot_protos_dot_ssd__pb2._SSD
  63. _DETECTIONMODEL.oneofs_by_name['model'].fields.append(
  64. _DETECTIONMODEL.fields_by_name['faster_rcnn'])
  65. _DETECTIONMODEL.fields_by_name['faster_rcnn'].containing_oneof = _DETECTIONMODEL.oneofs_by_name['model']
  66. _DETECTIONMODEL.oneofs_by_name['model'].fields.append(
  67. _DETECTIONMODEL.fields_by_name['ssd'])
  68. _DETECTIONMODEL.fields_by_name['ssd'].containing_oneof = _DETECTIONMODEL.oneofs_by_name['model']
  69. DESCRIPTOR.message_types_by_name['DetectionModel'] = _DETECTIONMODEL
  70. DetectionModel = _reflection.GeneratedProtocolMessageType('DetectionModel', (_message.Message,), dict(
  71. DESCRIPTOR = _DETECTIONMODEL,
  72. __module__ = 'object_detection.protos.model_pb2'
  73. # @@protoc_insertion_point(class_scope:object_detection.protos.DetectionModel)
  74. ))
  75. _sym_db.RegisterMessage(DetectionModel)
  76. # @@protoc_insertion_point(module_scope)