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.

624 lines
34 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/box_predictor.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 hyperparams_pb2 as object__detection_dot_protos_dot_hyperparams__pb2
  12. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='object_detection/protos/box_predictor.proto',
  14. package='object_detection.protos',
  15. syntax='proto2',
  16. serialized_options=None,
  17. serialized_pb=_b('\n+object_detection/protos/box_predictor.proto\x12\x17object_detection.protos\x1a)object_detection/protos/hyperparams.proto\"\x90\x03\n\x0c\x42oxPredictor\x12Y\n\x1b\x63onvolutional_box_predictor\x18\x01 \x01(\x0b\x32\x32.object_detection.protos.ConvolutionalBoxPredictorH\x00\x12P\n\x17mask_rcnn_box_predictor\x18\x02 \x01(\x0b\x32-.object_detection.protos.MaskRCNNBoxPredictorH\x00\x12G\n\x12rfcn_box_predictor\x18\x03 \x01(\x0b\x32).object_detection.protos.RfcnBoxPredictorH\x00\x12s\n)weight_shared_convolutional_box_predictor\x18\x04 \x01(\x0b\x32>.object_detection.protos.WeightSharedConvolutionalBoxPredictorH\x00\x42\x15\n\x13\x62ox_predictor_oneof\"\x90\x03\n\x19\x43onvolutionalBoxPredictor\x12>\n\x10\x63onv_hyperparams\x18\x01 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12\x14\n\tmin_depth\x18\x02 \x01(\x05:\x01\x30\x12\x14\n\tmax_depth\x18\x03 \x01(\x05:\x01\x30\x12&\n\x1bnum_layers_before_predictor\x18\x04 \x01(\x05:\x01\x30\x12\x19\n\x0buse_dropout\x18\x05 \x01(\x08:\x04true\x12%\n\x18\x64ropout_keep_probability\x18\x06 \x01(\x02:\x03\x30.8\x12\x16\n\x0bkernel_size\x18\x07 \x01(\x05:\x01\x31\x12\x18\n\rbox_code_size\x18\x08 \x01(\x05:\x01\x34\x12&\n\x17\x61pply_sigmoid_to_scores\x18\t \x01(\x08:\x05\x66\x61lse\x12%\n\x1a\x63lass_prediction_bias_init\x18\n \x01(\x02:\x01\x30\x12\x1c\n\ruse_depthwise\x18\x0b \x01(\x08:\x05\x66\x61lse\"\xcc\x05\n%WeightSharedConvolutionalBoxPredictor\x12>\n\x10\x63onv_hyperparams\x18\x01 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12&\n\x1bnum_layers_before_predictor\x18\x04 \x01(\x05:\x01\x30\x12\x10\n\x05\x64\x65pth\x18\x02 \x01(\x05:\x01\x30\x12\x16\n\x0bkernel_size\x18\x07 \x01(\x05:\x01\x33\x12\x18\n\rbox_code_size\x18\x08 \x01(\x05:\x01\x34\x12%\n\x1a\x63lass_prediction_bias_init\x18\n \x01(\x02:\x01\x30\x12\x1a\n\x0buse_dropout\x18\x0b \x01(\x08:\x05\x66\x61lse\x12%\n\x18\x64ropout_keep_probability\x18\x0c \x01(\x02:\x03\x30.8\x12%\n\x16share_prediction_tower\x18\r \x01(\x08:\x05\x66\x61lse\x12\x1c\n\ruse_depthwise\x18\x0e \x01(\x08:\x05\x66\x61lse\x12p\n\x0fscore_converter\x18\x10 \x01(\x0e\x32M.object_detection.protos.WeightSharedConvolutionalBoxPredictor.ScoreConverter:\x08IDENTITY\x12v\n\x18\x62ox_encodings_clip_range\x18\x11 \x01(\x0b\x32T.object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange\x1a\x31\n\x15\x42oxEncodingsClipRange\x12\x0b\n\x03min\x18\x01 \x01(\x02\x12\x0b\n\x03max\x18\x02 \x01(\x02\"+\n\x0eScoreConverter\x12\x0c\n\x08IDENTITY\x10\x00\x12\x0b\n\x07SIGMOID\x10\x01\"\xbf\x04\n\x14MaskRCNNBoxPredictor\x12<\n\x0e\x66\x63_hyperparams\x18\x01 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12\x1a\n\x0buse_dropout\x18\x02 \x01(\x08:\x05\x66\x61lse\x12%\n\x18\x64ropout_keep_probability\x18\x03 \x01(\x02:\x03\x30.5\x12\x18\n\rbox_code_size\x18\x04 \x01(\x05:\x01\x34\x12>\n\x10\x63onv_hyperparams\x18\x05 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12%\n\x16predict_instance_masks\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\'\n\x1amask_prediction_conv_depth\x18\x07 \x01(\x05:\x03\x32\x35\x36\x12 \n\x11predict_keypoints\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\x17\n\x0bmask_height\x18\t \x01(\x05:\x02\x31\x35\x12\x16\n\nmask_width\x18\n \x01(\x05:\x02\x31\x35\x12*\n\x1fmask_prediction_num_conv_layers\x18\x0b \x01(\x05:\x01\x32\x12\'\n\x18masks_are_class_agnostic\x18\x0c \x01(\x08:\x05\x66\x61lse\x12\'\n\x18share_box_across_classes\x18\r \x01(\x08:\x05\x66\x61lse\x12+\n\x1c\x63onvolve_then_upsample_masks\x18\x0e \x01(\x08:\x05\x66\x61lse\"\xf9\x01\n\x10RfcnBoxPredictor\x12>\n\x10\x63onv_hyperparams\x18\x01 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12\"\n\x17num_spatial_bins_height\x18\x02 \x01(\x05:\x01\x33\x12!\n\x16num_spatial_bins_width\x18\x03 \x01(\x05:\x01\x33\x12\x13\n\x05\x64\x65pth\x18\x04 \x01(\x05:\x04\x31\x30\x32\x34\x12\x18\n\rbox_code_size\x18\x05 \x01(\x05:\x01\x34\x12\x17\n\x0b\x63rop_height\x18\x06 \x01(\x05:\x02\x31\x32\x12\x16\n\ncrop_width\x18\x07 \x01(\x05:\x02\x31\x32')
  18. ,
  19. dependencies=[object__detection_dot_protos_dot_hyperparams__pb2.DESCRIPTOR,])
  20. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER = _descriptor.EnumDescriptor(
  21. name='ScoreConverter',
  22. full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.ScoreConverter',
  23. filename=None,
  24. file=DESCRIPTOR,
  25. values=[
  26. _descriptor.EnumValueDescriptor(
  27. name='IDENTITY', index=0, number=0,
  28. serialized_options=None,
  29. type=None),
  30. _descriptor.EnumValueDescriptor(
  31. name='SIGMOID', index=1, number=1,
  32. serialized_options=None,
  33. type=None),
  34. ],
  35. containing_type=None,
  36. serialized_options=None,
  37. serialized_start=1595,
  38. serialized_end=1638,
  39. )
  40. _sym_db.RegisterEnumDescriptor(_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER)
  41. _BOXPREDICTOR = _descriptor.Descriptor(
  42. name='BoxPredictor',
  43. full_name='object_detection.protos.BoxPredictor',
  44. filename=None,
  45. file=DESCRIPTOR,
  46. containing_type=None,
  47. fields=[
  48. _descriptor.FieldDescriptor(
  49. name='convolutional_box_predictor', full_name='object_detection.protos.BoxPredictor.convolutional_box_predictor', index=0,
  50. number=1, type=11, cpp_type=10, label=1,
  51. has_default_value=False, default_value=None,
  52. message_type=None, enum_type=None, containing_type=None,
  53. is_extension=False, extension_scope=None,
  54. serialized_options=None, file=DESCRIPTOR),
  55. _descriptor.FieldDescriptor(
  56. name='mask_rcnn_box_predictor', full_name='object_detection.protos.BoxPredictor.mask_rcnn_box_predictor', index=1,
  57. number=2, type=11, cpp_type=10, label=1,
  58. has_default_value=False, default_value=None,
  59. message_type=None, enum_type=None, containing_type=None,
  60. is_extension=False, extension_scope=None,
  61. serialized_options=None, file=DESCRIPTOR),
  62. _descriptor.FieldDescriptor(
  63. name='rfcn_box_predictor', full_name='object_detection.protos.BoxPredictor.rfcn_box_predictor', index=2,
  64. number=3, type=11, cpp_type=10, label=1,
  65. has_default_value=False, default_value=None,
  66. message_type=None, enum_type=None, containing_type=None,
  67. is_extension=False, extension_scope=None,
  68. serialized_options=None, file=DESCRIPTOR),
  69. _descriptor.FieldDescriptor(
  70. name='weight_shared_convolutional_box_predictor', full_name='object_detection.protos.BoxPredictor.weight_shared_convolutional_box_predictor', index=3,
  71. number=4, type=11, cpp_type=10, label=1,
  72. has_default_value=False, default_value=None,
  73. message_type=None, enum_type=None, containing_type=None,
  74. is_extension=False, extension_scope=None,
  75. serialized_options=None, file=DESCRIPTOR),
  76. ],
  77. extensions=[
  78. ],
  79. nested_types=[],
  80. enum_types=[
  81. ],
  82. serialized_options=None,
  83. is_extendable=False,
  84. syntax='proto2',
  85. extension_ranges=[],
  86. oneofs=[
  87. _descriptor.OneofDescriptor(
  88. name='box_predictor_oneof', full_name='object_detection.protos.BoxPredictor.box_predictor_oneof',
  89. index=0, containing_type=None, fields=[]),
  90. ],
  91. serialized_start=116,
  92. serialized_end=516,
  93. )
  94. _CONVOLUTIONALBOXPREDICTOR = _descriptor.Descriptor(
  95. name='ConvolutionalBoxPredictor',
  96. full_name='object_detection.protos.ConvolutionalBoxPredictor',
  97. filename=None,
  98. file=DESCRIPTOR,
  99. containing_type=None,
  100. fields=[
  101. _descriptor.FieldDescriptor(
  102. name='conv_hyperparams', full_name='object_detection.protos.ConvolutionalBoxPredictor.conv_hyperparams', index=0,
  103. number=1, type=11, cpp_type=10, label=1,
  104. has_default_value=False, default_value=None,
  105. message_type=None, enum_type=None, containing_type=None,
  106. is_extension=False, extension_scope=None,
  107. serialized_options=None, file=DESCRIPTOR),
  108. _descriptor.FieldDescriptor(
  109. name='min_depth', full_name='object_detection.protos.ConvolutionalBoxPredictor.min_depth', index=1,
  110. number=2, type=5, cpp_type=1, label=1,
  111. has_default_value=True, default_value=0,
  112. message_type=None, enum_type=None, containing_type=None,
  113. is_extension=False, extension_scope=None,
  114. serialized_options=None, file=DESCRIPTOR),
  115. _descriptor.FieldDescriptor(
  116. name='max_depth', full_name='object_detection.protos.ConvolutionalBoxPredictor.max_depth', index=2,
  117. number=3, type=5, cpp_type=1, label=1,
  118. has_default_value=True, default_value=0,
  119. message_type=None, enum_type=None, containing_type=None,
  120. is_extension=False, extension_scope=None,
  121. serialized_options=None, file=DESCRIPTOR),
  122. _descriptor.FieldDescriptor(
  123. name='num_layers_before_predictor', full_name='object_detection.protos.ConvolutionalBoxPredictor.num_layers_before_predictor', index=3,
  124. number=4, type=5, cpp_type=1, label=1,
  125. has_default_value=True, default_value=0,
  126. message_type=None, enum_type=None, containing_type=None,
  127. is_extension=False, extension_scope=None,
  128. serialized_options=None, file=DESCRIPTOR),
  129. _descriptor.FieldDescriptor(
  130. name='use_dropout', full_name='object_detection.protos.ConvolutionalBoxPredictor.use_dropout', index=4,
  131. number=5, type=8, cpp_type=7, label=1,
  132. has_default_value=True, default_value=True,
  133. message_type=None, enum_type=None, containing_type=None,
  134. is_extension=False, extension_scope=None,
  135. serialized_options=None, file=DESCRIPTOR),
  136. _descriptor.FieldDescriptor(
  137. name='dropout_keep_probability', full_name='object_detection.protos.ConvolutionalBoxPredictor.dropout_keep_probability', index=5,
  138. number=6, type=2, cpp_type=6, label=1,
  139. has_default_value=True, default_value=float(0.8),
  140. message_type=None, enum_type=None, containing_type=None,
  141. is_extension=False, extension_scope=None,
  142. serialized_options=None, file=DESCRIPTOR),
  143. _descriptor.FieldDescriptor(
  144. name='kernel_size', full_name='object_detection.protos.ConvolutionalBoxPredictor.kernel_size', index=6,
  145. number=7, type=5, cpp_type=1, label=1,
  146. has_default_value=True, default_value=1,
  147. message_type=None, enum_type=None, containing_type=None,
  148. is_extension=False, extension_scope=None,
  149. serialized_options=None, file=DESCRIPTOR),
  150. _descriptor.FieldDescriptor(
  151. name='box_code_size', full_name='object_detection.protos.ConvolutionalBoxPredictor.box_code_size', index=7,
  152. number=8, type=5, cpp_type=1, label=1,
  153. has_default_value=True, default_value=4,
  154. message_type=None, enum_type=None, containing_type=None,
  155. is_extension=False, extension_scope=None,
  156. serialized_options=None, file=DESCRIPTOR),
  157. _descriptor.FieldDescriptor(
  158. name='apply_sigmoid_to_scores', full_name='object_detection.protos.ConvolutionalBoxPredictor.apply_sigmoid_to_scores', index=8,
  159. number=9, type=8, cpp_type=7, label=1,
  160. has_default_value=True, default_value=False,
  161. message_type=None, enum_type=None, containing_type=None,
  162. is_extension=False, extension_scope=None,
  163. serialized_options=None, file=DESCRIPTOR),
  164. _descriptor.FieldDescriptor(
  165. name='class_prediction_bias_init', full_name='object_detection.protos.ConvolutionalBoxPredictor.class_prediction_bias_init', index=9,
  166. number=10, type=2, cpp_type=6, label=1,
  167. has_default_value=True, default_value=float(0),
  168. message_type=None, enum_type=None, containing_type=None,
  169. is_extension=False, extension_scope=None,
  170. serialized_options=None, file=DESCRIPTOR),
  171. _descriptor.FieldDescriptor(
  172. name='use_depthwise', full_name='object_detection.protos.ConvolutionalBoxPredictor.use_depthwise', index=10,
  173. number=11, type=8, cpp_type=7, label=1,
  174. has_default_value=True, default_value=False,
  175. message_type=None, enum_type=None, containing_type=None,
  176. is_extension=False, extension_scope=None,
  177. serialized_options=None, file=DESCRIPTOR),
  178. ],
  179. extensions=[
  180. ],
  181. nested_types=[],
  182. enum_types=[
  183. ],
  184. serialized_options=None,
  185. is_extendable=False,
  186. syntax='proto2',
  187. extension_ranges=[],
  188. oneofs=[
  189. ],
  190. serialized_start=519,
  191. serialized_end=919,
  192. )
  193. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE = _descriptor.Descriptor(
  194. name='BoxEncodingsClipRange',
  195. full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange',
  196. filename=None,
  197. file=DESCRIPTOR,
  198. containing_type=None,
  199. fields=[
  200. _descriptor.FieldDescriptor(
  201. name='min', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.min', index=0,
  202. number=1, type=2, cpp_type=6, label=1,
  203. has_default_value=False, default_value=float(0),
  204. message_type=None, enum_type=None, containing_type=None,
  205. is_extension=False, extension_scope=None,
  206. serialized_options=None, file=DESCRIPTOR),
  207. _descriptor.FieldDescriptor(
  208. name='max', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.max', index=1,
  209. number=2, type=2, cpp_type=6, label=1,
  210. has_default_value=False, default_value=float(0),
  211. message_type=None, enum_type=None, containing_type=None,
  212. is_extension=False, extension_scope=None,
  213. serialized_options=None, file=DESCRIPTOR),
  214. ],
  215. extensions=[
  216. ],
  217. nested_types=[],
  218. enum_types=[
  219. ],
  220. serialized_options=None,
  221. is_extendable=False,
  222. syntax='proto2',
  223. extension_ranges=[],
  224. oneofs=[
  225. ],
  226. serialized_start=1544,
  227. serialized_end=1593,
  228. )
  229. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR = _descriptor.Descriptor(
  230. name='WeightSharedConvolutionalBoxPredictor',
  231. full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor',
  232. filename=None,
  233. file=DESCRIPTOR,
  234. containing_type=None,
  235. fields=[
  236. _descriptor.FieldDescriptor(
  237. name='conv_hyperparams', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.conv_hyperparams', index=0,
  238. number=1, type=11, cpp_type=10, label=1,
  239. has_default_value=False, default_value=None,
  240. message_type=None, enum_type=None, containing_type=None,
  241. is_extension=False, extension_scope=None,
  242. serialized_options=None, file=DESCRIPTOR),
  243. _descriptor.FieldDescriptor(
  244. name='num_layers_before_predictor', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.num_layers_before_predictor', index=1,
  245. number=4, type=5, cpp_type=1, label=1,
  246. has_default_value=True, default_value=0,
  247. message_type=None, enum_type=None, containing_type=None,
  248. is_extension=False, extension_scope=None,
  249. serialized_options=None, file=DESCRIPTOR),
  250. _descriptor.FieldDescriptor(
  251. name='depth', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.depth', index=2,
  252. number=2, type=5, cpp_type=1, label=1,
  253. has_default_value=True, default_value=0,
  254. message_type=None, enum_type=None, containing_type=None,
  255. is_extension=False, extension_scope=None,
  256. serialized_options=None, file=DESCRIPTOR),
  257. _descriptor.FieldDescriptor(
  258. name='kernel_size', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.kernel_size', index=3,
  259. number=7, type=5, cpp_type=1, label=1,
  260. has_default_value=True, default_value=3,
  261. message_type=None, enum_type=None, containing_type=None,
  262. is_extension=False, extension_scope=None,
  263. serialized_options=None, file=DESCRIPTOR),
  264. _descriptor.FieldDescriptor(
  265. name='box_code_size', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_code_size', index=4,
  266. number=8, type=5, cpp_type=1, label=1,
  267. has_default_value=True, default_value=4,
  268. message_type=None, enum_type=None, containing_type=None,
  269. is_extension=False, extension_scope=None,
  270. serialized_options=None, file=DESCRIPTOR),
  271. _descriptor.FieldDescriptor(
  272. name='class_prediction_bias_init', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.class_prediction_bias_init', index=5,
  273. number=10, type=2, cpp_type=6, label=1,
  274. has_default_value=True, default_value=float(0),
  275. message_type=None, enum_type=None, containing_type=None,
  276. is_extension=False, extension_scope=None,
  277. serialized_options=None, file=DESCRIPTOR),
  278. _descriptor.FieldDescriptor(
  279. name='use_dropout', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_dropout', index=6,
  280. number=11, type=8, cpp_type=7, label=1,
  281. has_default_value=True, default_value=False,
  282. message_type=None, enum_type=None, containing_type=None,
  283. is_extension=False, extension_scope=None,
  284. serialized_options=None, file=DESCRIPTOR),
  285. _descriptor.FieldDescriptor(
  286. name='dropout_keep_probability', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.dropout_keep_probability', index=7,
  287. number=12, type=2, cpp_type=6, label=1,
  288. has_default_value=True, default_value=float(0.8),
  289. message_type=None, enum_type=None, containing_type=None,
  290. is_extension=False, extension_scope=None,
  291. serialized_options=None, file=DESCRIPTOR),
  292. _descriptor.FieldDescriptor(
  293. name='share_prediction_tower', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.share_prediction_tower', index=8,
  294. number=13, type=8, cpp_type=7, label=1,
  295. has_default_value=True, default_value=False,
  296. message_type=None, enum_type=None, containing_type=None,
  297. is_extension=False, extension_scope=None,
  298. serialized_options=None, file=DESCRIPTOR),
  299. _descriptor.FieldDescriptor(
  300. name='use_depthwise', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_depthwise', index=9,
  301. number=14, type=8, cpp_type=7, label=1,
  302. has_default_value=True, default_value=False,
  303. message_type=None, enum_type=None, containing_type=None,
  304. is_extension=False, extension_scope=None,
  305. serialized_options=None, file=DESCRIPTOR),
  306. _descriptor.FieldDescriptor(
  307. name='score_converter', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.score_converter', index=10,
  308. number=16, type=14, cpp_type=8, label=1,
  309. has_default_value=True, default_value=0,
  310. message_type=None, enum_type=None, containing_type=None,
  311. is_extension=False, extension_scope=None,
  312. serialized_options=None, file=DESCRIPTOR),
  313. _descriptor.FieldDescriptor(
  314. name='box_encodings_clip_range', full_name='object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_encodings_clip_range', index=11,
  315. number=17, type=11, cpp_type=10, label=1,
  316. has_default_value=False, default_value=None,
  317. message_type=None, enum_type=None, containing_type=None,
  318. is_extension=False, extension_scope=None,
  319. serialized_options=None, file=DESCRIPTOR),
  320. ],
  321. extensions=[
  322. ],
  323. nested_types=[_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE, ],
  324. enum_types=[
  325. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER,
  326. ],
  327. serialized_options=None,
  328. is_extendable=False,
  329. syntax='proto2',
  330. extension_ranges=[],
  331. oneofs=[
  332. ],
  333. serialized_start=922,
  334. serialized_end=1638,
  335. )
  336. _MASKRCNNBOXPREDICTOR = _descriptor.Descriptor(
  337. name='MaskRCNNBoxPredictor',
  338. full_name='object_detection.protos.MaskRCNNBoxPredictor',
  339. filename=None,
  340. file=DESCRIPTOR,
  341. containing_type=None,
  342. fields=[
  343. _descriptor.FieldDescriptor(
  344. name='fc_hyperparams', full_name='object_detection.protos.MaskRCNNBoxPredictor.fc_hyperparams', index=0,
  345. number=1, type=11, cpp_type=10, label=1,
  346. has_default_value=False, default_value=None,
  347. message_type=None, enum_type=None, containing_type=None,
  348. is_extension=False, extension_scope=None,
  349. serialized_options=None, file=DESCRIPTOR),
  350. _descriptor.FieldDescriptor(
  351. name='use_dropout', full_name='object_detection.protos.MaskRCNNBoxPredictor.use_dropout', index=1,
  352. number=2, type=8, cpp_type=7, label=1,
  353. has_default_value=True, default_value=False,
  354. message_type=None, enum_type=None, containing_type=None,
  355. is_extension=False, extension_scope=None,
  356. serialized_options=None, file=DESCRIPTOR),
  357. _descriptor.FieldDescriptor(
  358. name='dropout_keep_probability', full_name='object_detection.protos.MaskRCNNBoxPredictor.dropout_keep_probability', index=2,
  359. number=3, type=2, cpp_type=6, label=1,
  360. has_default_value=True, default_value=float(0.5),
  361. message_type=None, enum_type=None, containing_type=None,
  362. is_extension=False, extension_scope=None,
  363. serialized_options=None, file=DESCRIPTOR),
  364. _descriptor.FieldDescriptor(
  365. name='box_code_size', full_name='object_detection.protos.MaskRCNNBoxPredictor.box_code_size', index=3,
  366. number=4, type=5, cpp_type=1, label=1,
  367. has_default_value=True, default_value=4,
  368. message_type=None, enum_type=None, containing_type=None,
  369. is_extension=False, extension_scope=None,
  370. serialized_options=None, file=DESCRIPTOR),
  371. _descriptor.FieldDescriptor(
  372. name='conv_hyperparams', full_name='object_detection.protos.MaskRCNNBoxPredictor.conv_hyperparams', index=4,
  373. number=5, type=11, cpp_type=10, label=1,
  374. has_default_value=False, default_value=None,
  375. message_type=None, enum_type=None, containing_type=None,
  376. is_extension=False, extension_scope=None,
  377. serialized_options=None, file=DESCRIPTOR),
  378. _descriptor.FieldDescriptor(
  379. name='predict_instance_masks', full_name='object_detection.protos.MaskRCNNBoxPredictor.predict_instance_masks', index=5,
  380. number=6, type=8, cpp_type=7, label=1,
  381. has_default_value=True, default_value=False,
  382. message_type=None, enum_type=None, containing_type=None,
  383. is_extension=False, extension_scope=None,
  384. serialized_options=None, file=DESCRIPTOR),
  385. _descriptor.FieldDescriptor(
  386. name='mask_prediction_conv_depth', full_name='object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_conv_depth', index=6,
  387. number=7, type=5, cpp_type=1, label=1,
  388. has_default_value=True, default_value=256,
  389. message_type=None, enum_type=None, containing_type=None,
  390. is_extension=False, extension_scope=None,
  391. serialized_options=None, file=DESCRIPTOR),
  392. _descriptor.FieldDescriptor(
  393. name='predict_keypoints', full_name='object_detection.protos.MaskRCNNBoxPredictor.predict_keypoints', index=7,
  394. number=8, type=8, cpp_type=7, label=1,
  395. has_default_value=True, default_value=False,
  396. message_type=None, enum_type=None, containing_type=None,
  397. is_extension=False, extension_scope=None,
  398. serialized_options=None, file=DESCRIPTOR),
  399. _descriptor.FieldDescriptor(
  400. name='mask_height', full_name='object_detection.protos.MaskRCNNBoxPredictor.mask_height', index=8,
  401. number=9, type=5, cpp_type=1, label=1,
  402. has_default_value=True, default_value=15,
  403. message_type=None, enum_type=None, containing_type=None,
  404. is_extension=False, extension_scope=None,
  405. serialized_options=None, file=DESCRIPTOR),
  406. _descriptor.FieldDescriptor(
  407. name='mask_width', full_name='object_detection.protos.MaskRCNNBoxPredictor.mask_width', index=9,
  408. number=10, type=5, cpp_type=1, label=1,
  409. has_default_value=True, default_value=15,
  410. message_type=None, enum_type=None, containing_type=None,
  411. is_extension=False, extension_scope=None,
  412. serialized_options=None, file=DESCRIPTOR),
  413. _descriptor.FieldDescriptor(
  414. name='mask_prediction_num_conv_layers', full_name='object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_num_conv_layers', index=10,
  415. number=11, type=5, cpp_type=1, label=1,
  416. has_default_value=True, default_value=2,
  417. message_type=None, enum_type=None, containing_type=None,
  418. is_extension=False, extension_scope=None,
  419. serialized_options=None, file=DESCRIPTOR),
  420. _descriptor.FieldDescriptor(
  421. name='masks_are_class_agnostic', full_name='object_detection.protos.MaskRCNNBoxPredictor.masks_are_class_agnostic', index=11,
  422. number=12, type=8, cpp_type=7, label=1,
  423. has_default_value=True, default_value=False,
  424. message_type=None, enum_type=None, containing_type=None,
  425. is_extension=False, extension_scope=None,
  426. serialized_options=None, file=DESCRIPTOR),
  427. _descriptor.FieldDescriptor(
  428. name='share_box_across_classes', full_name='object_detection.protos.MaskRCNNBoxPredictor.share_box_across_classes', index=12,
  429. number=13, type=8, cpp_type=7, label=1,
  430. has_default_value=True, default_value=False,
  431. message_type=None, enum_type=None, containing_type=None,
  432. is_extension=False, extension_scope=None,
  433. serialized_options=None, file=DESCRIPTOR),
  434. _descriptor.FieldDescriptor(
  435. name='convolve_then_upsample_masks', full_name='object_detection.protos.MaskRCNNBoxPredictor.convolve_then_upsample_masks', index=13,
  436. number=14, type=8, cpp_type=7, label=1,
  437. has_default_value=True, default_value=False,
  438. message_type=None, enum_type=None, containing_type=None,
  439. is_extension=False, extension_scope=None,
  440. serialized_options=None, file=DESCRIPTOR),
  441. ],
  442. extensions=[
  443. ],
  444. nested_types=[],
  445. enum_types=[
  446. ],
  447. serialized_options=None,
  448. is_extendable=False,
  449. syntax='proto2',
  450. extension_ranges=[],
  451. oneofs=[
  452. ],
  453. serialized_start=1641,
  454. serialized_end=2216,
  455. )
  456. _RFCNBOXPREDICTOR = _descriptor.Descriptor(
  457. name='RfcnBoxPredictor',
  458. full_name='object_detection.protos.RfcnBoxPredictor',
  459. filename=None,
  460. file=DESCRIPTOR,
  461. containing_type=None,
  462. fields=[
  463. _descriptor.FieldDescriptor(
  464. name='conv_hyperparams', full_name='object_detection.protos.RfcnBoxPredictor.conv_hyperparams', index=0,
  465. number=1, type=11, cpp_type=10, label=1,
  466. has_default_value=False, default_value=None,
  467. message_type=None, enum_type=None, containing_type=None,
  468. is_extension=False, extension_scope=None,
  469. serialized_options=None, file=DESCRIPTOR),
  470. _descriptor.FieldDescriptor(
  471. name='num_spatial_bins_height', full_name='object_detection.protos.RfcnBoxPredictor.num_spatial_bins_height', index=1,
  472. number=2, type=5, cpp_type=1, label=1,
  473. has_default_value=True, default_value=3,
  474. message_type=None, enum_type=None, containing_type=None,
  475. is_extension=False, extension_scope=None,
  476. serialized_options=None, file=DESCRIPTOR),
  477. _descriptor.FieldDescriptor(
  478. name='num_spatial_bins_width', full_name='object_detection.protos.RfcnBoxPredictor.num_spatial_bins_width', index=2,
  479. number=3, type=5, cpp_type=1, label=1,
  480. has_default_value=True, default_value=3,
  481. message_type=None, enum_type=None, containing_type=None,
  482. is_extension=False, extension_scope=None,
  483. serialized_options=None, file=DESCRIPTOR),
  484. _descriptor.FieldDescriptor(
  485. name='depth', full_name='object_detection.protos.RfcnBoxPredictor.depth', index=3,
  486. number=4, type=5, cpp_type=1, label=1,
  487. has_default_value=True, default_value=1024,
  488. message_type=None, enum_type=None, containing_type=None,
  489. is_extension=False, extension_scope=None,
  490. serialized_options=None, file=DESCRIPTOR),
  491. _descriptor.FieldDescriptor(
  492. name='box_code_size', full_name='object_detection.protos.RfcnBoxPredictor.box_code_size', index=4,
  493. number=5, type=5, cpp_type=1, label=1,
  494. has_default_value=True, default_value=4,
  495. message_type=None, enum_type=None, containing_type=None,
  496. is_extension=False, extension_scope=None,
  497. serialized_options=None, file=DESCRIPTOR),
  498. _descriptor.FieldDescriptor(
  499. name='crop_height', full_name='object_detection.protos.RfcnBoxPredictor.crop_height', index=5,
  500. number=6, type=5, cpp_type=1, label=1,
  501. has_default_value=True, default_value=12,
  502. message_type=None, enum_type=None, containing_type=None,
  503. is_extension=False, extension_scope=None,
  504. serialized_options=None, file=DESCRIPTOR),
  505. _descriptor.FieldDescriptor(
  506. name='crop_width', full_name='object_detection.protos.RfcnBoxPredictor.crop_width', index=6,
  507. number=7, type=5, cpp_type=1, label=1,
  508. has_default_value=True, default_value=12,
  509. message_type=None, enum_type=None, containing_type=None,
  510. is_extension=False, extension_scope=None,
  511. serialized_options=None, file=DESCRIPTOR),
  512. ],
  513. extensions=[
  514. ],
  515. nested_types=[],
  516. enum_types=[
  517. ],
  518. serialized_options=None,
  519. is_extendable=False,
  520. syntax='proto2',
  521. extension_ranges=[],
  522. oneofs=[
  523. ],
  524. serialized_start=2219,
  525. serialized_end=2468,
  526. )
  527. _BOXPREDICTOR.fields_by_name['convolutional_box_predictor'].message_type = _CONVOLUTIONALBOXPREDICTOR
  528. _BOXPREDICTOR.fields_by_name['mask_rcnn_box_predictor'].message_type = _MASKRCNNBOXPREDICTOR
  529. _BOXPREDICTOR.fields_by_name['rfcn_box_predictor'].message_type = _RFCNBOXPREDICTOR
  530. _BOXPREDICTOR.fields_by_name['weight_shared_convolutional_box_predictor'].message_type = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
  531. _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof'].fields.append(
  532. _BOXPREDICTOR.fields_by_name['convolutional_box_predictor'])
  533. _BOXPREDICTOR.fields_by_name['convolutional_box_predictor'].containing_oneof = _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof']
  534. _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof'].fields.append(
  535. _BOXPREDICTOR.fields_by_name['mask_rcnn_box_predictor'])
  536. _BOXPREDICTOR.fields_by_name['mask_rcnn_box_predictor'].containing_oneof = _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof']
  537. _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof'].fields.append(
  538. _BOXPREDICTOR.fields_by_name['rfcn_box_predictor'])
  539. _BOXPREDICTOR.fields_by_name['rfcn_box_predictor'].containing_oneof = _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof']
  540. _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof'].fields.append(
  541. _BOXPREDICTOR.fields_by_name['weight_shared_convolutional_box_predictor'])
  542. _BOXPREDICTOR.fields_by_name['weight_shared_convolutional_box_predictor'].containing_oneof = _BOXPREDICTOR.oneofs_by_name['box_predictor_oneof']
  543. _CONVOLUTIONALBOXPREDICTOR.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  544. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE.containing_type = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
  545. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  546. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR.fields_by_name['score_converter'].enum_type = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER
  547. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR.fields_by_name['box_encodings_clip_range'].message_type = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
  548. _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER.containing_type = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
  549. _MASKRCNNBOXPREDICTOR.fields_by_name['fc_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  550. _MASKRCNNBOXPREDICTOR.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  551. _RFCNBOXPREDICTOR.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  552. DESCRIPTOR.message_types_by_name['BoxPredictor'] = _BOXPREDICTOR
  553. DESCRIPTOR.message_types_by_name['ConvolutionalBoxPredictor'] = _CONVOLUTIONALBOXPREDICTOR
  554. DESCRIPTOR.message_types_by_name['WeightSharedConvolutionalBoxPredictor'] = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
  555. DESCRIPTOR.message_types_by_name['MaskRCNNBoxPredictor'] = _MASKRCNNBOXPREDICTOR
  556. DESCRIPTOR.message_types_by_name['RfcnBoxPredictor'] = _RFCNBOXPREDICTOR
  557. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  558. BoxPredictor = _reflection.GeneratedProtocolMessageType('BoxPredictor', (_message.Message,), dict(
  559. DESCRIPTOR = _BOXPREDICTOR,
  560. __module__ = 'object_detection.protos.box_predictor_pb2'
  561. # @@protoc_insertion_point(class_scope:object_detection.protos.BoxPredictor)
  562. ))
  563. _sym_db.RegisterMessage(BoxPredictor)
  564. ConvolutionalBoxPredictor = _reflection.GeneratedProtocolMessageType('ConvolutionalBoxPredictor', (_message.Message,), dict(
  565. DESCRIPTOR = _CONVOLUTIONALBOXPREDICTOR,
  566. __module__ = 'object_detection.protos.box_predictor_pb2'
  567. # @@protoc_insertion_point(class_scope:object_detection.protos.ConvolutionalBoxPredictor)
  568. ))
  569. _sym_db.RegisterMessage(ConvolutionalBoxPredictor)
  570. WeightSharedConvolutionalBoxPredictor = _reflection.GeneratedProtocolMessageType('WeightSharedConvolutionalBoxPredictor', (_message.Message,), dict(
  571. BoxEncodingsClipRange = _reflection.GeneratedProtocolMessageType('BoxEncodingsClipRange', (_message.Message,), dict(
  572. DESCRIPTOR = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE,
  573. __module__ = 'object_detection.protos.box_predictor_pb2'
  574. # @@protoc_insertion_point(class_scope:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange)
  575. ))
  576. ,
  577. DESCRIPTOR = _WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR,
  578. __module__ = 'object_detection.protos.box_predictor_pb2'
  579. # @@protoc_insertion_point(class_scope:object_detection.protos.WeightSharedConvolutionalBoxPredictor)
  580. ))
  581. _sym_db.RegisterMessage(WeightSharedConvolutionalBoxPredictor)
  582. _sym_db.RegisterMessage(WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange)
  583. MaskRCNNBoxPredictor = _reflection.GeneratedProtocolMessageType('MaskRCNNBoxPredictor', (_message.Message,), dict(
  584. DESCRIPTOR = _MASKRCNNBOXPREDICTOR,
  585. __module__ = 'object_detection.protos.box_predictor_pb2'
  586. # @@protoc_insertion_point(class_scope:object_detection.protos.MaskRCNNBoxPredictor)
  587. ))
  588. _sym_db.RegisterMessage(MaskRCNNBoxPredictor)
  589. RfcnBoxPredictor = _reflection.GeneratedProtocolMessageType('RfcnBoxPredictor', (_message.Message,), dict(
  590. DESCRIPTOR = _RFCNBOXPREDICTOR,
  591. __module__ = 'object_detection.protos.box_predictor_pb2'
  592. # @@protoc_insertion_point(class_scope:object_detection.protos.RfcnBoxPredictor)
  593. ))
  594. _sym_db.RegisterMessage(RfcnBoxPredictor)
  595. # @@protoc_insertion_point(module_scope)