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.2 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/box_coder.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_box_coder_pb2 as object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2
  12. from object_detection.protos import keypoint_box_coder_pb2 as object__detection_dot_protos_dot_keypoint__box__coder__pb2
  13. from object_detection.protos import mean_stddev_box_coder_pb2 as object__detection_dot_protos_dot_mean__stddev__box__coder__pb2
  14. from object_detection.protos import square_box_coder_pb2 as object__detection_dot_protos_dot_square__box__coder__pb2
  15. DESCRIPTOR = _descriptor.FileDescriptor(
  16. name='object_detection/protos/box_coder.proto',
  17. package='object_detection.protos',
  18. syntax='proto2',
  19. serialized_options=None,
  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. _BOXCODER = _descriptor.Descriptor(
  24. name='BoxCoder',
  25. full_name='object_detection.protos.BoxCoder',
  26. filename=None,
  27. file=DESCRIPTOR,
  28. containing_type=None,
  29. fields=[
  30. _descriptor.FieldDescriptor(
  31. name='faster_rcnn_box_coder', full_name='object_detection.protos.BoxCoder.faster_rcnn_box_coder', index=0,
  32. number=1, type=11, cpp_type=10, label=1,
  33. has_default_value=False, default_value=None,
  34. message_type=None, enum_type=None, containing_type=None,
  35. is_extension=False, extension_scope=None,
  36. serialized_options=None, file=DESCRIPTOR),
  37. _descriptor.FieldDescriptor(
  38. name='mean_stddev_box_coder', full_name='object_detection.protos.BoxCoder.mean_stddev_box_coder', index=1,
  39. number=2, type=11, cpp_type=10, label=1,
  40. has_default_value=False, default_value=None,
  41. message_type=None, enum_type=None, containing_type=None,
  42. is_extension=False, extension_scope=None,
  43. serialized_options=None, file=DESCRIPTOR),
  44. _descriptor.FieldDescriptor(
  45. name='square_box_coder', full_name='object_detection.protos.BoxCoder.square_box_coder', index=2,
  46. number=3, type=11, cpp_type=10, label=1,
  47. has_default_value=False, default_value=None,
  48. message_type=None, enum_type=None, containing_type=None,
  49. is_extension=False, extension_scope=None,
  50. serialized_options=None, file=DESCRIPTOR),
  51. _descriptor.FieldDescriptor(
  52. name='keypoint_box_coder', full_name='object_detection.protos.BoxCoder.keypoint_box_coder', index=3,
  53. number=4, type=11, cpp_type=10, label=1,
  54. has_default_value=False, default_value=None,
  55. message_type=None, enum_type=None, containing_type=None,
  56. is_extension=False, extension_scope=None,
  57. serialized_options=None, file=DESCRIPTOR),
  58. ],
  59. extensions=[
  60. ],
  61. nested_types=[],
  62. enum_types=[
  63. ],
  64. serialized_options=None,
  65. is_extendable=False,
  66. syntax='proto2',
  67. extension_ranges=[],
  68. oneofs=[
  69. _descriptor.OneofDescriptor(
  70. name='box_coder_oneof', full_name='object_detection.protos.BoxCoder.box_coder_oneof',
  71. index=0, containing_type=None, fields=[]),
  72. ],
  73. serialized_start=273,
  74. serialized_end=600,
  75. )
  76. _BOXCODER.fields_by_name['faster_rcnn_box_coder'].message_type = object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2._FASTERRCNNBOXCODER
  77. _BOXCODER.fields_by_name['mean_stddev_box_coder'].message_type = object__detection_dot_protos_dot_mean__stddev__box__coder__pb2._MEANSTDDEVBOXCODER
  78. _BOXCODER.fields_by_name['square_box_coder'].message_type = object__detection_dot_protos_dot_square__box__coder__pb2._SQUAREBOXCODER
  79. _BOXCODER.fields_by_name['keypoint_box_coder'].message_type = object__detection_dot_protos_dot_keypoint__box__coder__pb2._KEYPOINTBOXCODER
  80. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  81. _BOXCODER.fields_by_name['faster_rcnn_box_coder'])
  82. _BOXCODER.fields_by_name['faster_rcnn_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  83. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  84. _BOXCODER.fields_by_name['mean_stddev_box_coder'])
  85. _BOXCODER.fields_by_name['mean_stddev_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  86. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  87. _BOXCODER.fields_by_name['square_box_coder'])
  88. _BOXCODER.fields_by_name['square_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  89. _BOXCODER.oneofs_by_name['box_coder_oneof'].fields.append(
  90. _BOXCODER.fields_by_name['keypoint_box_coder'])
  91. _BOXCODER.fields_by_name['keypoint_box_coder'].containing_oneof = _BOXCODER.oneofs_by_name['box_coder_oneof']
  92. DESCRIPTOR.message_types_by_name['BoxCoder'] = _BOXCODER
  93. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  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)