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.

489 lines
26 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/ssd.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_coder_pb2 as object__detection_dot_protos_dot_box__coder__pb2
  14. from object_detection.protos import box_predictor_pb2 as object__detection_dot_protos_dot_box__predictor__pb2
  15. from object_detection.protos import hyperparams_pb2 as object__detection_dot_protos_dot_hyperparams__pb2
  16. from object_detection.protos import image_resizer_pb2 as object__detection_dot_protos_dot_image__resizer__pb2
  17. from object_detection.protos import losses_pb2 as object__detection_dot_protos_dot_losses__pb2
  18. from object_detection.protos import matcher_pb2 as object__detection_dot_protos_dot_matcher__pb2
  19. from object_detection.protos import post_processing_pb2 as object__detection_dot_protos_dot_post__processing__pb2
  20. from object_detection.protos import region_similarity_calculator_pb2 as object__detection_dot_protos_dot_region__similarity__calculator__pb2
  21. DESCRIPTOR = _descriptor.FileDescriptor(
  22. name='object_detection/protos/ssd.proto',
  23. package='object_detection.protos',
  24. syntax='proto2',
  25. serialized_pb=_b('\n!object_detection/protos/ssd.proto\x12\x17object_detection.protos\x1a.object_detection/protos/anchor_generator.proto\x1a\'object_detection/protos/box_coder.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/matcher.proto\x1a-object_detection/protos/post_processing.proto\x1a:object_detection/protos/region_similarity_calculator.proto\"\xa7\x0b\n\x03Ssd\x12\x13\n\x0bnum_classes\x18\x01 \x01(\x05\x12<\n\rimage_resizer\x18\x02 \x01(\x0b\x32%.object_detection.protos.ImageResizer\x12G\n\x11\x66\x65\x61ture_extractor\x18\x03 \x01(\x0b\x32,.object_detection.protos.SsdFeatureExtractor\x12\x34\n\tbox_coder\x18\x04 \x01(\x0b\x32!.object_detection.protos.BoxCoder\x12\x31\n\x07matcher\x18\x05 \x01(\x0b\x32 .object_detection.protos.Matcher\x12R\n\x15similarity_calculator\x18\x06 \x01(\x0b\x32\x33.object_detection.protos.RegionSimilarityCalculator\x12)\n\x1a\x65ncode_background_as_zeros\x18\x0c \x01(\x08:\x05\x66\x61lse\x12 \n\x15negative_class_weight\x18\r \x01(\x02:\x01\x31\x12<\n\rbox_predictor\x18\x07 \x01(\x0b\x32%.object_detection.protos.BoxPredictor\x12\x42\n\x10\x61nchor_generator\x18\x08 \x01(\x0b\x32(.object_detection.protos.AnchorGenerator\x12@\n\x0fpost_processing\x18\t \x01(\x0b\x32\'.object_detection.protos.PostProcessing\x12+\n\x1dnormalize_loss_by_num_matches\x18\n \x01(\x08:\x04true\x12-\n\x1enormalize_loc_loss_by_codesize\x18\x0e \x01(\x08:\x05\x66\x61lse\x12+\n\x04loss\x18\x0b \x01(\x0b\x32\x1d.object_detection.protos.Loss\x12\x1f\n\x10\x66reeze_batchnorm\x18\x10 \x01(\x08:\x05\x66\x61lse\x12\'\n\x18inplace_batchnorm_update\x18\x0f \x01(\x08:\x05\x66\x61lse\x12\"\n\x14\x61\x64\x64_background_class\x18\x15 \x01(\x08:\x04true\x12(\n\x19\x65xplicit_background_class\x18\x18 \x01(\x08:\x05\x66\x61lse\x12)\n\x1ause_confidences_as_targets\x18\x16 \x01(\x08:\x05\x66\x61lse\x12\"\n\x17implicit_example_weight\x18\x17 \x01(\x02:\x01\x31\x12?\n\x10mask_head_config\x18\x19 \x01(\x0b\x32%.object_detection.protos.Ssd.MaskHead\x1a\x84\x03\n\x08MaskHead\x12\x17\n\x0bmask_height\x18\x01 \x01(\x05:\x02\x31\x35\x12\x16\n\nmask_width\x18\x02 \x01(\x05:\x02\x31\x35\x12&\n\x18masks_are_class_agnostic\x18\x03 \x01(\x08:\x04true\x12\'\n\x1amask_prediction_conv_depth\x18\x04 \x01(\x05:\x03\x32\x35\x36\x12*\n\x1fmask_prediction_num_conv_layers\x18\x05 \x01(\x05:\x01\x32\x12+\n\x1c\x63onvolve_then_upsample_masks\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x10mask_loss_weight\x18\x07 \x01(\x02:\x01\x35\x12!\n\x15mask_loss_sample_size\x18\x08 \x01(\x05:\x02\x31\x36\x12>\n\x10\x63onv_hyperparams\x18\t \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12\x1d\n\x11initial_crop_size\x18\n \x01(\x05:\x02\x31\x35\"\xac\x03\n\x13SsdFeatureExtractor\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x1b\n\x10\x64\x65pth_multiplier\x18\x02 \x01(\x02:\x01\x31\x12\x15\n\tmin_depth\x18\x03 \x01(\x05:\x02\x31\x36\x12>\n\x10\x63onv_hyperparams\x18\x04 \x01(\x0b\x32$.object_detection.protos.Hyperparams\x12:\n+override_base_feature_extractor_hyperparams\x18\t \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0fpad_to_multiple\x18\x05 \x01(\x05:\x01\x31\x12#\n\x14use_explicit_padding\x18\x07 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\ruse_depthwise\x18\x08 \x01(\x08:\x05\x66\x61lse\x12<\n\x03\x66pn\x18\n \x01(\x0b\x32/.object_detection.protos.FeaturePyramidNetworks\x12\x34\n%replace_preprocessor_with_placeholder\x18\x0b \x01(\x08:\x05\x66\x61lseJ\x04\x08\x06\x10\x07\"i\n\x16\x46\x65\x61turePyramidNetworks\x12\x14\n\tmin_level\x18\x01 \x01(\x05:\x01\x33\x12\x14\n\tmax_level\x18\x02 \x01(\x05:\x01\x37\x12#\n\x16\x61\x64\x64itional_layer_depth\x18\x03 \x01(\x05:\x03\x32\x35\x36')
  26. ,
  27. dependencies=[object__detection_dot_protos_dot_anchor__generator__pb2.DESCRIPTOR,object__detection_dot_protos_dot_box__coder__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_matcher__pb2.DESCRIPTOR,object__detection_dot_protos_dot_post__processing__pb2.DESCRIPTOR,object__detection_dot_protos_dot_region__similarity__calculator__pb2.DESCRIPTOR,])
  28. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  29. _SSD_MASKHEAD = _descriptor.Descriptor(
  30. name='MaskHead',
  31. full_name='object_detection.protos.Ssd.MaskHead',
  32. filename=None,
  33. file=DESCRIPTOR,
  34. containing_type=None,
  35. fields=[
  36. _descriptor.FieldDescriptor(
  37. name='mask_height', full_name='object_detection.protos.Ssd.MaskHead.mask_height', index=0,
  38. number=1, type=5, cpp_type=1, label=1,
  39. has_default_value=True, default_value=15,
  40. message_type=None, enum_type=None, containing_type=None,
  41. is_extension=False, extension_scope=None,
  42. options=None),
  43. _descriptor.FieldDescriptor(
  44. name='mask_width', full_name='object_detection.protos.Ssd.MaskHead.mask_width', index=1,
  45. number=2, type=5, cpp_type=1, label=1,
  46. has_default_value=True, default_value=15,
  47. message_type=None, enum_type=None, containing_type=None,
  48. is_extension=False, extension_scope=None,
  49. options=None),
  50. _descriptor.FieldDescriptor(
  51. name='masks_are_class_agnostic', full_name='object_detection.protos.Ssd.MaskHead.masks_are_class_agnostic', index=2,
  52. number=3, type=8, cpp_type=7, label=1,
  53. has_default_value=True, default_value=True,
  54. message_type=None, enum_type=None, containing_type=None,
  55. is_extension=False, extension_scope=None,
  56. options=None),
  57. _descriptor.FieldDescriptor(
  58. name='mask_prediction_conv_depth', full_name='object_detection.protos.Ssd.MaskHead.mask_prediction_conv_depth', index=3,
  59. number=4, type=5, cpp_type=1, label=1,
  60. has_default_value=True, default_value=256,
  61. message_type=None, enum_type=None, containing_type=None,
  62. is_extension=False, extension_scope=None,
  63. options=None),
  64. _descriptor.FieldDescriptor(
  65. name='mask_prediction_num_conv_layers', full_name='object_detection.protos.Ssd.MaskHead.mask_prediction_num_conv_layers', index=4,
  66. number=5, type=5, cpp_type=1, label=1,
  67. has_default_value=True, default_value=2,
  68. message_type=None, enum_type=None, containing_type=None,
  69. is_extension=False, extension_scope=None,
  70. options=None),
  71. _descriptor.FieldDescriptor(
  72. name='convolve_then_upsample_masks', full_name='object_detection.protos.Ssd.MaskHead.convolve_then_upsample_masks', index=5,
  73. number=6, type=8, cpp_type=7, label=1,
  74. has_default_value=True, default_value=False,
  75. message_type=None, enum_type=None, containing_type=None,
  76. is_extension=False, extension_scope=None,
  77. options=None),
  78. _descriptor.FieldDescriptor(
  79. name='mask_loss_weight', full_name='object_detection.protos.Ssd.MaskHead.mask_loss_weight', index=6,
  80. number=7, type=2, cpp_type=6, label=1,
  81. has_default_value=True, default_value=float(5),
  82. message_type=None, enum_type=None, containing_type=None,
  83. is_extension=False, extension_scope=None,
  84. options=None),
  85. _descriptor.FieldDescriptor(
  86. name='mask_loss_sample_size', full_name='object_detection.protos.Ssd.MaskHead.mask_loss_sample_size', index=7,
  87. number=8, type=5, cpp_type=1, label=1,
  88. has_default_value=True, default_value=16,
  89. message_type=None, enum_type=None, containing_type=None,
  90. is_extension=False, extension_scope=None,
  91. options=None),
  92. _descriptor.FieldDescriptor(
  93. name='conv_hyperparams', full_name='object_detection.protos.Ssd.MaskHead.conv_hyperparams', index=8,
  94. number=9, type=11, cpp_type=10, label=1,
  95. has_default_value=False, default_value=None,
  96. message_type=None, enum_type=None, containing_type=None,
  97. is_extension=False, extension_scope=None,
  98. options=None),
  99. _descriptor.FieldDescriptor(
  100. name='initial_crop_size', full_name='object_detection.protos.Ssd.MaskHead.initial_crop_size', index=9,
  101. number=10, type=5, cpp_type=1, label=1,
  102. has_default_value=True, default_value=15,
  103. message_type=None, enum_type=None, containing_type=None,
  104. is_extension=False, extension_scope=None,
  105. options=None),
  106. ],
  107. extensions=[
  108. ],
  109. nested_types=[],
  110. enum_types=[
  111. ],
  112. options=None,
  113. is_extendable=False,
  114. syntax='proto2',
  115. extension_ranges=[],
  116. oneofs=[
  117. ],
  118. serialized_start=1528,
  119. serialized_end=1916,
  120. )
  121. _SSD = _descriptor.Descriptor(
  122. name='Ssd',
  123. full_name='object_detection.protos.Ssd',
  124. filename=None,
  125. file=DESCRIPTOR,
  126. containing_type=None,
  127. fields=[
  128. _descriptor.FieldDescriptor(
  129. name='num_classes', full_name='object_detection.protos.Ssd.num_classes', index=0,
  130. number=1, type=5, cpp_type=1, label=1,
  131. has_default_value=False, default_value=0,
  132. message_type=None, enum_type=None, containing_type=None,
  133. is_extension=False, extension_scope=None,
  134. options=None),
  135. _descriptor.FieldDescriptor(
  136. name='image_resizer', full_name='object_detection.protos.Ssd.image_resizer', index=1,
  137. number=2, type=11, cpp_type=10, label=1,
  138. has_default_value=False, default_value=None,
  139. message_type=None, enum_type=None, containing_type=None,
  140. is_extension=False, extension_scope=None,
  141. options=None),
  142. _descriptor.FieldDescriptor(
  143. name='feature_extractor', full_name='object_detection.protos.Ssd.feature_extractor', index=2,
  144. number=3, type=11, cpp_type=10, label=1,
  145. has_default_value=False, default_value=None,
  146. message_type=None, enum_type=None, containing_type=None,
  147. is_extension=False, extension_scope=None,
  148. options=None),
  149. _descriptor.FieldDescriptor(
  150. name='box_coder', full_name='object_detection.protos.Ssd.box_coder', index=3,
  151. number=4, type=11, cpp_type=10, label=1,
  152. has_default_value=False, default_value=None,
  153. message_type=None, enum_type=None, containing_type=None,
  154. is_extension=False, extension_scope=None,
  155. options=None),
  156. _descriptor.FieldDescriptor(
  157. name='matcher', full_name='object_detection.protos.Ssd.matcher', index=4,
  158. number=5, type=11, cpp_type=10, label=1,
  159. has_default_value=False, default_value=None,
  160. message_type=None, enum_type=None, containing_type=None,
  161. is_extension=False, extension_scope=None,
  162. options=None),
  163. _descriptor.FieldDescriptor(
  164. name='similarity_calculator', full_name='object_detection.protos.Ssd.similarity_calculator', index=5,
  165. number=6, type=11, cpp_type=10, label=1,
  166. has_default_value=False, default_value=None,
  167. message_type=None, enum_type=None, containing_type=None,
  168. is_extension=False, extension_scope=None,
  169. options=None),
  170. _descriptor.FieldDescriptor(
  171. name='encode_background_as_zeros', full_name='object_detection.protos.Ssd.encode_background_as_zeros', index=6,
  172. number=12, type=8, cpp_type=7, label=1,
  173. has_default_value=True, default_value=False,
  174. message_type=None, enum_type=None, containing_type=None,
  175. is_extension=False, extension_scope=None,
  176. options=None),
  177. _descriptor.FieldDescriptor(
  178. name='negative_class_weight', full_name='object_detection.protos.Ssd.negative_class_weight', index=7,
  179. number=13, type=2, cpp_type=6, label=1,
  180. has_default_value=True, default_value=float(1),
  181. message_type=None, enum_type=None, containing_type=None,
  182. is_extension=False, extension_scope=None,
  183. options=None),
  184. _descriptor.FieldDescriptor(
  185. name='box_predictor', full_name='object_detection.protos.Ssd.box_predictor', index=8,
  186. number=7, type=11, cpp_type=10, label=1,
  187. has_default_value=False, default_value=None,
  188. message_type=None, enum_type=None, containing_type=None,
  189. is_extension=False, extension_scope=None,
  190. options=None),
  191. _descriptor.FieldDescriptor(
  192. name='anchor_generator', full_name='object_detection.protos.Ssd.anchor_generator', index=9,
  193. number=8, type=11, cpp_type=10, label=1,
  194. has_default_value=False, default_value=None,
  195. message_type=None, enum_type=None, containing_type=None,
  196. is_extension=False, extension_scope=None,
  197. options=None),
  198. _descriptor.FieldDescriptor(
  199. name='post_processing', full_name='object_detection.protos.Ssd.post_processing', index=10,
  200. number=9, type=11, cpp_type=10, label=1,
  201. has_default_value=False, default_value=None,
  202. message_type=None, enum_type=None, containing_type=None,
  203. is_extension=False, extension_scope=None,
  204. options=None),
  205. _descriptor.FieldDescriptor(
  206. name='normalize_loss_by_num_matches', full_name='object_detection.protos.Ssd.normalize_loss_by_num_matches', index=11,
  207. number=10, type=8, cpp_type=7, label=1,
  208. has_default_value=True, default_value=True,
  209. message_type=None, enum_type=None, containing_type=None,
  210. is_extension=False, extension_scope=None,
  211. options=None),
  212. _descriptor.FieldDescriptor(
  213. name='normalize_loc_loss_by_codesize', full_name='object_detection.protos.Ssd.normalize_loc_loss_by_codesize', index=12,
  214. number=14, type=8, cpp_type=7, label=1,
  215. has_default_value=True, default_value=False,
  216. message_type=None, enum_type=None, containing_type=None,
  217. is_extension=False, extension_scope=None,
  218. options=None),
  219. _descriptor.FieldDescriptor(
  220. name='loss', full_name='object_detection.protos.Ssd.loss', index=13,
  221. number=11, type=11, cpp_type=10, label=1,
  222. has_default_value=False, default_value=None,
  223. message_type=None, enum_type=None, containing_type=None,
  224. is_extension=False, extension_scope=None,
  225. options=None),
  226. _descriptor.FieldDescriptor(
  227. name='freeze_batchnorm', full_name='object_detection.protos.Ssd.freeze_batchnorm', index=14,
  228. number=16, type=8, cpp_type=7, label=1,
  229. has_default_value=True, default_value=False,
  230. message_type=None, enum_type=None, containing_type=None,
  231. is_extension=False, extension_scope=None,
  232. options=None),
  233. _descriptor.FieldDescriptor(
  234. name='inplace_batchnorm_update', full_name='object_detection.protos.Ssd.inplace_batchnorm_update', index=15,
  235. number=15, type=8, cpp_type=7, label=1,
  236. has_default_value=True, default_value=False,
  237. message_type=None, enum_type=None, containing_type=None,
  238. is_extension=False, extension_scope=None,
  239. options=None),
  240. _descriptor.FieldDescriptor(
  241. name='add_background_class', full_name='object_detection.protos.Ssd.add_background_class', index=16,
  242. number=21, type=8, cpp_type=7, label=1,
  243. has_default_value=True, default_value=True,
  244. message_type=None, enum_type=None, containing_type=None,
  245. is_extension=False, extension_scope=None,
  246. options=None),
  247. _descriptor.FieldDescriptor(
  248. name='explicit_background_class', full_name='object_detection.protos.Ssd.explicit_background_class', index=17,
  249. number=24, type=8, cpp_type=7, label=1,
  250. has_default_value=True, default_value=False,
  251. message_type=None, enum_type=None, containing_type=None,
  252. is_extension=False, extension_scope=None,
  253. options=None),
  254. _descriptor.FieldDescriptor(
  255. name='use_confidences_as_targets', full_name='object_detection.protos.Ssd.use_confidences_as_targets', index=18,
  256. number=22, type=8, cpp_type=7, label=1,
  257. has_default_value=True, default_value=False,
  258. message_type=None, enum_type=None, containing_type=None,
  259. is_extension=False, extension_scope=None,
  260. options=None),
  261. _descriptor.FieldDescriptor(
  262. name='implicit_example_weight', full_name='object_detection.protos.Ssd.implicit_example_weight', index=19,
  263. number=23, type=2, cpp_type=6, label=1,
  264. has_default_value=True, default_value=float(1),
  265. message_type=None, enum_type=None, containing_type=None,
  266. is_extension=False, extension_scope=None,
  267. options=None),
  268. _descriptor.FieldDescriptor(
  269. name='mask_head_config', full_name='object_detection.protos.Ssd.mask_head_config', index=20,
  270. number=25, type=11, cpp_type=10, label=1,
  271. has_default_value=False, default_value=None,
  272. message_type=None, enum_type=None, containing_type=None,
  273. is_extension=False, extension_scope=None,
  274. options=None),
  275. ],
  276. extensions=[
  277. ],
  278. nested_types=[_SSD_MASKHEAD, ],
  279. enum_types=[
  280. ],
  281. options=None,
  282. is_extendable=False,
  283. syntax='proto2',
  284. extension_ranges=[],
  285. oneofs=[
  286. ],
  287. serialized_start=469,
  288. serialized_end=1916,
  289. )
  290. _SSDFEATUREEXTRACTOR = _descriptor.Descriptor(
  291. name='SsdFeatureExtractor',
  292. full_name='object_detection.protos.SsdFeatureExtractor',
  293. filename=None,
  294. file=DESCRIPTOR,
  295. containing_type=None,
  296. fields=[
  297. _descriptor.FieldDescriptor(
  298. name='type', full_name='object_detection.protos.SsdFeatureExtractor.type', index=0,
  299. number=1, type=9, cpp_type=9, label=1,
  300. has_default_value=False, default_value=_b("").decode('utf-8'),
  301. message_type=None, enum_type=None, containing_type=None,
  302. is_extension=False, extension_scope=None,
  303. options=None),
  304. _descriptor.FieldDescriptor(
  305. name='depth_multiplier', full_name='object_detection.protos.SsdFeatureExtractor.depth_multiplier', index=1,
  306. number=2, type=2, cpp_type=6, label=1,
  307. has_default_value=True, default_value=float(1),
  308. message_type=None, enum_type=None, containing_type=None,
  309. is_extension=False, extension_scope=None,
  310. options=None),
  311. _descriptor.FieldDescriptor(
  312. name='min_depth', full_name='object_detection.protos.SsdFeatureExtractor.min_depth', index=2,
  313. number=3, type=5, cpp_type=1, label=1,
  314. has_default_value=True, default_value=16,
  315. message_type=None, enum_type=None, containing_type=None,
  316. is_extension=False, extension_scope=None,
  317. options=None),
  318. _descriptor.FieldDescriptor(
  319. name='conv_hyperparams', full_name='object_detection.protos.SsdFeatureExtractor.conv_hyperparams', index=3,
  320. number=4, type=11, cpp_type=10, label=1,
  321. has_default_value=False, default_value=None,
  322. message_type=None, enum_type=None, containing_type=None,
  323. is_extension=False, extension_scope=None,
  324. options=None),
  325. _descriptor.FieldDescriptor(
  326. name='override_base_feature_extractor_hyperparams', full_name='object_detection.protos.SsdFeatureExtractor.override_base_feature_extractor_hyperparams', index=4,
  327. number=9, type=8, cpp_type=7, label=1,
  328. has_default_value=True, default_value=False,
  329. message_type=None, enum_type=None, containing_type=None,
  330. is_extension=False, extension_scope=None,
  331. options=None),
  332. _descriptor.FieldDescriptor(
  333. name='pad_to_multiple', full_name='object_detection.protos.SsdFeatureExtractor.pad_to_multiple', index=5,
  334. number=5, type=5, cpp_type=1, label=1,
  335. has_default_value=True, default_value=1,
  336. message_type=None, enum_type=None, containing_type=None,
  337. is_extension=False, extension_scope=None,
  338. options=None),
  339. _descriptor.FieldDescriptor(
  340. name='use_explicit_padding', full_name='object_detection.protos.SsdFeatureExtractor.use_explicit_padding', index=6,
  341. number=7, type=8, cpp_type=7, label=1,
  342. has_default_value=True, default_value=False,
  343. message_type=None, enum_type=None, containing_type=None,
  344. is_extension=False, extension_scope=None,
  345. options=None),
  346. _descriptor.FieldDescriptor(
  347. name='use_depthwise', full_name='object_detection.protos.SsdFeatureExtractor.use_depthwise', index=7,
  348. number=8, type=8, cpp_type=7, label=1,
  349. has_default_value=True, default_value=False,
  350. message_type=None, enum_type=None, containing_type=None,
  351. is_extension=False, extension_scope=None,
  352. options=None),
  353. _descriptor.FieldDescriptor(
  354. name='fpn', full_name='object_detection.protos.SsdFeatureExtractor.fpn', index=8,
  355. number=10, type=11, cpp_type=10, label=1,
  356. has_default_value=False, default_value=None,
  357. message_type=None, enum_type=None, containing_type=None,
  358. is_extension=False, extension_scope=None,
  359. options=None),
  360. _descriptor.FieldDescriptor(
  361. name='replace_preprocessor_with_placeholder', full_name='object_detection.protos.SsdFeatureExtractor.replace_preprocessor_with_placeholder', index=9,
  362. number=11, type=8, cpp_type=7, label=1,
  363. has_default_value=True, default_value=False,
  364. message_type=None, enum_type=None, containing_type=None,
  365. is_extension=False, extension_scope=None,
  366. options=None),
  367. ],
  368. extensions=[
  369. ],
  370. nested_types=[],
  371. enum_types=[
  372. ],
  373. options=None,
  374. is_extendable=False,
  375. syntax='proto2',
  376. extension_ranges=[],
  377. oneofs=[
  378. ],
  379. serialized_start=1919,
  380. serialized_end=2347,
  381. )
  382. _FEATUREPYRAMIDNETWORKS = _descriptor.Descriptor(
  383. name='FeaturePyramidNetworks',
  384. full_name='object_detection.protos.FeaturePyramidNetworks',
  385. filename=None,
  386. file=DESCRIPTOR,
  387. containing_type=None,
  388. fields=[
  389. _descriptor.FieldDescriptor(
  390. name='min_level', full_name='object_detection.protos.FeaturePyramidNetworks.min_level', index=0,
  391. number=1, type=5, cpp_type=1, label=1,
  392. has_default_value=True, default_value=3,
  393. message_type=None, enum_type=None, containing_type=None,
  394. is_extension=False, extension_scope=None,
  395. options=None),
  396. _descriptor.FieldDescriptor(
  397. name='max_level', full_name='object_detection.protos.FeaturePyramidNetworks.max_level', index=1,
  398. number=2, type=5, cpp_type=1, label=1,
  399. has_default_value=True, default_value=7,
  400. message_type=None, enum_type=None, containing_type=None,
  401. is_extension=False, extension_scope=None,
  402. options=None),
  403. _descriptor.FieldDescriptor(
  404. name='additional_layer_depth', full_name='object_detection.protos.FeaturePyramidNetworks.additional_layer_depth', index=2,
  405. number=3, type=5, cpp_type=1, label=1,
  406. has_default_value=True, default_value=256,
  407. message_type=None, enum_type=None, containing_type=None,
  408. is_extension=False, extension_scope=None,
  409. options=None),
  410. ],
  411. extensions=[
  412. ],
  413. nested_types=[],
  414. enum_types=[
  415. ],
  416. options=None,
  417. is_extendable=False,
  418. syntax='proto2',
  419. extension_ranges=[],
  420. oneofs=[
  421. ],
  422. serialized_start=2349,
  423. serialized_end=2454,
  424. )
  425. _SSD_MASKHEAD.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  426. _SSD_MASKHEAD.containing_type = _SSD
  427. _SSD.fields_by_name['image_resizer'].message_type = object__detection_dot_protos_dot_image__resizer__pb2._IMAGERESIZER
  428. _SSD.fields_by_name['feature_extractor'].message_type = _SSDFEATUREEXTRACTOR
  429. _SSD.fields_by_name['box_coder'].message_type = object__detection_dot_protos_dot_box__coder__pb2._BOXCODER
  430. _SSD.fields_by_name['matcher'].message_type = object__detection_dot_protos_dot_matcher__pb2._MATCHER
  431. _SSD.fields_by_name['similarity_calculator'].message_type = object__detection_dot_protos_dot_region__similarity__calculator__pb2._REGIONSIMILARITYCALCULATOR
  432. _SSD.fields_by_name['box_predictor'].message_type = object__detection_dot_protos_dot_box__predictor__pb2._BOXPREDICTOR
  433. _SSD.fields_by_name['anchor_generator'].message_type = object__detection_dot_protos_dot_anchor__generator__pb2._ANCHORGENERATOR
  434. _SSD.fields_by_name['post_processing'].message_type = object__detection_dot_protos_dot_post__processing__pb2._POSTPROCESSING
  435. _SSD.fields_by_name['loss'].message_type = object__detection_dot_protos_dot_losses__pb2._LOSS
  436. _SSD.fields_by_name['mask_head_config'].message_type = _SSD_MASKHEAD
  437. _SSDFEATUREEXTRACTOR.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  438. _SSDFEATUREEXTRACTOR.fields_by_name['fpn'].message_type = _FEATUREPYRAMIDNETWORKS
  439. DESCRIPTOR.message_types_by_name['Ssd'] = _SSD
  440. DESCRIPTOR.message_types_by_name['SsdFeatureExtractor'] = _SSDFEATUREEXTRACTOR
  441. DESCRIPTOR.message_types_by_name['FeaturePyramidNetworks'] = _FEATUREPYRAMIDNETWORKS
  442. Ssd = _reflection.GeneratedProtocolMessageType('Ssd', (_message.Message,), dict(
  443. MaskHead = _reflection.GeneratedProtocolMessageType('MaskHead', (_message.Message,), dict(
  444. DESCRIPTOR = _SSD_MASKHEAD,
  445. __module__ = 'object_detection.protos.ssd_pb2'
  446. # @@protoc_insertion_point(class_scope:object_detection.protos.Ssd.MaskHead)
  447. ))
  448. ,
  449. DESCRIPTOR = _SSD,
  450. __module__ = 'object_detection.protos.ssd_pb2'
  451. # @@protoc_insertion_point(class_scope:object_detection.protos.Ssd)
  452. ))
  453. _sym_db.RegisterMessage(Ssd)
  454. _sym_db.RegisterMessage(Ssd.MaskHead)
  455. SsdFeatureExtractor = _reflection.GeneratedProtocolMessageType('SsdFeatureExtractor', (_message.Message,), dict(
  456. DESCRIPTOR = _SSDFEATUREEXTRACTOR,
  457. __module__ = 'object_detection.protos.ssd_pb2'
  458. # @@protoc_insertion_point(class_scope:object_detection.protos.SsdFeatureExtractor)
  459. ))
  460. _sym_db.RegisterMessage(SsdFeatureExtractor)
  461. FeaturePyramidNetworks = _reflection.GeneratedProtocolMessageType('FeaturePyramidNetworks', (_message.Message,), dict(
  462. DESCRIPTOR = _FEATUREPYRAMIDNETWORKS,
  463. __module__ = 'object_detection.protos.ssd_pb2'
  464. # @@protoc_insertion_point(class_scope:object_detection.protos.FeaturePyramidNetworks)
  465. ))
  466. _sym_db.RegisterMessage(FeaturePyramidNetworks)
  467. # @@protoc_insertion_point(module_scope)