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
24 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/faster_rcnn.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 anchor_generator_pb2 as object__detection_dot_protos_dot_anchor__generator__pb2
  12. from object_detection.protos import box_predictor_pb2 as object__detection_dot_protos_dot_box__predictor__pb2
  13. from object_detection.protos import hyperparams_pb2 as object__detection_dot_protos_dot_hyperparams__pb2
  14. from object_detection.protos import image_resizer_pb2 as object__detection_dot_protos_dot_image__resizer__pb2
  15. from object_detection.protos import losses_pb2 as object__detection_dot_protos_dot_losses__pb2
  16. from object_detection.protos import post_processing_pb2 as object__detection_dot_protos_dot_post__processing__pb2
  17. DESCRIPTOR = _descriptor.FileDescriptor(
  18. name='object_detection/protos/faster_rcnn.proto',
  19. package='object_detection.protos',
  20. syntax='proto2',
  21. serialized_options=None,
  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. _FASTERRCNN = _descriptor.Descriptor(
  26. name='FasterRcnn',
  27. full_name='object_detection.protos.FasterRcnn',
  28. filename=None,
  29. file=DESCRIPTOR,
  30. containing_type=None,
  31. fields=[
  32. _descriptor.FieldDescriptor(
  33. name='number_of_stages', full_name='object_detection.protos.FasterRcnn.number_of_stages', index=0,
  34. number=1, type=5, cpp_type=1, label=1,
  35. has_default_value=True, default_value=2,
  36. message_type=None, enum_type=None, containing_type=None,
  37. is_extension=False, extension_scope=None,
  38. serialized_options=None, file=DESCRIPTOR),
  39. _descriptor.FieldDescriptor(
  40. name='num_classes', full_name='object_detection.protos.FasterRcnn.num_classes', index=1,
  41. number=3, type=5, cpp_type=1, label=1,
  42. has_default_value=False, default_value=0,
  43. message_type=None, enum_type=None, containing_type=None,
  44. is_extension=False, extension_scope=None,
  45. serialized_options=None, file=DESCRIPTOR),
  46. _descriptor.FieldDescriptor(
  47. name='image_resizer', full_name='object_detection.protos.FasterRcnn.image_resizer', index=2,
  48. number=4, type=11, cpp_type=10, label=1,
  49. has_default_value=False, default_value=None,
  50. message_type=None, enum_type=None, containing_type=None,
  51. is_extension=False, extension_scope=None,
  52. serialized_options=None, file=DESCRIPTOR),
  53. _descriptor.FieldDescriptor(
  54. name='feature_extractor', full_name='object_detection.protos.FasterRcnn.feature_extractor', index=3,
  55. number=5, type=11, cpp_type=10, label=1,
  56. has_default_value=False, default_value=None,
  57. message_type=None, enum_type=None, containing_type=None,
  58. is_extension=False, extension_scope=None,
  59. serialized_options=None, file=DESCRIPTOR),
  60. _descriptor.FieldDescriptor(
  61. name='first_stage_anchor_generator', full_name='object_detection.protos.FasterRcnn.first_stage_anchor_generator', index=4,
  62. number=6, type=11, cpp_type=10, label=1,
  63. has_default_value=False, default_value=None,
  64. message_type=None, enum_type=None, containing_type=None,
  65. is_extension=False, extension_scope=None,
  66. serialized_options=None, file=DESCRIPTOR),
  67. _descriptor.FieldDescriptor(
  68. name='first_stage_atrous_rate', full_name='object_detection.protos.FasterRcnn.first_stage_atrous_rate', index=5,
  69. number=7, type=5, cpp_type=1, label=1,
  70. has_default_value=True, default_value=1,
  71. message_type=None, enum_type=None, containing_type=None,
  72. is_extension=False, extension_scope=None,
  73. serialized_options=None, file=DESCRIPTOR),
  74. _descriptor.FieldDescriptor(
  75. name='first_stage_box_predictor_conv_hyperparams', full_name='object_detection.protos.FasterRcnn.first_stage_box_predictor_conv_hyperparams', index=6,
  76. number=8, type=11, cpp_type=10, label=1,
  77. has_default_value=False, default_value=None,
  78. message_type=None, enum_type=None, containing_type=None,
  79. is_extension=False, extension_scope=None,
  80. serialized_options=None, file=DESCRIPTOR),
  81. _descriptor.FieldDescriptor(
  82. name='first_stage_box_predictor_kernel_size', full_name='object_detection.protos.FasterRcnn.first_stage_box_predictor_kernel_size', index=7,
  83. number=9, type=5, cpp_type=1, label=1,
  84. has_default_value=True, default_value=3,
  85. message_type=None, enum_type=None, containing_type=None,
  86. is_extension=False, extension_scope=None,
  87. serialized_options=None, file=DESCRIPTOR),
  88. _descriptor.FieldDescriptor(
  89. name='first_stage_box_predictor_depth', full_name='object_detection.protos.FasterRcnn.first_stage_box_predictor_depth', index=8,
  90. number=10, type=5, cpp_type=1, label=1,
  91. has_default_value=True, default_value=512,
  92. message_type=None, enum_type=None, containing_type=None,
  93. is_extension=False, extension_scope=None,
  94. serialized_options=None, file=DESCRIPTOR),
  95. _descriptor.FieldDescriptor(
  96. name='first_stage_minibatch_size', full_name='object_detection.protos.FasterRcnn.first_stage_minibatch_size', index=9,
  97. number=11, type=5, cpp_type=1, label=1,
  98. has_default_value=True, default_value=256,
  99. message_type=None, enum_type=None, containing_type=None,
  100. is_extension=False, extension_scope=None,
  101. serialized_options=None, file=DESCRIPTOR),
  102. _descriptor.FieldDescriptor(
  103. name='first_stage_positive_balance_fraction', full_name='object_detection.protos.FasterRcnn.first_stage_positive_balance_fraction', index=10,
  104. number=12, type=2, cpp_type=6, label=1,
  105. has_default_value=True, default_value=float(0.5),
  106. message_type=None, enum_type=None, containing_type=None,
  107. is_extension=False, extension_scope=None,
  108. serialized_options=None, file=DESCRIPTOR),
  109. _descriptor.FieldDescriptor(
  110. name='first_stage_nms_score_threshold', full_name='object_detection.protos.FasterRcnn.first_stage_nms_score_threshold', index=11,
  111. number=13, type=2, cpp_type=6, label=1,
  112. has_default_value=True, default_value=float(0),
  113. message_type=None, enum_type=None, containing_type=None,
  114. is_extension=False, extension_scope=None,
  115. serialized_options=None, file=DESCRIPTOR),
  116. _descriptor.FieldDescriptor(
  117. name='first_stage_nms_iou_threshold', full_name='object_detection.protos.FasterRcnn.first_stage_nms_iou_threshold', index=12,
  118. number=14, type=2, cpp_type=6, label=1,
  119. has_default_value=True, default_value=float(0.7),
  120. message_type=None, enum_type=None, containing_type=None,
  121. is_extension=False, extension_scope=None,
  122. serialized_options=None, file=DESCRIPTOR),
  123. _descriptor.FieldDescriptor(
  124. name='first_stage_max_proposals', full_name='object_detection.protos.FasterRcnn.first_stage_max_proposals', index=13,
  125. number=15, type=5, cpp_type=1, label=1,
  126. has_default_value=True, default_value=300,
  127. message_type=None, enum_type=None, containing_type=None,
  128. is_extension=False, extension_scope=None,
  129. serialized_options=None, file=DESCRIPTOR),
  130. _descriptor.FieldDescriptor(
  131. name='first_stage_localization_loss_weight', full_name='object_detection.protos.FasterRcnn.first_stage_localization_loss_weight', index=14,
  132. number=16, type=2, cpp_type=6, label=1,
  133. has_default_value=True, default_value=float(1),
  134. message_type=None, enum_type=None, containing_type=None,
  135. is_extension=False, extension_scope=None,
  136. serialized_options=None, file=DESCRIPTOR),
  137. _descriptor.FieldDescriptor(
  138. name='first_stage_objectness_loss_weight', full_name='object_detection.protos.FasterRcnn.first_stage_objectness_loss_weight', index=15,
  139. number=17, type=2, cpp_type=6, label=1,
  140. has_default_value=True, default_value=float(1),
  141. message_type=None, enum_type=None, containing_type=None,
  142. is_extension=False, extension_scope=None,
  143. serialized_options=None, file=DESCRIPTOR),
  144. _descriptor.FieldDescriptor(
  145. name='initial_crop_size', full_name='object_detection.protos.FasterRcnn.initial_crop_size', index=16,
  146. number=18, type=5, cpp_type=1, label=1,
  147. has_default_value=False, default_value=0,
  148. message_type=None, enum_type=None, containing_type=None,
  149. is_extension=False, extension_scope=None,
  150. serialized_options=None, file=DESCRIPTOR),
  151. _descriptor.FieldDescriptor(
  152. name='maxpool_kernel_size', full_name='object_detection.protos.FasterRcnn.maxpool_kernel_size', index=17,
  153. number=19, type=5, cpp_type=1, label=1,
  154. has_default_value=False, default_value=0,
  155. message_type=None, enum_type=None, containing_type=None,
  156. is_extension=False, extension_scope=None,
  157. serialized_options=None, file=DESCRIPTOR),
  158. _descriptor.FieldDescriptor(
  159. name='maxpool_stride', full_name='object_detection.protos.FasterRcnn.maxpool_stride', index=18,
  160. number=20, type=5, cpp_type=1, label=1,
  161. has_default_value=False, default_value=0,
  162. message_type=None, enum_type=None, containing_type=None,
  163. is_extension=False, extension_scope=None,
  164. serialized_options=None, file=DESCRIPTOR),
  165. _descriptor.FieldDescriptor(
  166. name='second_stage_box_predictor', full_name='object_detection.protos.FasterRcnn.second_stage_box_predictor', index=19,
  167. number=21, type=11, cpp_type=10, label=1,
  168. has_default_value=False, default_value=None,
  169. message_type=None, enum_type=None, containing_type=None,
  170. is_extension=False, extension_scope=None,
  171. serialized_options=None, file=DESCRIPTOR),
  172. _descriptor.FieldDescriptor(
  173. name='second_stage_batch_size', full_name='object_detection.protos.FasterRcnn.second_stage_batch_size', index=20,
  174. number=22, type=5, cpp_type=1, label=1,
  175. has_default_value=True, default_value=64,
  176. message_type=None, enum_type=None, containing_type=None,
  177. is_extension=False, extension_scope=None,
  178. serialized_options=None, file=DESCRIPTOR),
  179. _descriptor.FieldDescriptor(
  180. name='second_stage_balance_fraction', full_name='object_detection.protos.FasterRcnn.second_stage_balance_fraction', index=21,
  181. number=23, type=2, cpp_type=6, label=1,
  182. has_default_value=True, default_value=float(0.25),
  183. message_type=None, enum_type=None, containing_type=None,
  184. is_extension=False, extension_scope=None,
  185. serialized_options=None, file=DESCRIPTOR),
  186. _descriptor.FieldDescriptor(
  187. name='second_stage_post_processing', full_name='object_detection.protos.FasterRcnn.second_stage_post_processing', index=22,
  188. number=24, type=11, cpp_type=10, label=1,
  189. has_default_value=False, default_value=None,
  190. message_type=None, enum_type=None, containing_type=None,
  191. is_extension=False, extension_scope=None,
  192. serialized_options=None, file=DESCRIPTOR),
  193. _descriptor.FieldDescriptor(
  194. name='second_stage_localization_loss_weight', full_name='object_detection.protos.FasterRcnn.second_stage_localization_loss_weight', index=23,
  195. number=25, type=2, cpp_type=6, label=1,
  196. has_default_value=True, default_value=float(1),
  197. message_type=None, enum_type=None, containing_type=None,
  198. is_extension=False, extension_scope=None,
  199. serialized_options=None, file=DESCRIPTOR),
  200. _descriptor.FieldDescriptor(
  201. name='second_stage_classification_loss_weight', full_name='object_detection.protos.FasterRcnn.second_stage_classification_loss_weight', index=24,
  202. number=26, type=2, cpp_type=6, label=1,
  203. has_default_value=True, default_value=float(1),
  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='second_stage_mask_prediction_loss_weight', full_name='object_detection.protos.FasterRcnn.second_stage_mask_prediction_loss_weight', index=25,
  209. number=27, type=2, cpp_type=6, label=1,
  210. has_default_value=True, default_value=float(1),
  211. message_type=None, enum_type=None, containing_type=None,
  212. is_extension=False, extension_scope=None,
  213. serialized_options=None, file=DESCRIPTOR),
  214. _descriptor.FieldDescriptor(
  215. name='hard_example_miner', full_name='object_detection.protos.FasterRcnn.hard_example_miner', index=26,
  216. number=28, type=11, cpp_type=10, label=1,
  217. has_default_value=False, default_value=None,
  218. message_type=None, enum_type=None, containing_type=None,
  219. is_extension=False, extension_scope=None,
  220. serialized_options=None, file=DESCRIPTOR),
  221. _descriptor.FieldDescriptor(
  222. name='second_stage_classification_loss', full_name='object_detection.protos.FasterRcnn.second_stage_classification_loss', index=27,
  223. number=29, type=11, cpp_type=10, label=1,
  224. has_default_value=False, default_value=None,
  225. message_type=None, enum_type=None, containing_type=None,
  226. is_extension=False, extension_scope=None,
  227. serialized_options=None, file=DESCRIPTOR),
  228. _descriptor.FieldDescriptor(
  229. name='inplace_batchnorm_update', full_name='object_detection.protos.FasterRcnn.inplace_batchnorm_update', index=28,
  230. number=30, type=8, cpp_type=7, label=1,
  231. has_default_value=True, default_value=False,
  232. message_type=None, enum_type=None, containing_type=None,
  233. is_extension=False, extension_scope=None,
  234. serialized_options=None, file=DESCRIPTOR),
  235. _descriptor.FieldDescriptor(
  236. name='use_matmul_crop_and_resize', full_name='object_detection.protos.FasterRcnn.use_matmul_crop_and_resize', index=29,
  237. number=31, type=8, cpp_type=7, label=1,
  238. has_default_value=True, default_value=False,
  239. message_type=None, enum_type=None, containing_type=None,
  240. is_extension=False, extension_scope=None,
  241. serialized_options=None, file=DESCRIPTOR),
  242. _descriptor.FieldDescriptor(
  243. name='clip_anchors_to_image', full_name='object_detection.protos.FasterRcnn.clip_anchors_to_image', index=30,
  244. number=32, type=8, cpp_type=7, label=1,
  245. has_default_value=True, default_value=False,
  246. message_type=None, enum_type=None, containing_type=None,
  247. is_extension=False, extension_scope=None,
  248. serialized_options=None, file=DESCRIPTOR),
  249. _descriptor.FieldDescriptor(
  250. name='use_matmul_gather_in_matcher', full_name='object_detection.protos.FasterRcnn.use_matmul_gather_in_matcher', index=31,
  251. number=33, type=8, cpp_type=7, label=1,
  252. has_default_value=True, default_value=False,
  253. message_type=None, enum_type=None, containing_type=None,
  254. is_extension=False, extension_scope=None,
  255. serialized_options=None, file=DESCRIPTOR),
  256. _descriptor.FieldDescriptor(
  257. name='use_static_balanced_label_sampler', full_name='object_detection.protos.FasterRcnn.use_static_balanced_label_sampler', index=32,
  258. number=34, type=8, cpp_type=7, label=1,
  259. has_default_value=True, default_value=False,
  260. message_type=None, enum_type=None, containing_type=None,
  261. is_extension=False, extension_scope=None,
  262. serialized_options=None, file=DESCRIPTOR),
  263. _descriptor.FieldDescriptor(
  264. name='use_static_shapes', full_name='object_detection.protos.FasterRcnn.use_static_shapes', index=33,
  265. number=35, type=8, cpp_type=7, label=1,
  266. has_default_value=True, default_value=False,
  267. message_type=None, enum_type=None, containing_type=None,
  268. is_extension=False, extension_scope=None,
  269. serialized_options=None, file=DESCRIPTOR),
  270. _descriptor.FieldDescriptor(
  271. name='resize_masks', full_name='object_detection.protos.FasterRcnn.resize_masks', index=34,
  272. number=36, type=8, cpp_type=7, label=1,
  273. has_default_value=True, default_value=True,
  274. message_type=None, enum_type=None, containing_type=None,
  275. is_extension=False, extension_scope=None,
  276. serialized_options=None, file=DESCRIPTOR),
  277. _descriptor.FieldDescriptor(
  278. name='use_static_shapes_for_eval', full_name='object_detection.protos.FasterRcnn.use_static_shapes_for_eval', index=35,
  279. number=37, type=8, cpp_type=7, label=1,
  280. has_default_value=True, default_value=False,
  281. message_type=None, enum_type=None, containing_type=None,
  282. is_extension=False, extension_scope=None,
  283. serialized_options=None, file=DESCRIPTOR),
  284. ],
  285. extensions=[
  286. ],
  287. nested_types=[],
  288. enum_types=[
  289. ],
  290. serialized_options=None,
  291. is_extendable=False,
  292. syntax='proto2',
  293. extension_ranges=[],
  294. oneofs=[
  295. ],
  296. serialized_start=337,
  297. serialized_end=2111,
  298. )
  299. _FASTERRCNNFEATUREEXTRACTOR = _descriptor.Descriptor(
  300. name='FasterRcnnFeatureExtractor',
  301. full_name='object_detection.protos.FasterRcnnFeatureExtractor',
  302. filename=None,
  303. file=DESCRIPTOR,
  304. containing_type=None,
  305. fields=[
  306. _descriptor.FieldDescriptor(
  307. name='type', full_name='object_detection.protos.FasterRcnnFeatureExtractor.type', index=0,
  308. number=1, type=9, cpp_type=9, label=1,
  309. has_default_value=False, default_value=_b("").decode('utf-8'),
  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='first_stage_features_stride', full_name='object_detection.protos.FasterRcnnFeatureExtractor.first_stage_features_stride', index=1,
  315. number=2, type=5, cpp_type=1, label=1,
  316. has_default_value=True, default_value=16,
  317. message_type=None, enum_type=None, containing_type=None,
  318. is_extension=False, extension_scope=None,
  319. serialized_options=None, file=DESCRIPTOR),
  320. _descriptor.FieldDescriptor(
  321. name='batch_norm_trainable', full_name='object_detection.protos.FasterRcnnFeatureExtractor.batch_norm_trainable', index=2,
  322. number=3, type=8, cpp_type=7, label=1,
  323. has_default_value=True, default_value=False,
  324. message_type=None, enum_type=None, containing_type=None,
  325. is_extension=False, extension_scope=None,
  326. serialized_options=None, file=DESCRIPTOR),
  327. ],
  328. extensions=[
  329. ],
  330. nested_types=[],
  331. enum_types=[
  332. ],
  333. serialized_options=None,
  334. is_extendable=False,
  335. syntax='proto2',
  336. extension_ranges=[],
  337. oneofs=[
  338. ],
  339. serialized_start=2113,
  340. serialized_end=2233,
  341. )
  342. _FASTERRCNN.fields_by_name['image_resizer'].message_type = object__detection_dot_protos_dot_image__resizer__pb2._IMAGERESIZER
  343. _FASTERRCNN.fields_by_name['feature_extractor'].message_type = _FASTERRCNNFEATUREEXTRACTOR
  344. _FASTERRCNN.fields_by_name['first_stage_anchor_generator'].message_type = object__detection_dot_protos_dot_anchor__generator__pb2._ANCHORGENERATOR
  345. _FASTERRCNN.fields_by_name['first_stage_box_predictor_conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  346. _FASTERRCNN.fields_by_name['second_stage_box_predictor'].message_type = object__detection_dot_protos_dot_box__predictor__pb2._BOXPREDICTOR
  347. _FASTERRCNN.fields_by_name['second_stage_post_processing'].message_type = object__detection_dot_protos_dot_post__processing__pb2._POSTPROCESSING
  348. _FASTERRCNN.fields_by_name['hard_example_miner'].message_type = object__detection_dot_protos_dot_losses__pb2._HARDEXAMPLEMINER
  349. _FASTERRCNN.fields_by_name['second_stage_classification_loss'].message_type = object__detection_dot_protos_dot_losses__pb2._CLASSIFICATIONLOSS
  350. DESCRIPTOR.message_types_by_name['FasterRcnn'] = _FASTERRCNN
  351. DESCRIPTOR.message_types_by_name['FasterRcnnFeatureExtractor'] = _FASTERRCNNFEATUREEXTRACTOR
  352. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  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)