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.

234 lines
12 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/eval.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. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='object_detection/protos/eval.proto',
  14. package='object_detection.protos',
  15. syntax='proto2',
  16. serialized_pb=_b('\n\"object_detection/protos/eval.proto\x12\x17object_detection.protos\"\xb5\x06\n\nEvalConfig\x12\x15\n\nbatch_size\x18\x19 \x01(\r:\x01\x31\x12\x1e\n\x12num_visualizations\x18\x01 \x01(\r:\x02\x31\x30\x12\x1e\n\x0cnum_examples\x18\x02 \x01(\r:\x04\x35\x30\x30\x30\x42\x02\x18\x01\x12\x1f\n\x12\x65val_interval_secs\x18\x03 \x01(\r:\x03\x33\x30\x30\x12\x18\n\tmax_evals\x18\x04 \x01(\r:\x01\x30\x42\x02\x18\x01\x12\x19\n\nsave_graph\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\"\n\x18visualization_export_dir\x18\x06 \x01(\t:\x00\x12\x15\n\x0b\x65val_master\x18\x07 \x01(\t:\x00\x12\x13\n\x0bmetrics_set\x18\x08 \x03(\t\x12\x15\n\x0b\x65xport_path\x18\t \x01(\t:\x00\x12!\n\x12ignore_groundtruth\x18\n \x01(\x08:\x05\x66\x61lse\x12\"\n\x13use_moving_averages\x18\x0b \x01(\x08:\x05\x66\x61lse\x12\"\n\x13\x65val_instance_masks\x18\x0c \x01(\x08:\x05\x66\x61lse\x12 \n\x13min_score_threshold\x18\r \x01(\x02:\x03\x30.5\x12&\n\x1amax_num_boxes_to_visualize\x18\x0e \x01(\x05:\x02\x32\x30\x12\x1a\n\x0bskip_scores\x18\x0f \x01(\x08:\x05\x66\x61lse\x12\x1a\n\x0bskip_labels\x18\x10 \x01(\x08:\x05\x66\x61lse\x12*\n\x1bvisualize_groundtruth_boxes\x18\x11 \x01(\x08:\x05\x66\x61lse\x12\x32\n#groundtruth_box_visualization_color\x18\x12 \x01(\t:\x05\x62lack\x12\x35\n&keep_image_id_for_visualization_export\x18\x13 \x01(\x08:\x05\x66\x61lse\x12$\n\x16retain_original_images\x18\x17 \x01(\x08:\x04true\x12+\n\x1cinclude_metrics_per_category\x18\x18 \x01(\x08:\x05\x66\x61lse\x12\x1d\n\x12recall_lower_bound\x18\x1a \x01(\x02:\x01\x30\x12\x1d\n\x12recall_upper_bound\x18\x1b \x01(\x02:\x01\x31')
  17. )
  18. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  19. _EVALCONFIG = _descriptor.Descriptor(
  20. name='EvalConfig',
  21. full_name='object_detection.protos.EvalConfig',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. containing_type=None,
  25. fields=[
  26. _descriptor.FieldDescriptor(
  27. name='batch_size', full_name='object_detection.protos.EvalConfig.batch_size', index=0,
  28. number=25, type=13, cpp_type=3, label=1,
  29. has_default_value=True, default_value=1,
  30. message_type=None, enum_type=None, containing_type=None,
  31. is_extension=False, extension_scope=None,
  32. options=None),
  33. _descriptor.FieldDescriptor(
  34. name='num_visualizations', full_name='object_detection.protos.EvalConfig.num_visualizations', index=1,
  35. number=1, type=13, cpp_type=3, label=1,
  36. has_default_value=True, default_value=10,
  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_examples', full_name='object_detection.protos.EvalConfig.num_examples', index=2,
  42. number=2, type=13, cpp_type=3, label=1,
  43. has_default_value=True, default_value=5000,
  44. message_type=None, enum_type=None, containing_type=None,
  45. is_extension=False, extension_scope=None,
  46. options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
  47. _descriptor.FieldDescriptor(
  48. name='eval_interval_secs', full_name='object_detection.protos.EvalConfig.eval_interval_secs', index=3,
  49. number=3, type=13, cpp_type=3, label=1,
  50. has_default_value=True, default_value=300,
  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='max_evals', full_name='object_detection.protos.EvalConfig.max_evals', index=4,
  56. number=4, type=13, cpp_type=3, label=1,
  57. has_default_value=True, default_value=0,
  58. message_type=None, enum_type=None, containing_type=None,
  59. is_extension=False, extension_scope=None,
  60. options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))),
  61. _descriptor.FieldDescriptor(
  62. name='save_graph', full_name='object_detection.protos.EvalConfig.save_graph', index=5,
  63. number=5, type=8, cpp_type=7, label=1,
  64. has_default_value=True, default_value=False,
  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='visualization_export_dir', full_name='object_detection.protos.EvalConfig.visualization_export_dir', index=6,
  70. number=6, type=9, cpp_type=9, label=1,
  71. has_default_value=True, default_value=_b("").decode('utf-8'),
  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='eval_master', full_name='object_detection.protos.EvalConfig.eval_master', index=7,
  77. number=7, type=9, cpp_type=9, label=1,
  78. has_default_value=True, default_value=_b("").decode('utf-8'),
  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='metrics_set', full_name='object_detection.protos.EvalConfig.metrics_set', index=8,
  84. number=8, type=9, cpp_type=9, label=3,
  85. has_default_value=False, default_value=[],
  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='export_path', full_name='object_detection.protos.EvalConfig.export_path', index=9,
  91. number=9, type=9, cpp_type=9, label=1,
  92. has_default_value=True, default_value=_b("").decode('utf-8'),
  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='ignore_groundtruth', full_name='object_detection.protos.EvalConfig.ignore_groundtruth', index=10,
  98. number=10, type=8, cpp_type=7, label=1,
  99. has_default_value=True, default_value=False,
  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='use_moving_averages', full_name='object_detection.protos.EvalConfig.use_moving_averages', index=11,
  105. number=11, type=8, cpp_type=7, label=1,
  106. has_default_value=True, default_value=False,
  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='eval_instance_masks', full_name='object_detection.protos.EvalConfig.eval_instance_masks', index=12,
  112. number=12, type=8, cpp_type=7, label=1,
  113. has_default_value=True, default_value=False,
  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='min_score_threshold', full_name='object_detection.protos.EvalConfig.min_score_threshold', index=13,
  119. number=13, type=2, cpp_type=6, label=1,
  120. has_default_value=True, default_value=float(0.5),
  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='max_num_boxes_to_visualize', full_name='object_detection.protos.EvalConfig.max_num_boxes_to_visualize', index=14,
  126. number=14, type=5, cpp_type=1, label=1,
  127. has_default_value=True, default_value=20,
  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='skip_scores', full_name='object_detection.protos.EvalConfig.skip_scores', index=15,
  133. number=15, type=8, cpp_type=7, label=1,
  134. has_default_value=True, default_value=False,
  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='skip_labels', full_name='object_detection.protos.EvalConfig.skip_labels', index=16,
  140. number=16, type=8, cpp_type=7, label=1,
  141. has_default_value=True, default_value=False,
  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='visualize_groundtruth_boxes', full_name='object_detection.protos.EvalConfig.visualize_groundtruth_boxes', index=17,
  147. number=17, type=8, cpp_type=7, label=1,
  148. has_default_value=True, default_value=False,
  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='groundtruth_box_visualization_color', full_name='object_detection.protos.EvalConfig.groundtruth_box_visualization_color', index=18,
  154. number=18, type=9, cpp_type=9, label=1,
  155. has_default_value=True, default_value=_b("black").decode('utf-8'),
  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='keep_image_id_for_visualization_export', full_name='object_detection.protos.EvalConfig.keep_image_id_for_visualization_export', index=19,
  161. number=19, type=8, cpp_type=7, label=1,
  162. has_default_value=True, default_value=False,
  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='retain_original_images', full_name='object_detection.protos.EvalConfig.retain_original_images', index=20,
  168. number=23, type=8, cpp_type=7, label=1,
  169. has_default_value=True, default_value=True,
  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='include_metrics_per_category', full_name='object_detection.protos.EvalConfig.include_metrics_per_category', index=21,
  175. number=24, type=8, cpp_type=7, label=1,
  176. has_default_value=True, default_value=False,
  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='recall_lower_bound', full_name='object_detection.protos.EvalConfig.recall_lower_bound', index=22,
  182. number=26, type=2, cpp_type=6, label=1,
  183. has_default_value=True, default_value=float(0),
  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='recall_upper_bound', full_name='object_detection.protos.EvalConfig.recall_upper_bound', index=23,
  189. number=27, type=2, cpp_type=6, label=1,
  190. has_default_value=True, default_value=float(1),
  191. message_type=None, enum_type=None, containing_type=None,
  192. is_extension=False, extension_scope=None,
  193. options=None),
  194. ],
  195. extensions=[
  196. ],
  197. nested_types=[],
  198. enum_types=[
  199. ],
  200. options=None,
  201. is_extendable=False,
  202. syntax='proto2',
  203. extension_ranges=[],
  204. oneofs=[
  205. ],
  206. serialized_start=64,
  207. serialized_end=885,
  208. )
  209. DESCRIPTOR.message_types_by_name['EvalConfig'] = _EVALCONFIG
  210. EvalConfig = _reflection.GeneratedProtocolMessageType('EvalConfig', (_message.Message,), dict(
  211. DESCRIPTOR = _EVALCONFIG,
  212. __module__ = 'object_detection.protos.eval_pb2'
  213. # @@protoc_insertion_point(class_scope:object_detection.protos.EvalConfig)
  214. ))
  215. _sym_db.RegisterMessage(EvalConfig)
  216. _EVALCONFIG.fields_by_name['num_examples'].has_options = True
  217. _EVALCONFIG.fields_by_name['num_examples']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
  218. _EVALCONFIG.fields_by_name['max_evals'].has_options = True
  219. _EVALCONFIG.fields_by_name['max_evals']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
  220. # @@protoc_insertion_point(module_scope)