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.

382 lines
22 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/faster_rcnn.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 anchor_generator_pb2 as object__detection_dot_protos_dot_anchor__generator__pb2
  13. from object_detection.protos import box_predictor_pb2 as object__detection_dot_protos_dot_box__predictor__pb2
  14. from object_detection.protos import hyperparams_pb2 as object__detection_dot_protos_dot_hyperparams__pb2
  15. from object_detection.protos import image_resizer_pb2 as object__detection_dot_protos_dot_image__resizer__pb2
  16. from object_detection.protos import losses_pb2 as object__detection_dot_protos_dot_losses__pb2
  17. from object_detection.protos import post_processing_pb2 as object__detection_dot_protos_dot_post__processing__pb2
  18. DESCRIPTOR = _descriptor.FileDescriptor(
  19. name='object_detection/protos/faster_rcnn.proto',
  20. package='object_detection.protos',
  21. syntax='proto2',
  22. serialized_pb=_b('\n)object_detection/protos/faster_rcnn.proto\x12\x17object_detection.protos\x1a.object_detection/protos/anchor_generator.proto\x1a+object_detection/protos/box_predictor.proto\x1a)object_detection/protos/hyperparams.proto\x1a+object_detection/protos/image_resizer.proto\x1a$object_detection/protos/losses.proto\x1a-object_detection/protos/post_processing.proto\"\xee\r\n\nFasterRcnn\x12\x1b\n\x10number_of_stages\x18\x01 \x01(\x05:\x01\x32\x12\x13\n\x0bnum_classes\x18\x03 \x01(\x05\x12<\n\rimage_resizer\x18\x04 \x01(\x0b\x32%.object_detection.protos.ImageResizer\x12N\n\x11\x66\x65\x61ture_extractor\x18\x05 \x01(\x0b\x32\x33.object_detection.protos.FasterRcnnFeatureExtractor\x12N\n\x1c\x66irst_stage_anchor_generator\x18\x06 \x01(\x0b\x32(.object_detection.protos.AnchorGenerator\x12\"\n\x17\x66irst_stage_atrous_rate\x18\x07 \x01(\x05:\x01\x31\x12X\n*first_stage_box_predictor_conv_hyperparams\x18\x08 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12\x30\n%first_stage_box_predictor_kernel_size\x18\t \x01(\x05:\x01\x33\x12,\n\x1f\x66irst_stage_box_predictor_depth\x18\n \x01(\x05:\x03\x35\x31\x32\x12\'\n\x1a\x66irst_stage_minibatch_size\x18\x0b \x01(\x05:\x03\x32\x35\x36\x12\x32\n%first_stage_positive_balance_fraction\x18\x0c \x01(\x02:\x03\x30.5\x12*\n\x1f\x66irst_stage_nms_score_threshold\x18\r \x01(\x02:\x01\x30\x12*\n\x1d\x66irst_stage_nms_iou_threshold\x18\x0e \x01(\x02:\x03\x30.7\x12&\n\x19\x66irst_stage_max_proposals\x18\x0f \x01(\x05:\x03\x33\x30\x30\x12/\n$first_stage_localization_loss_weight\x18\x10 \x01(\x02:\x01\x31\x12-\n\"first_stage_objectness_loss_weight\x18\x11 \x01(\x02:\x01\x31\x12\x19\n\x11initial_crop_size\x18\x12 \x01(\x05\x12\x1b\n\x13maxpool_kernel_size\x18\x13 \x01(\x05\x12\x16\n\x0emaxpool_stride\x18\x14 \x01(\x05\x12I\n\x1asecond_stage_box_predictor\x18\x15 \x01(\x0b\x32%.object_detection.protos.BoxPredictor\x12#\n\x17second_stage_batch_size\x18\x16 \x01(\x05:\x02\x36\x34\x12+\n\x1dsecond_stage_balance_fraction\x18\x17 \x01(\x02:\x04\x30.25\x12M\n\x1csecond_stage_post_processing\x18\x18 \x01(\x0b\x32\'.object_detection.protos.PostProcessing\x12\x30\n%second_stage_localization_loss_weight\x18\x19 \x01(\x02:\x01\x31\x12\x32\n\'second_stage_classification_loss_weight\x18\x1a \x01(\x02:\x01\x31\x12\x33\n(second_stage_mask_prediction_loss_weight\x18\x1b \x01(\x02:\x01\x31\x12\x45\n\x12hard_example_miner\x18\x1c \x01(\x0b\x32).object_detection.protos.HardExampleMiner\x12U\n second_stage_classification_loss\x18\x1d \x01(\x0b\x32+.object_detection.protos.ClassificationLoss\x12\'\n\x18inplace_batchnorm_update\x18\x1e \x01(\x08:\x05\x66\x61lse\x12)\n\x1ause_matmul_crop_and_resize\x18\x1f \x01(\x08:\x05\x66\x61lse\x12$\n\x15\x63lip_anchors_to_image\x18 \x01(\x08:\x05\x66\x61lse\x12+\n\x1cuse_matmul_gather_in_matcher\x18! \x01(\x08:\x05\x66\x61lse\x12\x30\n!use_static_balanced_label_sampler\x18\" \x01(\x08:\x05\x66\x61lse\x12 \n\x11use_static_shapes\x18# \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0cresize_masks\x18$ \x01(\x08:\x04true\x12)\n\x1ause_static_shapes_for_eval\x18% \x01(\x08:\x05\x66\x61lse\"x\n\x1a\x46\x61sterRcnnFeatureExtractor\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\'\n\x1b\x66irst_stage_features_stride\x18\x02 \x01(\x05:\x02\x31\x36\x12#\n\x14\x62\x61tch_norm_trainable\x18\x03 \x01(\x08:\x05\x66\x61lse')
  23. ,
  24. dependencies=[object__detection_dot_protos_dot_anchor__generator__pb2.DESCRIPTOR,object__detection_dot_protos_dot_box__predictor__pb2.DESCRIPTOR,object__detection_dot_protos_dot_hyperparams__pb2.DESCRIPTOR,object__detection_dot_protos_dot_image__resizer__pb2.DESCRIPTOR,object__detection_dot_protos_dot_losses__pb2.DESCRIPTOR,object__detection_dot_protos_dot_post__processing__pb2.DESCRIPTOR,])
  25. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  26. _FASTERRCNN = _descriptor.Descriptor(
  27. name='FasterRcnn',
  28. full_name='object_detection.protos.FasterRcnn',
  29. filename=None,
  30. file=DESCRIPTOR,
  31. containing_type=None,
  32. fields=[
  33. _descriptor.FieldDescriptor(
  34. name='number_of_stages', full_name='object_detection.protos.FasterRcnn.number_of_stages', index=0,
  35. number=1, type=5, cpp_type=1, label=1,
  36. has_default_value=True, default_value=2,
  37. message_type=None, enum_type=None, containing_type=None,
  38. is_extension=False, extension_scope=None,
  39. options=None),
  40. _descriptor.FieldDescriptor(
  41. name='num_classes', full_name='object_detection.protos.FasterRcnn.num_classes', index=1,
  42. number=3, type=5, cpp_type=1, label=1,
  43. has_default_value=False, default_value=0,
  44. message_type=None, enum_type=None, containing_type=None,
  45. is_extension=False, extension_scope=None,
  46. options=None),
  47. _descriptor.FieldDescriptor(
  48. name='image_resizer', full_name='object_detection.protos.FasterRcnn.image_resizer', index=2,
  49. number=4, type=11, cpp_type=10, label=1,
  50. has_default_value=False, default_value=None,
  51. message_type=None, enum_type=None, containing_type=None,
  52. is_extension=False, extension_scope=None,
  53. options=None),
  54. _descriptor.FieldDescriptor(
  55. name='feature_extractor', full_name='object_detection.protos.FasterRcnn.feature_extractor', index=3,
  56. number=5, type=11, cpp_type=10, label=1,
  57. has_default_value=False, default_value=None,
  58. message_type=None, enum_type=None, containing_type=None,
  59. is_extension=False, extension_scope=None,
  60. options=None),
  61. _descriptor.FieldDescriptor(
  62. name='first_stage_anchor_generator', full_name='object_detection.protos.FasterRcnn.first_stage_anchor_generator', index=4,
  63. number=6, type=11, cpp_type=10, label=1,
  64. has_default_value=False, default_value=None,
  65. message_type=None, enum_type=None, containing_type=None,
  66. is_extension=False, extension_scope=None,
  67. options=None),
  68. _descriptor.FieldDescriptor(
  69. name='first_stage_atrous_rate', full_name='object_detection.protos.FasterRcnn.first_stage_atrous_rate', index=5,
  70. number=7, type=5, cpp_type=1, label=1,
  71. has_default_value=True, default_value=1,
  72. message_type=None, enum_type=None, containing_type=None,
  73. is_extension=False, extension_scope=None,
  74. options=None),
  75. _descriptor.FieldDescriptor(
  76. name='first_stage_box_predictor_conv_hyperparams', full_name='object_detection.protos.FasterRcnn.first_stage_box_predictor_conv_hyperparams', index=6,
  77. number=8, type=11, cpp_type=10, label=1,
  78. has_default_value=False, default_value=None,
  79. message_type=None, enum_type=None, containing_type=None,
  80. is_extension=False, extension_scope=None,
  81. options=None),
  82. _descriptor.FieldDescriptor(
  83. name='first_stage_box_predictor_kernel_size', full_name='object_detection.protos.FasterRcnn.first_stage_box_predictor_kernel_size', index=7,
  84. number=9, type=5, cpp_type=1, label=1,
  85. has_default_value=True, default_value=3,
  86. message_type=None, enum_type=None, containing_type=None,
  87. is_extension=False, extension_scope=None,
  88. options=None),
  89. _descriptor.FieldDescriptor(
  90. name='first_stage_box_predictor_depth', full_name='object_detection.protos.FasterRcnn.first_stage_box_predictor_depth', index=8,
  91. number=10, type=5, cpp_type=1, label=1,
  92. has_default_value=True, default_value=512,
  93. message_type=None, enum_type=None, containing_type=None,
  94. is_extension=False, extension_scope=None,
  95. options=None),
  96. _descriptor.FieldDescriptor(
  97. name='first_stage_minibatch_size', full_name='object_detection.protos.FasterRcnn.first_stage_minibatch_size', index=9,
  98. number=11, type=5, cpp_type=1, label=1,
  99. has_default_value=True, default_value=256,
  100. message_type=None, enum_type=None, containing_type=None,
  101. is_extension=False, extension_scope=None,
  102. options=None),
  103. _descriptor.FieldDescriptor(
  104. name='first_stage_positive_balance_fraction', full_name='object_detection.protos.FasterRcnn.first_stage_positive_balance_fraction', index=10,
  105. number=12, type=2, cpp_type=6, label=1,
  106. has_default_value=True, default_value=float(0.5),
  107. message_type=None, enum_type=None, containing_type=None,
  108. is_extension=False, extension_scope=None,
  109. options=None),
  110. _descriptor.FieldDescriptor(
  111. name='first_stage_nms_score_threshold', full_name='object_detection.protos.FasterRcnn.first_stage_nms_score_threshold', index=11,
  112. number=13, type=2, cpp_type=6, label=1,
  113. has_default_value=True, default_value=float(0),
  114. message_type=None, enum_type=None, containing_type=None,
  115. is_extension=False, extension_scope=None,
  116. options=None),
  117. _descriptor.FieldDescriptor(
  118. name='first_stage_nms_iou_threshold', full_name='object_detection.protos.FasterRcnn.first_stage_nms_iou_threshold', index=12,
  119. number=14, type=2, cpp_type=6, label=1,
  120. has_default_value=True, default_value=float(0.7),
  121. message_type=None, enum_type=None, containing_type=None,
  122. is_extension=False, extension_scope=None,
  123. options=None),
  124. _descriptor.FieldDescriptor(
  125. name='first_stage_max_proposals', full_name='object_detection.protos.FasterRcnn.first_stage_max_proposals', index=13,
  126. number=15, type=5, cpp_type=1, label=1,
  127. has_default_value=True, default_value=300,
  128. message_type=None, enum_type=None, containing_type=None,
  129. is_extension=False, extension_scope=None,
  130. options=None),
  131. _descriptor.FieldDescriptor(
  132. name='first_stage_localization_loss_weight', full_name='object_detection.protos.FasterRcnn.first_stage_localization_loss_weight', index=14,
  133. number=16, type=2, cpp_type=6, label=1,
  134. has_default_value=True, default_value=float(1),
  135. message_type=None, enum_type=None, containing_type=None,
  136. is_extension=False, extension_scope=None,
  137. options=None),
  138. _descriptor.FieldDescriptor(
  139. name='first_stage_objectness_loss_weight', full_name='object_detection.protos.FasterRcnn.first_stage_objectness_loss_weight', index=15,
  140. number=17, type=2, cpp_type=6, label=1,
  141. has_default_value=True, default_value=float(1),
  142. message_type=None, enum_type=None, containing_type=None,
  143. is_extension=False, extension_scope=None,
  144. options=None),
  145. _descriptor.FieldDescriptor(
  146. name='initial_crop_size', full_name='object_detection.protos.FasterRcnn.initial_crop_size', index=16,
  147. number=18, type=5, cpp_type=1, label=1,
  148. has_default_value=False, default_value=0,
  149. message_type=None, enum_type=None, containing_type=None,
  150. is_extension=False, extension_scope=None,
  151. options=None),
  152. _descriptor.FieldDescriptor(
  153. name='maxpool_kernel_size', full_name='object_detection.protos.FasterRcnn.maxpool_kernel_size', index=17,
  154. number=19, type=5, cpp_type=1, label=1,
  155. has_default_value=False, default_value=0,
  156. message_type=None, enum_type=None, containing_type=None,
  157. is_extension=False, extension_scope=None,
  158. options=None),
  159. _descriptor.FieldDescriptor(
  160. name='maxpool_stride', full_name='object_detection.protos.FasterRcnn.maxpool_stride', index=18,
  161. number=20, type=5, cpp_type=1, label=1,
  162. has_default_value=False, default_value=0,
  163. message_type=None, enum_type=None, containing_type=None,
  164. is_extension=False, extension_scope=None,
  165. options=None),
  166. _descriptor.FieldDescriptor(
  167. name='second_stage_box_predictor', full_name='object_detection.protos.FasterRcnn.second_stage_box_predictor', index=19,
  168. number=21, type=11, cpp_type=10, label=1,
  169. has_default_value=False, default_value=None,
  170. message_type=None, enum_type=None, containing_type=None,
  171. is_extension=False, extension_scope=None,
  172. options=None),
  173. _descriptor.FieldDescriptor(
  174. name='second_stage_batch_size', full_name='object_detection.protos.FasterRcnn.second_stage_batch_size', index=20,
  175. number=22, type=5, cpp_type=1, label=1,
  176. has_default_value=True, default_value=64,
  177. message_type=None, enum_type=None, containing_type=None,
  178. is_extension=False, extension_scope=None,
  179. options=None),
  180. _descriptor.FieldDescriptor(
  181. name='second_stage_balance_fraction', full_name='object_detection.protos.FasterRcnn.second_stage_balance_fraction', index=21,
  182. number=23, type=2, cpp_type=6, label=1,
  183. has_default_value=True, default_value=float(0.25),
  184. message_type=None, enum_type=None, containing_type=None,
  185. is_extension=False, extension_scope=None,
  186. options=None),
  187. _descriptor.FieldDescriptor(
  188. name='second_stage_post_processing', full_name='object_detection.protos.FasterRcnn.second_stage_post_processing', index=22,
  189. number=24, type=11, cpp_type=10, label=1,
  190. has_default_value=False, default_value=None,
  191. message_type=None, enum_type=None, containing_type=None,
  192. is_extension=False, extension_scope=None,
  193. options=None),
  194. _descriptor.FieldDescriptor(
  195. name='second_stage_localization_loss_weight', full_name='object_detection.protos.FasterRcnn.second_stage_localization_loss_weight', index=23,
  196. number=25, type=2, cpp_type=6, label=1,
  197. has_default_value=True, default_value=float(1),
  198. message_type=None, enum_type=None, containing_type=None,
  199. is_extension=False, extension_scope=None,
  200. options=None),
  201. _descriptor.FieldDescriptor(
  202. name='second_stage_classification_loss_weight', full_name='object_detection.protos.FasterRcnn.second_stage_classification_loss_weight', index=24,
  203. number=26, type=2, cpp_type=6, label=1,
  204. has_default_value=True, default_value=float(1),
  205. message_type=None, enum_type=None, containing_type=None,
  206. is_extension=False, extension_scope=None,
  207. options=None),
  208. _descriptor.FieldDescriptor(
  209. name='second_stage_mask_prediction_loss_weight', full_name='object_detection.protos.FasterRcnn.second_stage_mask_prediction_loss_weight', index=25,
  210. number=27, type=2, cpp_type=6, label=1,
  211. has_default_value=True, default_value=float(1),
  212. message_type=None, enum_type=None, containing_type=None,
  213. is_extension=False, extension_scope=None,
  214. options=None),
  215. _descriptor.FieldDescriptor(
  216. name='hard_example_miner', full_name='object_detection.protos.FasterRcnn.hard_example_miner', index=26,
  217. number=28, type=11, cpp_type=10, label=1,
  218. has_default_value=False, default_value=None,
  219. message_type=None, enum_type=None, containing_type=None,
  220. is_extension=False, extension_scope=None,
  221. options=None),
  222. _descriptor.FieldDescriptor(
  223. name='second_stage_classification_loss', full_name='object_detection.protos.FasterRcnn.second_stage_classification_loss', index=27,
  224. number=29, type=11, cpp_type=10, label=1,
  225. has_default_value=False, default_value=None,
  226. message_type=None, enum_type=None, containing_type=None,
  227. is_extension=False, extension_scope=None,
  228. options=None),
  229. _descriptor.FieldDescriptor(
  230. name='inplace_batchnorm_update', full_name='object_detection.protos.FasterRcnn.inplace_batchnorm_update', index=28,
  231. number=30, type=8, cpp_type=7, label=1,
  232. has_default_value=True, default_value=False,
  233. message_type=None, enum_type=None, containing_type=None,
  234. is_extension=False, extension_scope=None,
  235. options=None),
  236. _descriptor.FieldDescriptor(
  237. name='use_matmul_crop_and_resize', full_name='object_detection.protos.FasterRcnn.use_matmul_crop_and_resize', index=29,
  238. number=31, type=8, cpp_type=7, label=1,
  239. has_default_value=True, default_value=False,
  240. message_type=None, enum_type=None, containing_type=None,
  241. is_extension=False, extension_scope=None,
  242. options=None),
  243. _descriptor.FieldDescriptor(
  244. name='clip_anchors_to_image', full_name='object_detection.protos.FasterRcnn.clip_anchors_to_image', index=30,
  245. number=32, type=8, cpp_type=7, label=1,
  246. has_default_value=True, default_value=False,
  247. message_type=None, enum_type=None, containing_type=None,
  248. is_extension=False, extension_scope=None,
  249. options=None),
  250. _descriptor.FieldDescriptor(
  251. name='use_matmul_gather_in_matcher', full_name='object_detection.protos.FasterRcnn.use_matmul_gather_in_matcher', index=31,
  252. number=33, type=8, cpp_type=7, label=1,
  253. has_default_value=True, default_value=False,
  254. message_type=None, enum_type=None, containing_type=None,
  255. is_extension=False, extension_scope=None,
  256. options=None),
  257. _descriptor.FieldDescriptor(
  258. name='use_static_balanced_label_sampler', full_name='object_detection.protos.FasterRcnn.use_static_balanced_label_sampler', index=32,
  259. number=34, type=8, cpp_type=7, label=1,
  260. has_default_value=True, default_value=False,
  261. message_type=None, enum_type=None, containing_type=None,
  262. is_extension=False, extension_scope=None,
  263. options=None),
  264. _descriptor.FieldDescriptor(
  265. name='use_static_shapes', full_name='object_detection.protos.FasterRcnn.use_static_shapes', index=33,
  266. number=35, type=8, cpp_type=7, label=1,
  267. has_default_value=True, default_value=False,
  268. message_type=None, enum_type=None, containing_type=None,
  269. is_extension=False, extension_scope=None,
  270. options=None),
  271. _descriptor.FieldDescriptor(
  272. name='resize_masks', full_name='object_detection.protos.FasterRcnn.resize_masks', index=34,
  273. number=36, type=8, cpp_type=7, label=1,
  274. has_default_value=True, default_value=True,
  275. message_type=None, enum_type=None, containing_type=None,
  276. is_extension=False, extension_scope=None,
  277. options=None),
  278. _descriptor.FieldDescriptor(
  279. name='use_static_shapes_for_eval', full_name='object_detection.protos.FasterRcnn.use_static_shapes_for_eval', index=35,
  280. number=37, 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. options=None),
  285. ],
  286. extensions=[
  287. ],
  288. nested_types=[],
  289. enum_types=[
  290. ],
  291. options=None,
  292. is_extendable=False,
  293. syntax='proto2',
  294. extension_ranges=[],
  295. oneofs=[
  296. ],
  297. serialized_start=337,
  298. serialized_end=2111,
  299. )
  300. _FASTERRCNNFEATUREEXTRACTOR = _descriptor.Descriptor(
  301. name='FasterRcnnFeatureExtractor',
  302. full_name='object_detection.protos.FasterRcnnFeatureExtractor',
  303. filename=None,
  304. file=DESCRIPTOR,
  305. containing_type=None,
  306. fields=[
  307. _descriptor.FieldDescriptor(
  308. name='type', full_name='object_detection.protos.FasterRcnnFeatureExtractor.type', index=0,
  309. number=1, type=9, cpp_type=9, label=1,
  310. has_default_value=False, default_value=_b("").decode('utf-8'),
  311. message_type=None, enum_type=None, containing_type=None,
  312. is_extension=False, extension_scope=None,
  313. options=None),
  314. _descriptor.FieldDescriptor(
  315. name='first_stage_features_stride', full_name='object_detection.protos.FasterRcnnFeatureExtractor.first_stage_features_stride', index=1,
  316. number=2, type=5, cpp_type=1, label=1,
  317. has_default_value=True, default_value=16,
  318. message_type=None, enum_type=None, containing_type=None,
  319. is_extension=False, extension_scope=None,
  320. options=None),
  321. _descriptor.FieldDescriptor(
  322. name='batch_norm_trainable', full_name='object_detection.protos.FasterRcnnFeatureExtractor.batch_norm_trainable', index=2,
  323. number=3, type=8, cpp_type=7, label=1,
  324. has_default_value=True, default_value=False,
  325. message_type=None, enum_type=None, containing_type=None,
  326. is_extension=False, extension_scope=None,
  327. options=None),
  328. ],
  329. extensions=[
  330. ],
  331. nested_types=[],
  332. enum_types=[
  333. ],
  334. options=None,
  335. is_extendable=False,
  336. syntax='proto2',
  337. extension_ranges=[],
  338. oneofs=[
  339. ],
  340. serialized_start=2113,
  341. serialized_end=2233,
  342. )
  343. _FASTERRCNN.fields_by_name['image_resizer'].message_type = object__detection_dot_protos_dot_image__resizer__pb2._IMAGERESIZER
  344. _FASTERRCNN.fields_by_name['feature_extractor'].message_type = _FASTERRCNNFEATUREEXTRACTOR
  345. _FASTERRCNN.fields_by_name['first_stage_anchor_generator'].message_type = object__detection_dot_protos_dot_anchor__generator__pb2._ANCHORGENERATOR
  346. _FASTERRCNN.fields_by_name['first_stage_box_predictor_conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  347. _FASTERRCNN.fields_by_name['second_stage_box_predictor'].message_type = object__detection_dot_protos_dot_box__predictor__pb2._BOXPREDICTOR
  348. _FASTERRCNN.fields_by_name['second_stage_post_processing'].message_type = object__detection_dot_protos_dot_post__processing__pb2._POSTPROCESSING
  349. _FASTERRCNN.fields_by_name['hard_example_miner'].message_type = object__detection_dot_protos_dot_losses__pb2._HARDEXAMPLEMINER
  350. _FASTERRCNN.fields_by_name['second_stage_classification_loss'].message_type = object__detection_dot_protos_dot_losses__pb2._CLASSIFICATIONLOSS
  351. DESCRIPTOR.message_types_by_name['FasterRcnn'] = _FASTERRCNN
  352. DESCRIPTOR.message_types_by_name['FasterRcnnFeatureExtractor'] = _FASTERRCNNFEATUREEXTRACTOR
  353. FasterRcnn = _reflection.GeneratedProtocolMessageType('FasterRcnn', (_message.Message,), dict(
  354. DESCRIPTOR = _FASTERRCNN,
  355. __module__ = 'object_detection.protos.faster_rcnn_pb2'
  356. # @@protoc_insertion_point(class_scope:object_detection.protos.FasterRcnn)
  357. ))
  358. _sym_db.RegisterMessage(FasterRcnn)
  359. FasterRcnnFeatureExtractor = _reflection.GeneratedProtocolMessageType('FasterRcnnFeatureExtractor', (_message.Message,), dict(
  360. DESCRIPTOR = _FASTERRCNNFEATUREEXTRACTOR,
  361. __module__ = 'object_detection.protos.faster_rcnn_pb2'
  362. # @@protoc_insertion_point(class_scope:object_detection.protos.FasterRcnnFeatureExtractor)
  363. ))
  364. _sym_db.RegisterMessage(FasterRcnnFeatureExtractor)
  365. # @@protoc_insertion_point(module_scope)