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.

349 lines
17 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/input_reader.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.internal import enum_type_wrapper
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import message as _message
  8. from google.protobuf import reflection as _reflection
  9. from google.protobuf import symbol_database as _symbol_database
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='object_detection/protos/input_reader.proto',
  14. package='object_detection.protos',
  15. syntax='proto2',
  16. serialized_options=None,
  17. serialized_pb=_b('\n*object_detection/protos/input_reader.proto\x12\x17object_detection.protos\"\xaa\x07\n\x0bInputReader\x12\x0e\n\x04name\x18\x17 \x01(\t:\x00\x12\x18\n\x0elabel_map_path\x18\x01 \x01(\t:\x00\x12\x15\n\x07shuffle\x18\x02 \x01(\x08:\x04true\x12!\n\x13shuffle_buffer_size\x18\x0b \x01(\r:\x04\x32\x30\x34\x38\x12*\n\x1d\x66ilenames_shuffle_buffer_size\x18\x0c \x01(\r:\x03\x31\x30\x30\x12\x15\n\nnum_epochs\x18\x05 \x01(\r:\x01\x30\x12!\n\x16sample_1_of_n_examples\x18\x16 \x01(\r:\x01\x31\x12\x17\n\x0bnum_readers\x18\x06 \x01(\r:\x02\x36\x34\x12\x1f\n\x14num_parallel_batches\x18\x13 \x01(\r:\x01\x38\x12\x1f\n\x14num_prefetch_batches\x18\x14 \x01(\x05:\x01\x32\x12 \n\x0equeue_capacity\x18\x03 \x01(\r:\x04\x32\x30\x30\x30\x42\x02\x18\x01\x12#\n\x11min_after_dequeue\x18\x04 \x01(\r:\x04\x31\x30\x30\x30\x42\x02\x18\x01\x12\x1d\n\x11read_block_length\x18\x0f \x01(\r:\x02\x33\x32\x12\x1e\n\rprefetch_size\x18\r \x01(\r:\x03\x35\x31\x32\x42\x02\x18\x01\x12&\n\x16num_parallel_map_calls\x18\x0e \x01(\r:\x02\x36\x34\x42\x02\x18\x01\x12\"\n\x17num_additional_channels\x18\x12 \x01(\x05:\x01\x30\x12\x18\n\rnum_keypoints\x18\x10 \x01(\r:\x01\x30\x12 \n\x13max_number_of_boxes\x18\x15 \x01(\x05:\x03\x31\x30\x30\x12%\n\x16load_multiclass_scores\x18\x18 \x01(\x08:\x05\x66\x61lse\x12\"\n\x13load_instance_masks\x18\x07 \x01(\x08:\x05\x66\x61lse\x12M\n\tmask_type\x18\n \x01(\x0e\x32).object_detection.protos.InstanceMaskType:\x0fNUMERICAL_MASKS\x12\x1f\n\x10use_display_name\x18\x11 \x01(\x08:\x05\x66\x61lse\x12N\n\x16tf_record_input_reader\x18\x08 \x01(\x0b\x32,.object_detection.protos.TFRecordInputReaderH\x00\x12M\n\x15\x65xternal_input_reader\x18\t \x01(\x0b\x32,.object_detection.protos.ExternalInputReaderH\x00\x42\x0e\n\x0cinput_reader\")\n\x13TFRecordInputReader\x12\x12\n\ninput_path\x18\x01 \x03(\t\"\x1c\n\x13\x45xternalInputReader*\x05\x08\x01\x10\xe8\x07*C\n\x10InstanceMaskType\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x13\n\x0fNUMERICAL_MASKS\x10\x01\x12\r\n\tPNG_MASKS\x10\x02')
  18. )
  19. _INSTANCEMASKTYPE = _descriptor.EnumDescriptor(
  20. name='InstanceMaskType',
  21. full_name='object_detection.protos.InstanceMaskType',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. values=[
  25. _descriptor.EnumValueDescriptor(
  26. name='DEFAULT', index=0, number=0,
  27. serialized_options=None,
  28. type=None),
  29. _descriptor.EnumValueDescriptor(
  30. name='NUMERICAL_MASKS', index=1, number=1,
  31. serialized_options=None,
  32. type=None),
  33. _descriptor.EnumValueDescriptor(
  34. name='PNG_MASKS', index=2, number=2,
  35. serialized_options=None,
  36. type=None),
  37. ],
  38. containing_type=None,
  39. serialized_options=None,
  40. serialized_start=1085,
  41. serialized_end=1152,
  42. )
  43. _sym_db.RegisterEnumDescriptor(_INSTANCEMASKTYPE)
  44. InstanceMaskType = enum_type_wrapper.EnumTypeWrapper(_INSTANCEMASKTYPE)
  45. DEFAULT = 0
  46. NUMERICAL_MASKS = 1
  47. PNG_MASKS = 2
  48. _INPUTREADER = _descriptor.Descriptor(
  49. name='InputReader',
  50. full_name='object_detection.protos.InputReader',
  51. filename=None,
  52. file=DESCRIPTOR,
  53. containing_type=None,
  54. fields=[
  55. _descriptor.FieldDescriptor(
  56. name='name', full_name='object_detection.protos.InputReader.name', index=0,
  57. number=23, type=9, cpp_type=9, label=1,
  58. has_default_value=True, default_value=_b("").decode('utf-8'),
  59. message_type=None, enum_type=None, containing_type=None,
  60. is_extension=False, extension_scope=None,
  61. serialized_options=None, file=DESCRIPTOR),
  62. _descriptor.FieldDescriptor(
  63. name='label_map_path', full_name='object_detection.protos.InputReader.label_map_path', index=1,
  64. number=1, type=9, cpp_type=9, label=1,
  65. has_default_value=True, default_value=_b("").decode('utf-8'),
  66. message_type=None, enum_type=None, containing_type=None,
  67. is_extension=False, extension_scope=None,
  68. serialized_options=None, file=DESCRIPTOR),
  69. _descriptor.FieldDescriptor(
  70. name='shuffle', full_name='object_detection.protos.InputReader.shuffle', index=2,
  71. number=2, type=8, cpp_type=7, label=1,
  72. has_default_value=True, default_value=True,
  73. message_type=None, enum_type=None, containing_type=None,
  74. is_extension=False, extension_scope=None,
  75. serialized_options=None, file=DESCRIPTOR),
  76. _descriptor.FieldDescriptor(
  77. name='shuffle_buffer_size', full_name='object_detection.protos.InputReader.shuffle_buffer_size', index=3,
  78. number=11, type=13, cpp_type=3, label=1,
  79. has_default_value=True, default_value=2048,
  80. message_type=None, enum_type=None, containing_type=None,
  81. is_extension=False, extension_scope=None,
  82. serialized_options=None, file=DESCRIPTOR),
  83. _descriptor.FieldDescriptor(
  84. name='filenames_shuffle_buffer_size', full_name='object_detection.protos.InputReader.filenames_shuffle_buffer_size', index=4,
  85. number=12, type=13, cpp_type=3, label=1,
  86. has_default_value=True, default_value=100,
  87. message_type=None, enum_type=None, containing_type=None,
  88. is_extension=False, extension_scope=None,
  89. serialized_options=None, file=DESCRIPTOR),
  90. _descriptor.FieldDescriptor(
  91. name='num_epochs', full_name='object_detection.protos.InputReader.num_epochs', index=5,
  92. number=5, type=13, cpp_type=3, label=1,
  93. has_default_value=True, default_value=0,
  94. message_type=None, enum_type=None, containing_type=None,
  95. is_extension=False, extension_scope=None,
  96. serialized_options=None, file=DESCRIPTOR),
  97. _descriptor.FieldDescriptor(
  98. name='sample_1_of_n_examples', full_name='object_detection.protos.InputReader.sample_1_of_n_examples', index=6,
  99. number=22, type=13, cpp_type=3, label=1,
  100. has_default_value=True, default_value=1,
  101. message_type=None, enum_type=None, containing_type=None,
  102. is_extension=False, extension_scope=None,
  103. serialized_options=None, file=DESCRIPTOR),
  104. _descriptor.FieldDescriptor(
  105. name='num_readers', full_name='object_detection.protos.InputReader.num_readers', index=7,
  106. number=6, type=13, cpp_type=3, label=1,
  107. has_default_value=True, default_value=64,
  108. message_type=None, enum_type=None, containing_type=None,
  109. is_extension=False, extension_scope=None,
  110. serialized_options=None, file=DESCRIPTOR),
  111. _descriptor.FieldDescriptor(
  112. name='num_parallel_batches', full_name='object_detection.protos.InputReader.num_parallel_batches', index=8,
  113. number=19, type=13, cpp_type=3, label=1,
  114. has_default_value=True, default_value=8,
  115. message_type=None, enum_type=None, containing_type=None,
  116. is_extension=False, extension_scope=None,
  117. serialized_options=None, file=DESCRIPTOR),
  118. _descriptor.FieldDescriptor(
  119. name='num_prefetch_batches', full_name='object_detection.protos.InputReader.num_prefetch_batches', index=9,
  120. number=20, type=5, cpp_type=1, label=1,
  121. has_default_value=True, default_value=2,
  122. message_type=None, enum_type=None, containing_type=None,
  123. is_extension=False, extension_scope=None,
  124. serialized_options=None, file=DESCRIPTOR),
  125. _descriptor.FieldDescriptor(
  126. name='queue_capacity', full_name='object_detection.protos.InputReader.queue_capacity', index=10,
  127. number=3, type=13, cpp_type=3, label=1,
  128. has_default_value=True, default_value=2000,
  129. message_type=None, enum_type=None, containing_type=None,
  130. is_extension=False, extension_scope=None,
  131. serialized_options=_b('\030\001'), file=DESCRIPTOR),
  132. _descriptor.FieldDescriptor(
  133. name='min_after_dequeue', full_name='object_detection.protos.InputReader.min_after_dequeue', index=11,
  134. number=4, type=13, cpp_type=3, label=1,
  135. has_default_value=True, default_value=1000,
  136. message_type=None, enum_type=None, containing_type=None,
  137. is_extension=False, extension_scope=None,
  138. serialized_options=_b('\030\001'), file=DESCRIPTOR),
  139. _descriptor.FieldDescriptor(
  140. name='read_block_length', full_name='object_detection.protos.InputReader.read_block_length', index=12,
  141. number=15, type=13, cpp_type=3, label=1,
  142. has_default_value=True, default_value=32,
  143. message_type=None, enum_type=None, containing_type=None,
  144. is_extension=False, extension_scope=None,
  145. serialized_options=None, file=DESCRIPTOR),
  146. _descriptor.FieldDescriptor(
  147. name='prefetch_size', full_name='object_detection.protos.InputReader.prefetch_size', index=13,
  148. number=13, type=13, cpp_type=3, label=1,
  149. has_default_value=True, default_value=512,
  150. message_type=None, enum_type=None, containing_type=None,
  151. is_extension=False, extension_scope=None,
  152. serialized_options=_b('\030\001'), file=DESCRIPTOR),
  153. _descriptor.FieldDescriptor(
  154. name='num_parallel_map_calls', full_name='object_detection.protos.InputReader.num_parallel_map_calls', index=14,
  155. number=14, type=13, cpp_type=3, label=1,
  156. has_default_value=True, default_value=64,
  157. message_type=None, enum_type=None, containing_type=None,
  158. is_extension=False, extension_scope=None,
  159. serialized_options=_b('\030\001'), file=DESCRIPTOR),
  160. _descriptor.FieldDescriptor(
  161. name='num_additional_channels', full_name='object_detection.protos.InputReader.num_additional_channels', index=15,
  162. number=18, type=5, cpp_type=1, label=1,
  163. has_default_value=True, default_value=0,
  164. message_type=None, enum_type=None, containing_type=None,
  165. is_extension=False, extension_scope=None,
  166. serialized_options=None, file=DESCRIPTOR),
  167. _descriptor.FieldDescriptor(
  168. name='num_keypoints', full_name='object_detection.protos.InputReader.num_keypoints', index=16,
  169. number=16, type=13, cpp_type=3, label=1,
  170. has_default_value=True, default_value=0,
  171. message_type=None, enum_type=None, containing_type=None,
  172. is_extension=False, extension_scope=None,
  173. serialized_options=None, file=DESCRIPTOR),
  174. _descriptor.FieldDescriptor(
  175. name='max_number_of_boxes', full_name='object_detection.protos.InputReader.max_number_of_boxes', index=17,
  176. number=21, type=5, cpp_type=1, label=1,
  177. has_default_value=True, default_value=100,
  178. message_type=None, enum_type=None, containing_type=None,
  179. is_extension=False, extension_scope=None,
  180. serialized_options=None, file=DESCRIPTOR),
  181. _descriptor.FieldDescriptor(
  182. name='load_multiclass_scores', full_name='object_detection.protos.InputReader.load_multiclass_scores', index=18,
  183. number=24, type=8, cpp_type=7, label=1,
  184. has_default_value=True, default_value=False,
  185. message_type=None, enum_type=None, containing_type=None,
  186. is_extension=False, extension_scope=None,
  187. serialized_options=None, file=DESCRIPTOR),
  188. _descriptor.FieldDescriptor(
  189. name='load_instance_masks', full_name='object_detection.protos.InputReader.load_instance_masks', index=19,
  190. number=7, type=8, cpp_type=7, label=1,
  191. has_default_value=True, default_value=False,
  192. message_type=None, enum_type=None, containing_type=None,
  193. is_extension=False, extension_scope=None,
  194. serialized_options=None, file=DESCRIPTOR),
  195. _descriptor.FieldDescriptor(
  196. name='mask_type', full_name='object_detection.protos.InputReader.mask_type', index=20,
  197. number=10, type=14, cpp_type=8, label=1,
  198. has_default_value=True, default_value=1,
  199. message_type=None, enum_type=None, containing_type=None,
  200. is_extension=False, extension_scope=None,
  201. serialized_options=None, file=DESCRIPTOR),
  202. _descriptor.FieldDescriptor(
  203. name='use_display_name', full_name='object_detection.protos.InputReader.use_display_name', index=21,
  204. number=17, type=8, cpp_type=7, label=1,
  205. has_default_value=True, default_value=False,
  206. message_type=None, enum_type=None, containing_type=None,
  207. is_extension=False, extension_scope=None,
  208. serialized_options=None, file=DESCRIPTOR),
  209. _descriptor.FieldDescriptor(
  210. name='tf_record_input_reader', full_name='object_detection.protos.InputReader.tf_record_input_reader', index=22,
  211. number=8, type=11, cpp_type=10, label=1,
  212. has_default_value=False, default_value=None,
  213. message_type=None, enum_type=None, containing_type=None,
  214. is_extension=False, extension_scope=None,
  215. serialized_options=None, file=DESCRIPTOR),
  216. _descriptor.FieldDescriptor(
  217. name='external_input_reader', full_name='object_detection.protos.InputReader.external_input_reader', index=23,
  218. number=9, type=11, cpp_type=10, label=1,
  219. has_default_value=False, default_value=None,
  220. message_type=None, enum_type=None, containing_type=None,
  221. is_extension=False, extension_scope=None,
  222. serialized_options=None, file=DESCRIPTOR),
  223. ],
  224. extensions=[
  225. ],
  226. nested_types=[],
  227. enum_types=[
  228. ],
  229. serialized_options=None,
  230. is_extendable=False,
  231. syntax='proto2',
  232. extension_ranges=[],
  233. oneofs=[
  234. _descriptor.OneofDescriptor(
  235. name='input_reader', full_name='object_detection.protos.InputReader.input_reader',
  236. index=0, containing_type=None, fields=[]),
  237. ],
  238. serialized_start=72,
  239. serialized_end=1010,
  240. )
  241. _TFRECORDINPUTREADER = _descriptor.Descriptor(
  242. name='TFRecordInputReader',
  243. full_name='object_detection.protos.TFRecordInputReader',
  244. filename=None,
  245. file=DESCRIPTOR,
  246. containing_type=None,
  247. fields=[
  248. _descriptor.FieldDescriptor(
  249. name='input_path', full_name='object_detection.protos.TFRecordInputReader.input_path', index=0,
  250. number=1, type=9, cpp_type=9, label=3,
  251. has_default_value=False, default_value=[],
  252. message_type=None, enum_type=None, containing_type=None,
  253. is_extension=False, extension_scope=None,
  254. serialized_options=None, file=DESCRIPTOR),
  255. ],
  256. extensions=[
  257. ],
  258. nested_types=[],
  259. enum_types=[
  260. ],
  261. serialized_options=None,
  262. is_extendable=False,
  263. syntax='proto2',
  264. extension_ranges=[],
  265. oneofs=[
  266. ],
  267. serialized_start=1012,
  268. serialized_end=1053,
  269. )
  270. _EXTERNALINPUTREADER = _descriptor.Descriptor(
  271. name='ExternalInputReader',
  272. full_name='object_detection.protos.ExternalInputReader',
  273. filename=None,
  274. file=DESCRIPTOR,
  275. containing_type=None,
  276. fields=[
  277. ],
  278. extensions=[
  279. ],
  280. nested_types=[],
  281. enum_types=[
  282. ],
  283. serialized_options=None,
  284. is_extendable=True,
  285. syntax='proto2',
  286. extension_ranges=[(1, 1000), ],
  287. oneofs=[
  288. ],
  289. serialized_start=1055,
  290. serialized_end=1083,
  291. )
  292. _INPUTREADER.fields_by_name['mask_type'].enum_type = _INSTANCEMASKTYPE
  293. _INPUTREADER.fields_by_name['tf_record_input_reader'].message_type = _TFRECORDINPUTREADER
  294. _INPUTREADER.fields_by_name['external_input_reader'].message_type = _EXTERNALINPUTREADER
  295. _INPUTREADER.oneofs_by_name['input_reader'].fields.append(
  296. _INPUTREADER.fields_by_name['tf_record_input_reader'])
  297. _INPUTREADER.fields_by_name['tf_record_input_reader'].containing_oneof = _INPUTREADER.oneofs_by_name['input_reader']
  298. _INPUTREADER.oneofs_by_name['input_reader'].fields.append(
  299. _INPUTREADER.fields_by_name['external_input_reader'])
  300. _INPUTREADER.fields_by_name['external_input_reader'].containing_oneof = _INPUTREADER.oneofs_by_name['input_reader']
  301. DESCRIPTOR.message_types_by_name['InputReader'] = _INPUTREADER
  302. DESCRIPTOR.message_types_by_name['TFRecordInputReader'] = _TFRECORDINPUTREADER
  303. DESCRIPTOR.message_types_by_name['ExternalInputReader'] = _EXTERNALINPUTREADER
  304. DESCRIPTOR.enum_types_by_name['InstanceMaskType'] = _INSTANCEMASKTYPE
  305. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  306. InputReader = _reflection.GeneratedProtocolMessageType('InputReader', (_message.Message,), dict(
  307. DESCRIPTOR = _INPUTREADER,
  308. __module__ = 'object_detection.protos.input_reader_pb2'
  309. # @@protoc_insertion_point(class_scope:object_detection.protos.InputReader)
  310. ))
  311. _sym_db.RegisterMessage(InputReader)
  312. TFRecordInputReader = _reflection.GeneratedProtocolMessageType('TFRecordInputReader', (_message.Message,), dict(
  313. DESCRIPTOR = _TFRECORDINPUTREADER,
  314. __module__ = 'object_detection.protos.input_reader_pb2'
  315. # @@protoc_insertion_point(class_scope:object_detection.protos.TFRecordInputReader)
  316. ))
  317. _sym_db.RegisterMessage(TFRecordInputReader)
  318. ExternalInputReader = _reflection.GeneratedProtocolMessageType('ExternalInputReader', (_message.Message,), dict(
  319. DESCRIPTOR = _EXTERNALINPUTREADER,
  320. __module__ = 'object_detection.protos.input_reader_pb2'
  321. # @@protoc_insertion_point(class_scope:object_detection.protos.ExternalInputReader)
  322. ))
  323. _sym_db.RegisterMessage(ExternalInputReader)
  324. _INPUTREADER.fields_by_name['queue_capacity']._options = None
  325. _INPUTREADER.fields_by_name['min_after_dequeue']._options = None
  326. _INPUTREADER.fields_by_name['prefetch_size']._options = None
  327. _INPUTREADER.fields_by_name['num_parallel_map_calls']._options = None
  328. # @@protoc_insertion_point(module_scope)