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.

114 lines
6.1 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/box_coder.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_box_coder_pb2 as object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2
  13. from object_detection.protos import keypoint_box_coder_pb2 as object__detection_dot_protos_dot_keypoint__box__coder__pb2
  14. from object_detection.protos import mean_stddev_box_coder_pb2 as object__detection_dot_protos_dot_mean__stddev__box__coder__pb2
  15. from object_detection.protos import square_box_coder_pb2 as object__detection_dot_protos_dot_square__box__coder__pb2
  16. DESCRIPTOR = _descriptor.FileDescriptor(
  17. name='object_detection/protos/box_coder.proto',
  18. package='object_detection.protos',
  19. syntax='proto2',
  20. serialized_pb=_b('\n\'object_detection/protos/box_coder.proto\x12\x17object_detection.protos\x1a\x33object_detection/protos/faster_rcnn_box_coder.proto\x1a\x30object_detection/protos/keypoint_box_coder.proto\x1a\x33object_detection/protos/mean_stddev_box_coder.proto\x1a.object_detection/protos/square_box_coder.proto\"\xc7\x02\n\x08\x42oxCoder\x12L\n\x15\x66\x61ster_rcnn_box_coder\x18\x01 \x01(\x0b\x32+.object_detection.protos.FasterRcnnBoxCoderH\x00\x12L\n\x15mean_stddev_box_coder\x18\x02 \x01(\x0b\x32+.object_detection.protos.MeanStddevBoxCoderH\x00\x12\x43\n\x10square_box_coder\x18\x03 \x01(\x0b\x32\'.object_detection.protos.SquareBoxCoderH\x00\x12G\n\x12keypoint_box_coder\x18\x04 \x01(\x0b\x32).object_detection.protos.KeypointBoxCoderH\x00\x42\x11\n\x0f\x62ox_coder_oneof')
  21. ,
  22. dependencies=[object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2.DESCRIPTOR,object__detection_dot_protos_dot_keypoint__box__coder__pb2.DESCRIPTOR,object__detection_dot_protos_dot_mean__stddev__box__coder__pb2.DESCRIPTOR,object__detection_dot_protos_dot_square__box__coder__pb2.DESCRIPTOR,])
  23. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  24. _BOXCODER = _descriptor.Descriptor(
  25. name='BoxCoder',
  26. full_name='object_detection.protos.BoxCoder',
  27. filename=None,
  28. file=DESCRIPTOR,
  29. containing_type=None,
  30. fields=[
  31. _descriptor.FieldDescriptor(
  32. name='faster_rcnn_box_coder', full_name='object_detection.protos.BoxCoder.faster_rcnn_box_coder', index=0,
  33. number=1, type=11, cpp_type=10, label=1,
  34. has_default_value=False, default_value=None,
  35. message_type=None, enum_type=None, containing_type=None,
  36. is_extension=False, extension_scope=None,
  37. options=None),
  38. _descriptor.FieldDescriptor(
  39. name='mean_stddev_box_coder', full_name='object_detection.protos.BoxCoder.mean_stddev_box_coder', index=1,
  40. number=2, type=11, cpp_type=10, label=1,
  41. has_default_value=False, default_value=None,
  42. message_type=None, enum_type=None, containing_type=None,
  43. is_extension=False, extension_scope=None,
  44. options=None),
  45. _descriptor.FieldDescriptor(
  46. name='square_box_coder', full_name='object_detection.protos.BoxCoder.square_box_coder', index=2,
  47. number=3, type=11, cpp_type=10, label=1,
  48. has_default_value=False, default_value=None,
  49. message_type=None, enum_type=None, containing_type=None,
  50. is_extension=False, extension_scope=None,
  51. options=None),
  52. _descriptor.FieldDescriptor(
  53. name='keypoint_box_coder', full_name='object_detection.protos.BoxCoder.keypoint_box_coder', index=3,
  54. number=4, type=11, cpp_type=10, label=1,
  55. has_default_value=False, default_value=None,
  56. message_type=None, enum_type=None, containing_type=None,
  57. is_extension=False, extension_scope=None,
  58. options=None),
  59. ],
  60. extensions=[
  61. ],
  62. nested_types=[],
  63. enum_types=[
  64. ],
  65. options=None,
  66. is_extendable=False,
  67. syntax='proto2',
  68. extension_ranges=[],
  69. oneofs=[
  70. _descriptor.OneofDescriptor(
  71. name='box_coder_oneof', full_name='object_detection.protos.BoxCoder.box_coder_oneof',
  72. index=0, containing_type=None, fields=[]),
  73. ],
  74. serialized_start=273,
  75. serialized_end=600,
  76. )
  77. _BOXCODER.fields_by_name['faster_rcnn_box_coder'].message_type = object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2._FASTERRCNNBOXCODER
  78. _BOXCODER.fields_by_name['mean_stddev_box_coder'].message_type = object__detection_dot_protos_dot_mean__stddev__box__coder__pb2._MEANSTDDEVBOXCODER
  79. _BOXCODER.fields_by_name['square_box_coder'].message_type = object__detection_dot_protos_dot_square__box__coder__pb2._SQUAREBOXCODER
  80. _BOXCODER.fields_by_name['keypoint_box_coder'].message_type = object__detection_dot_protos_dot_keypoint__box__coder__pb2._KEYPOINTBOXCODER
  81. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  82. _BOXCODER.fields_by_name['faster_rcnn_box_coder'])
  83. _BOXCODER.fields_by_name['faster_rcnn_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  84. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  85. _BOXCODER.fields_by_name['mean_stddev_box_coder'])
  86. _BOXCODER.fields_by_name['mean_stddev_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  87. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  88. _BOXCODER.fields_by_name['square_box_coder'])
  89. _BOXCODER.fields_by_name['square_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  90. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  91. _BOXCODER.fields_by_name['keypoint_box_coder'])
  92. _BOXCODER.fields_by_name['keypoint_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  93. DESCRIPTOR.message_types_by_name['BoxCoder'] = _BOXCODER
  94. BoxCoder = _reflection.GeneratedProtocolMessageType('BoxCoder', (_message.Message,), dict(
  95. DESCRIPTOR = _BOXCODER,
  96. __module__ = 'object_detection.protos.box_coder_pb2'
  97. # @@protoc_insertion_point(class_scope:object_detection.protos.BoxCoder)
  98. ))
  99. _sym_db.RegisterMessage(BoxCoder)
  100. # @@protoc_insertion_point(module_scope)