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

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/ssd.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_coder_pb2 as object__detection_dot_protos_dot_box__coder__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 matcher_pb2 as object__detection_dot_protos_dot_matcher__pb2
  17. from object_detection.protos import losses_pb2 as object__detection_dot_protos_dot_losses__pb2
  18. from object_detection.protos import post_processing_pb2 as object__detection_dot_protos_dot_post__processing__pb2
  19. from object_detection.protos import region_similarity_calculator_pb2 as object__detection_dot_protos_dot_region__similarity__calculator__pb2
  20. DESCRIPTOR = _descriptor.FileDescriptor(
  21. name='object_detection/protos/ssd.proto',
  22. package='object_detection.protos',
  23. syntax='proto2',
  24. serialized_options=None,
  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/matcher.proto\x1a$object_detection/protos/losses.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_matcher__pb2.DESCRIPTOR,object__detection_dot_protos_dot_losses__pb2.DESCRIPTOR,object__detection_dot_protos_dot_post__processing__pb2.DESCRIPTOR,object__detection_dot_protos_dot_region__similarity__calculator__pb2.DESCRIPTOR,])
  28. _SSD_MASKHEAD = _descriptor.Descriptor(
  29. name='MaskHead',
  30. full_name='object_detection.protos.Ssd.MaskHead',
  31. filename=None,
  32. file=DESCRIPTOR,
  33. containing_type=None,
  34. fields=[
  35. _descriptor.FieldDescriptor(
  36. name='mask_height', full_name='object_detection.protos.Ssd.MaskHead.mask_height', index=0,
  37. number=1, type=5, cpp_type=1, label=1,
  38. has_default_value=True, default_value=15,
  39. message_type=None, enum_type=None, containing_type=None,
  40. is_extension=False, extension_scope=None,
  41. serialized_options=None, file=DESCRIPTOR),
  42. _descriptor.FieldDescriptor(
  43. name='mask_width', full_name='object_detection.protos.Ssd.MaskHead.mask_width', index=1,
  44. number=2, type=5, cpp_type=1, label=1,
  45. has_default_value=True, default_value=15,
  46. message_type=None, enum_type=None, containing_type=None,
  47. is_extension=False, extension_scope=None,
  48. serialized_options=None, file=DESCRIPTOR),
  49. _descriptor.FieldDescriptor(
  50. name='masks_are_class_agnostic', full_name='object_detection.protos.Ssd.MaskHead.masks_are_class_agnostic', index=2,
  51. number=3, type=8, cpp_type=7, label=1,
  52. has_default_value=True, default_value=True,
  53. message_type=None, enum_type=None, containing_type=None,
  54. is_extension=False, extension_scope=None,
  55. serialized_options=None, file=DESCRIPTOR),
  56. _descriptor.FieldDescriptor(
  57. name='mask_prediction_conv_depth', full_name='object_detection.protos.Ssd.MaskHead.mask_prediction_conv_depth', index=3,
  58. number=4, type=5, cpp_type=1, label=1,
  59. has_default_value=True, default_value=256,
  60. message_type=None, enum_type=None, containing_type=None,
  61. is_extension=False, extension_scope=None,
  62. serialized_options=None, file=DESCRIPTOR),
  63. _descriptor.FieldDescriptor(
  64. name='mask_prediction_num_conv_layers', full_name='object_detection.protos.Ssd.MaskHead.mask_prediction_num_conv_layers', index=4,
  65. number=5, type=5, cpp_type=1, label=1,
  66. has_default_value=True, default_value=2,
  67. message_type=None, enum_type=None, containing_type=None,
  68. is_extension=False, extension_scope=None,
  69. serialized_options=None, file=DESCRIPTOR),
  70. _descriptor.FieldDescriptor(
  71. name='convolve_then_upsample_masks', full_name='object_detection.protos.Ssd.MaskHead.convolve_then_upsample_masks', index=5,
  72. number=6, type=8, cpp_type=7, label=1,
  73. has_default_value=True, default_value=False,
  74. message_type=None, enum_type=None, containing_type=None,
  75. is_extension=False, extension_scope=None,
  76. serialized_options=None, file=DESCRIPTOR),
  77. _descriptor.FieldDescriptor(
  78. name='mask_loss_weight', full_name='object_detection.protos.Ssd.MaskHead.mask_loss_weight', index=6,
  79. number=7, type=2, cpp_type=6, label=1,
  80. has_default_value=True, default_value=float(5),
  81. message_type=None, enum_type=None, containing_type=None,
  82. is_extension=False, extension_scope=None,
  83. serialized_options=None, file=DESCRIPTOR),
  84. _descriptor.FieldDescriptor(
  85. name='mask_loss_sample_size', full_name='object_detection.protos.Ssd.MaskHead.mask_loss_sample_size', index=7,
  86. number=8, type=5, cpp_type=1, label=1,
  87. has_default_value=True, default_value=16,
  88. message_type=None, enum_type=None, containing_type=None,
  89. is_extension=False, extension_scope=None,
  90. serialized_options=None, file=DESCRIPTOR),
  91. _descriptor.FieldDescriptor(
  92. name='conv_hyperparams', full_name='object_detection.protos.Ssd.MaskHead.conv_hyperparams', index=8,
  93. number=9, type=11, cpp_type=10, label=1,
  94. has_default_value=False, default_value=None,
  95. message_type=None, enum_type=None, containing_type=None,
  96. is_extension=False, extension_scope=None,
  97. serialized_options=None, file=DESCRIPTOR),
  98. _descriptor.FieldDescriptor(
  99. name='initial_crop_size', full_name='object_detection.protos.Ssd.MaskHead.initial_crop_size', index=9,
  100. number=10, type=5, cpp_type=1, label=1,
  101. has_default_value=True, default_value=15,
  102. message_type=None, enum_type=None, containing_type=None,
  103. is_extension=False, extension_scope=None,
  104. serialized_options=None, file=DESCRIPTOR),
  105. ],
  106. extensions=[
  107. ],
  108. nested_types=[],
  109. enum_types=[
  110. ],
  111. serialized_options=None,
  112. is_extendable=False,
  113. syntax='proto2',
  114. extension_ranges=[],
  115. oneofs=[
  116. ],
  117. serialized_start=1528,
  118. serialized_end=1916,
  119. )
  120. _SSD = _descriptor.Descriptor(
  121. name='Ssd',
  122. full_name='object_detection.protos.Ssd',
  123. filename=None,
  124. file=DESCRIPTOR,
  125. containing_type=None,
  126. fields=[
  127. _descriptor.FieldDescriptor(
  128. name='num_classes', full_name='object_detection.protos.Ssd.num_classes', index=0,
  129. number=1, type=5, cpp_type=1, label=1,
  130. has_default_value=False, default_value=0,
  131. message_type=None, enum_type=None, containing_type=None,
  132. is_extension=False, extension_scope=None,
  133. serialized_options=None, file=DESCRIPTOR),
  134. _descriptor.FieldDescriptor(
  135. name='image_resizer', full_name='object_detection.protos.Ssd.image_resizer', index=1,
  136. number=2, type=11, cpp_type=10, label=1,
  137. has_default_value=False, default_value=None,
  138. message_type=None, enum_type=None, containing_type=None,
  139. is_extension=False, extension_scope=None,
  140. serialized_options=None, file=DESCRIPTOR),
  141. _descriptor.FieldDescriptor(
  142. name='feature_extractor', full_name='object_detection.protos.Ssd.feature_extractor', index=2,
  143. number=3, type=11, cpp_type=10, label=1,
  144. has_default_value=False, default_value=None,
  145. message_type=None, enum_type=None, containing_type=None,
  146. is_extension=False, extension_scope=None,
  147. serialized_options=None, file=DESCRIPTOR),
  148. _descriptor.FieldDescriptor(
  149. name='box_coder', full_name='object_detection.protos.Ssd.box_coder', index=3,
  150. number=4, type=11, cpp_type=10, label=1,
  151. has_default_value=False, default_value=None,
  152. message_type=None, enum_type=None, containing_type=None,
  153. is_extension=False, extension_scope=None,
  154. serialized_options=None, file=DESCRIPTOR),
  155. _descriptor.FieldDescriptor(
  156. name='matcher', full_name='object_detection.protos.Ssd.matcher', index=4,
  157. number=5, type=11, cpp_type=10, label=1,
  158. has_default_value=False, default_value=None,
  159. message_type=None, enum_type=None, containing_type=None,
  160. is_extension=False, extension_scope=None,
  161. serialized_options=None, file=DESCRIPTOR),
  162. _descriptor.FieldDescriptor(
  163. name='similarity_calculator', full_name='object_detection.protos.Ssd.similarity_calculator', index=5,
  164. number=6, type=11, cpp_type=10, label=1,
  165. has_default_value=False, default_value=None,
  166. message_type=None, enum_type=None, containing_type=None,
  167. is_extension=False, extension_scope=None,
  168. serialized_options=None, file=DESCRIPTOR),
  169. _descriptor.FieldDescriptor(
  170. name='encode_background_as_zeros', full_name='object_detection.protos.Ssd.encode_background_as_zeros', index=6,
  171. number=12, type=8, cpp_type=7, label=1,
  172. has_default_value=True, default_value=False,
  173. message_type=None, enum_type=None, containing_type=None,
  174. is_extension=False, extension_scope=None,
  175. serialized_options=None, file=DESCRIPTOR),
  176. _descriptor.FieldDescriptor(
  177. name='negative_class_weight', full_name='object_detection.protos.Ssd.negative_class_weight', index=7,
  178. number=13, type=2, cpp_type=6, label=1,
  179. has_default_value=True, default_value=float(1),
  180. message_type=None, enum_type=None, containing_type=None,
  181. is_extension=False, extension_scope=None,
  182. serialized_options=None, file=DESCRIPTOR),
  183. _descriptor.FieldDescriptor(
  184. name='box_predictor', full_name='object_detection.protos.Ssd.box_predictor', index=8,
  185. number=7, type=11, cpp_type=10, label=1,
  186. has_default_value=False, default_value=None,
  187. message_type=None, enum_type=None, containing_type=None,
  188. is_extension=False, extension_scope=None,
  189. serialized_options=None, file=DESCRIPTOR),
  190. _descriptor.FieldDescriptor(
  191. name='anchor_generator', full_name='object_detection.protos.Ssd.anchor_generator', index=9,
  192. number=8, type=11, cpp_type=10, label=1,
  193. has_default_value=False, default_value=None,
  194. message_type=None, enum_type=None, containing_type=None,
  195. is_extension=False, extension_scope=None,
  196. serialized_options=None, file=DESCRIPTOR),
  197. _descriptor.FieldDescriptor(
  198. name='post_processing', full_name='object_detection.protos.Ssd.post_processing', index=10,
  199. number=9, type=11, cpp_type=10, label=1,
  200. has_default_value=False, default_value=None,
  201. message_type=None, enum_type=None, containing_type=None,
  202. is_extension=False, extension_scope=None,
  203. serialized_options=None, file=DESCRIPTOR),
  204. _descriptor.FieldDescriptor(
  205. name='normalize_loss_by_num_matches', full_name='object_detection.protos.Ssd.normalize_loss_by_num_matches', index=11,
  206. number=10, type=8, cpp_type=7, label=1,
  207. has_default_value=True, default_value=True,
  208. message_type=None, enum_type=None, containing_type=None,
  209. is_extension=False, extension_scope=None,
  210. serialized_options=None, file=DESCRIPTOR),
  211. _descriptor.FieldDescriptor(
  212. name='normalize_loc_loss_by_codesize', full_name='object_detection.protos.Ssd.normalize_loc_loss_by_codesize', index=12,
  213. number=14, type=8, cpp_type=7, label=1,
  214. has_default_value=True, default_value=False,
  215. message_type=None, enum_type=None, containing_type=None,
  216. is_extension=False, extension_scope=None,
  217. serialized_options=None, file=DESCRIPTOR),
  218. _descriptor.FieldDescriptor(
  219. name='loss', full_name='object_detection.protos.Ssd.loss', index=13,
  220. number=11, type=11, cpp_type=10, label=1,
  221. has_default_value=False, default_value=None,
  222. message_type=None, enum_type=None, containing_type=None,
  223. is_extension=False, extension_scope=None,
  224. serialized_options=None, file=DESCRIPTOR),
  225. _descriptor.FieldDescriptor(
  226. name='freeze_batchnorm', full_name='object_detection.protos.Ssd.freeze_batchnorm', index=14,
  227. number=16, type=8, cpp_type=7, label=1,
  228. has_default_value=True, default_value=False,
  229. message_type=None, enum_type=None, containing_type=None,
  230. is_extension=False, extension_scope=None,
  231. serialized_options=None, file=DESCRIPTOR),
  232. _descriptor.FieldDescriptor(
  233. name='inplace_batchnorm_update', full_name='object_detection.protos.Ssd.inplace_batchnorm_update', index=15,
  234. number=15, type=8, cpp_type=7, label=1,
  235. has_default_value=True, default_value=False,
  236. message_type=None, enum_type=None, containing_type=None,
  237. is_extension=False, extension_scope=None,
  238. serialized_options=None, file=DESCRIPTOR),
  239. _descriptor.FieldDescriptor(
  240. name='add_background_class', full_name='object_detection.protos.Ssd.add_background_class', index=16,
  241. number=21, type=8, cpp_type=7, label=1,
  242. has_default_value=True, default_value=True,
  243. message_type=None, enum_type=None, containing_type=None,
  244. is_extension=False, extension_scope=None,
  245. serialized_options=None, file=DESCRIPTOR),
  246. _descriptor.FieldDescriptor(
  247. name='explicit_background_class', full_name='object_detection.protos.Ssd.explicit_background_class', index=17,
  248. number=24, type=8, cpp_type=7, label=1,
  249. has_default_value=True, default_value=False,
  250. message_type=None, enum_type=None, containing_type=None,
  251. is_extension=False, extension_scope=None,
  252. serialized_options=None, file=DESCRIPTOR),
  253. _descriptor.FieldDescriptor(
  254. name='use_confidences_as_targets', full_name='object_detection.protos.Ssd.use_confidences_as_targets', index=18,
  255. number=22, type=8, cpp_type=7, label=1,
  256. has_default_value=True, default_value=False,
  257. message_type=None, enum_type=None, containing_type=None,
  258. is_extension=False, extension_scope=None,
  259. serialized_options=None, file=DESCRIPTOR),
  260. _descriptor.FieldDescriptor(
  261. name='implicit_example_weight', full_name='object_detection.protos.Ssd.implicit_example_weight', index=19,
  262. number=23, type=2, cpp_type=6, label=1,
  263. has_default_value=True, default_value=float(1),
  264. message_type=None, enum_type=None, containing_type=None,
  265. is_extension=False, extension_scope=None,
  266. serialized_options=None, file=DESCRIPTOR),
  267. _descriptor.FieldDescriptor(
  268. name='mask_head_config', full_name='object_detection.protos.Ssd.mask_head_config', index=20,
  269. number=25, type=11, cpp_type=10, label=1,
  270. has_default_value=False, default_value=None,
  271. message_type=None, enum_type=None, containing_type=None,
  272. is_extension=False, extension_scope=None,
  273. serialized_options=None, file=DESCRIPTOR),
  274. ],
  275. extensions=[
  276. ],
  277. nested_types=[_SSD_MASKHEAD, ],
  278. enum_types=[
  279. ],
  280. serialized_options=None,
  281. is_extendable=False,
  282. syntax='proto2',
  283. extension_ranges=[],
  284. oneofs=[
  285. ],
  286. serialized_start=469,
  287. serialized_end=1916,
  288. )
  289. _SSDFEATUREEXTRACTOR = _descriptor.Descriptor(
  290. name='SsdFeatureExtractor',
  291. full_name='object_detection.protos.SsdFeatureExtractor',
  292. filename=None,
  293. file=DESCRIPTOR,
  294. containing_type=None,
  295. fields=[
  296. _descriptor.FieldDescriptor(
  297. name='type', full_name='object_detection.protos.SsdFeatureExtractor.type', index=0,
  298. number=1, type=9, cpp_type=9, label=1,
  299. has_default_value=False, default_value=_b("").decode('utf-8'),
  300. message_type=None, enum_type=None, containing_type=None,
  301. is_extension=False, extension_scope=None,
  302. serialized_options=None, file=DESCRIPTOR),
  303. _descriptor.FieldDescriptor(
  304. name='depth_multiplier', full_name='object_detection.protos.SsdFeatureExtractor.depth_multiplier', index=1,
  305. number=2, type=2, cpp_type=6, label=1,
  306. has_default_value=True, default_value=float(1),
  307. message_type=None, enum_type=None, containing_type=None,
  308. is_extension=False, extension_scope=None,
  309. serialized_options=None, file=DESCRIPTOR),
  310. _descriptor.FieldDescriptor(
  311. name='min_depth', full_name='object_detection.protos.SsdFeatureExtractor.min_depth', index=2,
  312. number=3, type=5, cpp_type=1, label=1,
  313. has_default_value=True, default_value=16,
  314. message_type=None, enum_type=None, containing_type=None,
  315. is_extension=False, extension_scope=None,
  316. serialized_options=None, file=DESCRIPTOR),
  317. _descriptor.FieldDescriptor(
  318. name='conv_hyperparams', full_name='object_detection.protos.SsdFeatureExtractor.conv_hyperparams', index=3,
  319. number=4, type=11, cpp_type=10, label=1,
  320. has_default_value=False, default_value=None,
  321. message_type=None, enum_type=None, containing_type=None,
  322. is_extension=False, extension_scope=None,
  323. serialized_options=None, file=DESCRIPTOR),
  324. _descriptor.FieldDescriptor(
  325. name='override_base_feature_extractor_hyperparams', full_name='object_detection.protos.SsdFeatureExtractor.override_base_feature_extractor_hyperparams', index=4,
  326. number=9, type=8, cpp_type=7, label=1,
  327. has_default_value=True, default_value=False,
  328. message_type=None, enum_type=None, containing_type=None,
  329. is_extension=False, extension_scope=None,
  330. serialized_options=None, file=DESCRIPTOR),
  331. _descriptor.FieldDescriptor(
  332. name='pad_to_multiple', full_name='object_detection.protos.SsdFeatureExtractor.pad_to_multiple', index=5,
  333. number=5, type=5, cpp_type=1, label=1,
  334. has_default_value=True, default_value=1,
  335. message_type=None, enum_type=None, containing_type=None,
  336. is_extension=False, extension_scope=None,
  337. serialized_options=None, file=DESCRIPTOR),
  338. _descriptor.FieldDescriptor(
  339. name='use_explicit_padding', full_name='object_detection.protos.SsdFeatureExtractor.use_explicit_padding', index=6,
  340. number=7, type=8, cpp_type=7, label=1,
  341. has_default_value=True, default_value=False,
  342. message_type=None, enum_type=None, containing_type=None,
  343. is_extension=False, extension_scope=None,
  344. serialized_options=None, file=DESCRIPTOR),
  345. _descriptor.FieldDescriptor(
  346. name='use_depthwise', full_name='object_detection.protos.SsdFeatureExtractor.use_depthwise', index=7,
  347. number=8, type=8, cpp_type=7, label=1,
  348. has_default_value=True, default_value=False,
  349. message_type=None, enum_type=None, containing_type=None,
  350. is_extension=False, extension_scope=None,
  351. serialized_options=None, file=DESCRIPTOR),
  352. _descriptor.FieldDescriptor(
  353. name='fpn', full_name='object_detection.protos.SsdFeatureExtractor.fpn', index=8,
  354. number=10, type=11, cpp_type=10, label=1,
  355. has_default_value=False, default_value=None,
  356. message_type=None, enum_type=None, containing_type=None,
  357. is_extension=False, extension_scope=None,
  358. serialized_options=None, file=DESCRIPTOR),
  359. _descriptor.FieldDescriptor(
  360. name='replace_preprocessor_with_placeholder', full_name='object_detection.protos.SsdFeatureExtractor.replace_preprocessor_with_placeholder', index=9,
  361. number=11, type=8, cpp_type=7, label=1,
  362. has_default_value=True, default_value=False,
  363. message_type=None, enum_type=None, containing_type=None,
  364. is_extension=False, extension_scope=None,
  365. serialized_options=None, file=DESCRIPTOR),
  366. ],
  367. extensions=[
  368. ],
  369. nested_types=[],
  370. enum_types=[
  371. ],
  372. serialized_options=None,
  373. is_extendable=False,
  374. syntax='proto2',
  375. extension_ranges=[],
  376. oneofs=[
  377. ],
  378. serialized_start=1919,
  379. serialized_end=2347,
  380. )
  381. _FEATUREPYRAMIDNETWORKS = _descriptor.Descriptor(
  382. name='FeaturePyramidNetworks',
  383. full_name='object_detection.protos.FeaturePyramidNetworks',
  384. filename=None,
  385. file=DESCRIPTOR,
  386. containing_type=None,
  387. fields=[
  388. _descriptor.FieldDescriptor(
  389. name='min_level', full_name='object_detection.protos.FeaturePyramidNetworks.min_level', index=0,
  390. number=1, type=5, cpp_type=1, label=1,
  391. has_default_value=True, default_value=3,
  392. message_type=None, enum_type=None, containing_type=None,
  393. is_extension=False, extension_scope=None,
  394. serialized_options=None, file=DESCRIPTOR),
  395. _descriptor.FieldDescriptor(
  396. name='max_level', full_name='object_detection.protos.FeaturePyramidNetworks.max_level', index=1,
  397. number=2, type=5, cpp_type=1, label=1,
  398. has_default_value=True, default_value=7,
  399. message_type=None, enum_type=None, containing_type=None,
  400. is_extension=False, extension_scope=None,
  401. serialized_options=None, file=DESCRIPTOR),
  402. _descriptor.FieldDescriptor(
  403. name='additional_layer_depth', full_name='object_detection.protos.FeaturePyramidNetworks.additional_layer_depth', index=2,
  404. number=3, type=5, cpp_type=1, label=1,
  405. has_default_value=True, default_value=256,
  406. message_type=None, enum_type=None, containing_type=None,
  407. is_extension=False, extension_scope=None,
  408. serialized_options=None, file=DESCRIPTOR),
  409. ],
  410. extensions=[
  411. ],
  412. nested_types=[],
  413. enum_types=[
  414. ],
  415. serialized_options=None,
  416. is_extendable=False,
  417. syntax='proto2',
  418. extension_ranges=[],
  419. oneofs=[
  420. ],
  421. serialized_start=2349,
  422. serialized_end=2454,
  423. )
  424. _SSD_MASKHEAD.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  425. _SSD_MASKHEAD.containing_type = _SSD
  426. _SSD.fields_by_name['image_resizer'].message_type = object__detection_dot_protos_dot_image__resizer__pb2._IMAGERESIZER
  427. _SSD.fields_by_name['feature_extractor'].message_type = _SSDFEATUREEXTRACTOR
  428. _SSD.fields_by_name['box_coder'].message_type = object__detection_dot_protos_dot_box__coder__pb2._BOXCODER
  429. _SSD.fields_by_name['matcher'].message_type = object__detection_dot_protos_dot_matcher__pb2._MATCHER
  430. _SSD.fields_by_name['similarity_calculator'].message_type = object__detection_dot_protos_dot_region__similarity__calculator__pb2._REGIONSIMILARITYCALCULATOR
  431. _SSD.fields_by_name['box_predictor'].message_type = object__detection_dot_protos_dot_box__predictor__pb2._BOXPREDICTOR
  432. _SSD.fields_by_name['anchor_generator'].message_type = object__detection_dot_protos_dot_anchor__generator__pb2._ANCHORGENERATOR
  433. _SSD.fields_by_name['post_processing'].message_type = object__detection_dot_protos_dot_post__processing__pb2._POSTPROCESSING
  434. _SSD.fields_by_name['loss'].message_type = object__detection_dot_protos_dot_losses__pb2._LOSS
  435. _SSD.fields_by_name['mask_head_config'].message_type = _SSD_MASKHEAD
  436. _SSDFEATUREEXTRACTOR.fields_by_name['conv_hyperparams'].message_type = object__detection_dot_protos_dot_hyperparams__pb2._HYPERPARAMS
  437. _SSDFEATUREEXTRACTOR.fields_by_name['fpn'].message_type = _FEATUREPYRAMIDNETWORKS
  438. DESCRIPTOR.message_types_by_name['Ssd'] = _SSD
  439. DESCRIPTOR.message_types_by_name['SsdFeatureExtractor'] = _SSDFEATUREEXTRACTOR
  440. DESCRIPTOR.message_types_by_name['FeaturePyramidNetworks'] = _FEATUREPYRAMIDNETWORKS
  441. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  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)