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.

218 lines
12 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/eval.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. DESCRIPTOR = _descriptor.FileDescriptor(
  12. name='object_detection/protos/eval.proto',
  13. package='object_detection.protos',
  14. syntax='proto2',
  15. serialized_options=None,
  16. serialized_pb=_b('\n\"object_detection/protos/eval.proto\x12\x17object_detection.protos\"\xf7\x05\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')
  17. )
  18. _EVALCONFIG = _descriptor.Descriptor(
  19. name='EvalConfig',
  20. full_name='object_detection.protos.EvalConfig',
  21. filename=None,
  22. file=DESCRIPTOR,
  23. containing_type=None,
  24. fields=[
  25. _descriptor.FieldDescriptor(
  26. name='batch_size', full_name='object_detection.protos.EvalConfig.batch_size', index=0,
  27. number=25, type=13, cpp_type=3, label=1,
  28. has_default_value=True, default_value=1,
  29. message_type=None, enum_type=None, containing_type=None,
  30. is_extension=False, extension_scope=None,
  31. serialized_options=None, file=DESCRIPTOR),
  32. _descriptor.FieldDescriptor(
  33. name='num_visualizations', full_name='object_detection.protos.EvalConfig.num_visualizations', index=1,
  34. number=1, type=13, cpp_type=3, label=1,
  35. has_default_value=True, default_value=10,
  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_examples', full_name='object_detection.protos.EvalConfig.num_examples', index=2,
  41. number=2, type=13, cpp_type=3, label=1,
  42. has_default_value=True, default_value=5000,
  43. message_type=None, enum_type=None, containing_type=None,
  44. is_extension=False, extension_scope=None,
  45. serialized_options=_b('\030\001'), file=DESCRIPTOR),
  46. _descriptor.FieldDescriptor(
  47. name='eval_interval_secs', full_name='object_detection.protos.EvalConfig.eval_interval_secs', index=3,
  48. number=3, type=13, cpp_type=3, label=1,
  49. has_default_value=True, default_value=300,
  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='max_evals', full_name='object_detection.protos.EvalConfig.max_evals', index=4,
  55. number=4, type=13, cpp_type=3, label=1,
  56. has_default_value=True, default_value=0,
  57. message_type=None, enum_type=None, containing_type=None,
  58. is_extension=False, extension_scope=None,
  59. serialized_options=_b('\030\001'), file=DESCRIPTOR),
  60. _descriptor.FieldDescriptor(
  61. name='save_graph', full_name='object_detection.protos.EvalConfig.save_graph', index=5,
  62. number=5, type=8, cpp_type=7, label=1,
  63. has_default_value=True, default_value=False,
  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='visualization_export_dir', full_name='object_detection.protos.EvalConfig.visualization_export_dir', index=6,
  69. number=6, type=9, cpp_type=9, label=1,
  70. has_default_value=True, default_value=_b("").decode('utf-8'),
  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='eval_master', full_name='object_detection.protos.EvalConfig.eval_master', index=7,
  76. number=7, type=9, cpp_type=9, label=1,
  77. has_default_value=True, default_value=_b("").decode('utf-8'),
  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='metrics_set', full_name='object_detection.protos.EvalConfig.metrics_set', index=8,
  83. number=8, type=9, cpp_type=9, label=3,
  84. has_default_value=False, default_value=[],
  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='export_path', full_name='object_detection.protos.EvalConfig.export_path', index=9,
  90. number=9, type=9, cpp_type=9, label=1,
  91. has_default_value=True, default_value=_b("").decode('utf-8'),
  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='ignore_groundtruth', full_name='object_detection.protos.EvalConfig.ignore_groundtruth', index=10,
  97. number=10, type=8, cpp_type=7, label=1,
  98. has_default_value=True, default_value=False,
  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='use_moving_averages', full_name='object_detection.protos.EvalConfig.use_moving_averages', index=11,
  104. number=11, type=8, cpp_type=7, label=1,
  105. has_default_value=True, default_value=False,
  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='eval_instance_masks', full_name='object_detection.protos.EvalConfig.eval_instance_masks', index=12,
  111. number=12, type=8, cpp_type=7, label=1,
  112. has_default_value=True, default_value=False,
  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='min_score_threshold', full_name='object_detection.protos.EvalConfig.min_score_threshold', index=13,
  118. number=13, type=2, cpp_type=6, label=1,
  119. has_default_value=True, default_value=float(0.5),
  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='max_num_boxes_to_visualize', full_name='object_detection.protos.EvalConfig.max_num_boxes_to_visualize', index=14,
  125. number=14, type=5, cpp_type=1, label=1,
  126. has_default_value=True, default_value=20,
  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='skip_scores', full_name='object_detection.protos.EvalConfig.skip_scores', index=15,
  132. number=15, type=8, cpp_type=7, label=1,
  133. has_default_value=True, default_value=False,
  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='skip_labels', full_name='object_detection.protos.EvalConfig.skip_labels', index=16,
  139. number=16, type=8, cpp_type=7, label=1,
  140. has_default_value=True, default_value=False,
  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='visualize_groundtruth_boxes', full_name='object_detection.protos.EvalConfig.visualize_groundtruth_boxes', index=17,
  146. number=17, type=8, cpp_type=7, label=1,
  147. has_default_value=True, default_value=False,
  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='groundtruth_box_visualization_color', full_name='object_detection.protos.EvalConfig.groundtruth_box_visualization_color', index=18,
  153. number=18, type=9, cpp_type=9, label=1,
  154. has_default_value=True, default_value=_b("black").decode('utf-8'),
  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='keep_image_id_for_visualization_export', full_name='object_detection.protos.EvalConfig.keep_image_id_for_visualization_export', index=19,
  160. number=19, type=8, cpp_type=7, label=1,
  161. has_default_value=True, default_value=False,
  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='retain_original_images', full_name='object_detection.protos.EvalConfig.retain_original_images', index=20,
  167. number=23, type=8, cpp_type=7, label=1,
  168. has_default_value=True, default_value=True,
  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='include_metrics_per_category', full_name='object_detection.protos.EvalConfig.include_metrics_per_category', index=21,
  174. number=24, type=8, cpp_type=7, label=1,
  175. has_default_value=True, default_value=False,
  176. message_type=None, enum_type=None, containing_type=None,
  177. is_extension=False, extension_scope=None,
  178. serialized_options=None, file=DESCRIPTOR),
  179. ],
  180. extensions=[
  181. ],
  182. nested_types=[],
  183. enum_types=[
  184. ],
  185. serialized_options=None,
  186. is_extendable=False,
  187. syntax='proto2',
  188. extension_ranges=[],
  189. oneofs=[
  190. ],
  191. serialized_start=64,
  192. serialized_end=823,
  193. )
  194. DESCRIPTOR.message_types_by_name['EvalConfig'] = _EVALCONFIG
  195. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  196. EvalConfig = _reflection.GeneratedProtocolMessageType('EvalConfig', (_message.Message,), dict(
  197. DESCRIPTOR = _EVALCONFIG,
  198. __module__ = 'object_detection.protos.eval_pb2'
  199. # @@protoc_insertion_point(class_scope:object_detection.protos.EvalConfig)
  200. ))
  201. _sym_db.RegisterMessage(EvalConfig)
  202. _EVALCONFIG.fields_by_name['num_examples']._options = None
  203. _EVALCONFIG.fields_by_name['max_evals']._options = None
  204. # @@protoc_insertion_point(module_scope)