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

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/model.proto
  3. import sys,getpass
  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. # @@protoc_insertion_point(imports)
  10. _sym_db = _symbol_database.Default()
  11. from object_detection.protos import faster_rcnn_pb2 as object__detection_dot_protos_dot_faster__rcnn__pb2
  12. from object_detection.protos import ssd_pb2 as object__detection_dot_protos_dot_ssd__pb2
  13. DESCRIPTOR = _descriptor.FileDescriptor(
  14. name='object_detection/protos/model.proto',
  15. package='object_detection.protos',
  16. syntax='proto2',
  17. serialized_options=None,
  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. _DETECTIONMODEL = _descriptor.Descriptor(
  22. name='DetectionModel',
  23. full_name='object_detection.protos.DetectionModel',
  24. filename=None,
  25. file=DESCRIPTOR,
  26. containing_type=None,
  27. fields=[
  28. _descriptor.FieldDescriptor(
  29. name='faster_rcnn', full_name='object_detection.protos.DetectionModel.faster_rcnn', index=0,
  30. number=1, type=11, cpp_type=10, label=1,
  31. has_default_value=False, default_value=None,
  32. message_type=None, enum_type=None, containing_type=None,
  33. is_extension=False, extension_scope=None,
  34. serialized_options=None, file=DESCRIPTOR),
  35. _descriptor.FieldDescriptor(
  36. name='ssd', full_name='object_detection.protos.DetectionModel.ssd', index=1,
  37. number=2, type=11, cpp_type=10, label=1,
  38. has_default_value=False, default_value=None,
  39. message_type=None, enum_type=None, containing_type=None,
  40. is_extension=False, extension_scope=None,
  41. serialized_options=None, file=DESCRIPTOR),
  42. ],
  43. extensions=[
  44. ],
  45. nested_types=[],
  46. enum_types=[
  47. ],
  48. serialized_options=None,
  49. is_extendable=False,
  50. syntax='proto2',
  51. extension_ranges=[],
  52. oneofs=[
  53. _descriptor.OneofDescriptor(
  54. name='model', full_name='object_detection.protos.DetectionModel.model',
  55. index=0, containing_type=None, fields=[]),
  56. ],
  57. serialized_start=143,
  58. serialized_end=273,
  59. )
  60. _DETECTIONMODEL.fields_by_name['faster_rcnn'].message_type = object__detection_dot_protos_dot_faster__rcnn__pb2._FASTERRCNN
  61. _DETECTIONMODEL.fields_by_name['ssd'].message_type = object__detection_dot_protos_dot_ssd__pb2._SSD
  62. _DETECTIONMODEL.oneofs_by_name['model'].fields.append(
  63. _DETECTIONMODEL.fields_by_name['faster_rcnn'])
  64. _DETECTIONMODEL.fields_by_name['faster_rcnn'].containing_oneof = _DETECTIONMODEL.oneofs_by_name['model']
  65. _DETECTIONMODEL.oneofs_by_name['model'].fields.append(
  66. _DETECTIONMODEL.fields_by_name['ssd'])
  67. _DETECTIONMODEL.fields_by_name['ssd'].containing_oneof = _DETECTIONMODEL.oneofs_by_name['model']
  68. DESCRIPTOR.message_types_by_name['DetectionModel'] = _DETECTIONMODEL
  69. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  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)