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.

654 lines
26 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/hyperparams.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/hyperparams.proto',
  13. package='object_detection.protos',
  14. syntax='proto2',
  15. serialized_options=None,
  16. serialized_pb=_b('\n)object_detection/protos/hyperparams.proto\x12\x17object_detection.protos\"\xfc\x03\n\x0bHyperparams\x12\x39\n\x02op\x18\x01 \x01(\x0e\x32\'.object_detection.protos.Hyperparams.Op:\x04\x43ONV\x12\x39\n\x0bregularizer\x18\x02 \x01(\x0b\x32$.object_detection.protos.Regularizer\x12\x39\n\x0binitializer\x18\x03 \x01(\x0b\x32$.object_detection.protos.Initializer\x12I\n\nactivation\x18\x04 \x01(\x0e\x32/.object_detection.protos.Hyperparams.Activation:\x04RELU\x12\x38\n\nbatch_norm\x18\x05 \x01(\x0b\x32\".object_detection.protos.BatchNormH\x00\x12\x38\n\ngroup_norm\x18\x07 \x01(\x0b\x32\".object_detection.protos.GroupNormH\x00\x12#\n\x14regularize_depthwise\x18\x06 \x01(\x08:\x05\x66\x61lse\"\x16\n\x02Op\x12\x08\n\x04\x43ONV\x10\x01\x12\x06\n\x02\x46\x43\x10\x02\",\n\nActivation\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04RELU\x10\x01\x12\n\n\x06RELU_6\x10\x02\x42\x12\n\x10normalizer_oneof\"\xa6\x01\n\x0bRegularizer\x12@\n\x0el1_regularizer\x18\x01 \x01(\x0b\x32&.object_detection.protos.L1RegularizerH\x00\x12@\n\x0el2_regularizer\x18\x02 \x01(\x0b\x32&.object_detection.protos.L2RegularizerH\x00\x42\x13\n\x11regularizer_oneof\"\"\n\rL1Regularizer\x12\x11\n\x06weight\x18\x01 \x01(\x02:\x01\x31\"\"\n\rL2Regularizer\x12\x11\n\x06weight\x18\x01 \x01(\x02:\x01\x31\"\xb3\x02\n\x0bInitializer\x12[\n\x1ctruncated_normal_initializer\x18\x01 \x01(\x0b\x32\x33.object_detection.protos.TruncatedNormalInitializerH\x00\x12[\n\x1cvariance_scaling_initializer\x18\x02 \x01(\x0b\x32\x33.object_detection.protos.VarianceScalingInitializerH\x00\x12U\n\x19random_normal_initializer\x18\x03 \x01(\x0b\x32\x30.object_detection.protos.RandomNormalInitializerH\x00\x42\x13\n\x11initializer_oneof\"@\n\x1aTruncatedNormalInitializer\x12\x0f\n\x04mean\x18\x01 \x01(\x02:\x01\x30\x12\x11\n\x06stddev\x18\x02 \x01(\x02:\x01\x31\"\xc5\x01\n\x1aVarianceScalingInitializer\x12\x11\n\x06\x66\x61\x63tor\x18\x01 \x01(\x02:\x01\x32\x12\x16\n\x07uniform\x18\x02 \x01(\x08:\x05\x66\x61lse\x12N\n\x04mode\x18\x03 \x01(\x0e\x32\x38.object_detection.protos.VarianceScalingInitializer.Mode:\x06\x46\x41N_IN\",\n\x04Mode\x12\n\n\x06\x46\x41N_IN\x10\x00\x12\x0b\n\x07\x46\x41N_OUT\x10\x01\x12\x0b\n\x07\x46\x41N_AVG\x10\x02\"=\n\x17RandomNormalInitializer\x12\x0f\n\x04mean\x18\x01 \x01(\x02:\x01\x30\x12\x11\n\x06stddev\x18\x02 \x01(\x02:\x01\x31\"z\n\tBatchNorm\x12\x14\n\x05\x64\x65\x63\x61y\x18\x01 \x01(\x02:\x05\x30.999\x12\x14\n\x06\x63\x65nter\x18\x02 \x01(\x08:\x04true\x12\x14\n\x05scale\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x16\n\x07\x65psilon\x18\x04 \x01(\x02:\x05\x30.001\x12\x13\n\x05train\x18\x05 \x01(\x08:\x04true\"\x0b\n\tGroupNorm')
  17. )
  18. _HYPERPARAMS_OP = _descriptor.EnumDescriptor(
  19. name='Op',
  20. full_name='object_detection.protos.Hyperparams.Op',
  21. filename=None,
  22. file=DESCRIPTOR,
  23. values=[
  24. _descriptor.EnumValueDescriptor(
  25. name='CONV', index=0, number=1,
  26. serialized_options=None,
  27. type=None),
  28. _descriptor.EnumValueDescriptor(
  29. name='FC', index=1, number=2,
  30. serialized_options=None,
  31. type=None),
  32. ],
  33. containing_type=None,
  34. serialized_options=None,
  35. serialized_start=491,
  36. serialized_end=513,
  37. )
  38. _sym_db.RegisterEnumDescriptor(_HYPERPARAMS_OP)
  39. _HYPERPARAMS_ACTIVATION = _descriptor.EnumDescriptor(
  40. name='Activation',
  41. full_name='object_detection.protos.Hyperparams.Activation',
  42. filename=None,
  43. file=DESCRIPTOR,
  44. values=[
  45. _descriptor.EnumValueDescriptor(
  46. name='NONE', index=0, number=0,
  47. serialized_options=None,
  48. type=None),
  49. _descriptor.EnumValueDescriptor(
  50. name='RELU', index=1, number=1,
  51. serialized_options=None,
  52. type=None),
  53. _descriptor.EnumValueDescriptor(
  54. name='RELU_6', index=2, number=2,
  55. serialized_options=None,
  56. type=None),
  57. ],
  58. containing_type=None,
  59. serialized_options=None,
  60. serialized_start=515,
  61. serialized_end=559,
  62. )
  63. _sym_db.RegisterEnumDescriptor(_HYPERPARAMS_ACTIVATION)
  64. _VARIANCESCALINGINITIALIZER_MODE = _descriptor.EnumDescriptor(
  65. name='Mode',
  66. full_name='object_detection.protos.VarianceScalingInitializer.Mode',
  67. filename=None,
  68. file=DESCRIPTOR,
  69. values=[
  70. _descriptor.EnumValueDescriptor(
  71. name='FAN_IN', index=0, number=0,
  72. serialized_options=None,
  73. type=None),
  74. _descriptor.EnumValueDescriptor(
  75. name='FAN_OUT', index=1, number=1,
  76. serialized_options=None,
  77. type=None),
  78. _descriptor.EnumValueDescriptor(
  79. name='FAN_AVG', index=2, number=2,
  80. serialized_options=None,
  81. type=None),
  82. ],
  83. containing_type=None,
  84. serialized_options=None,
  85. serialized_start=1352,
  86. serialized_end=1396,
  87. )
  88. _sym_db.RegisterEnumDescriptor(_VARIANCESCALINGINITIALIZER_MODE)
  89. _HYPERPARAMS = _descriptor.Descriptor(
  90. name='Hyperparams',
  91. full_name='object_detection.protos.Hyperparams',
  92. filename=None,
  93. file=DESCRIPTOR,
  94. containing_type=None,
  95. fields=[
  96. _descriptor.FieldDescriptor(
  97. name='op', full_name='object_detection.protos.Hyperparams.op', index=0,
  98. number=1, type=14, cpp_type=8, label=1,
  99. has_default_value=True, default_value=1,
  100. message_type=None, enum_type=None, containing_type=None,
  101. is_extension=False, extension_scope=None,
  102. serialized_options=None, file=DESCRIPTOR),
  103. _descriptor.FieldDescriptor(
  104. name='regularizer', full_name='object_detection.protos.Hyperparams.regularizer', index=1,
  105. number=2, type=11, cpp_type=10, label=1,
  106. has_default_value=False, default_value=None,
  107. message_type=None, enum_type=None, containing_type=None,
  108. is_extension=False, extension_scope=None,
  109. serialized_options=None, file=DESCRIPTOR),
  110. _descriptor.FieldDescriptor(
  111. name='initializer', full_name='object_detection.protos.Hyperparams.initializer', index=2,
  112. number=3, type=11, cpp_type=10, label=1,
  113. has_default_value=False, default_value=None,
  114. message_type=None, enum_type=None, containing_type=None,
  115. is_extension=False, extension_scope=None,
  116. serialized_options=None, file=DESCRIPTOR),
  117. _descriptor.FieldDescriptor(
  118. name='activation', full_name='object_detection.protos.Hyperparams.activation', index=3,
  119. number=4, type=14, cpp_type=8, label=1,
  120. has_default_value=True, default_value=1,
  121. message_type=None, enum_type=None, containing_type=None,
  122. is_extension=False, extension_scope=None,
  123. serialized_options=None, file=DESCRIPTOR),
  124. _descriptor.FieldDescriptor(
  125. name='batch_norm', full_name='object_detection.protos.Hyperparams.batch_norm', index=4,
  126. number=5, type=11, cpp_type=10, label=1,
  127. has_default_value=False, default_value=None,
  128. message_type=None, enum_type=None, containing_type=None,
  129. is_extension=False, extension_scope=None,
  130. serialized_options=None, file=DESCRIPTOR),
  131. _descriptor.FieldDescriptor(
  132. name='group_norm', full_name='object_detection.protos.Hyperparams.group_norm', index=5,
  133. number=7, type=11, cpp_type=10, label=1,
  134. has_default_value=False, default_value=None,
  135. message_type=None, enum_type=None, containing_type=None,
  136. is_extension=False, extension_scope=None,
  137. serialized_options=None, file=DESCRIPTOR),
  138. _descriptor.FieldDescriptor(
  139. name='regularize_depthwise', full_name='object_detection.protos.Hyperparams.regularize_depthwise', index=6,
  140. number=6, 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. serialized_options=None, file=DESCRIPTOR),
  145. ],
  146. extensions=[
  147. ],
  148. nested_types=[],
  149. enum_types=[
  150. _HYPERPARAMS_OP,
  151. _HYPERPARAMS_ACTIVATION,
  152. ],
  153. serialized_options=None,
  154. is_extendable=False,
  155. syntax='proto2',
  156. extension_ranges=[],
  157. oneofs=[
  158. _descriptor.OneofDescriptor(
  159. name='normalizer_oneof', full_name='object_detection.protos.Hyperparams.normalizer_oneof',
  160. index=0, containing_type=None, fields=[]),
  161. ],
  162. serialized_start=71,
  163. serialized_end=579,
  164. )
  165. _REGULARIZER = _descriptor.Descriptor(
  166. name='Regularizer',
  167. full_name='object_detection.protos.Regularizer',
  168. filename=None,
  169. file=DESCRIPTOR,
  170. containing_type=None,
  171. fields=[
  172. _descriptor.FieldDescriptor(
  173. name='l1_regularizer', full_name='object_detection.protos.Regularizer.l1_regularizer', index=0,
  174. number=1, type=11, cpp_type=10, label=1,
  175. has_default_value=False, default_value=None,
  176. message_type=None, enum_type=None, containing_type=None,
  177. is_extension=False, extension_scope=None,
  178. serialized_options=None, file=DESCRIPTOR),
  179. _descriptor.FieldDescriptor(
  180. name='l2_regularizer', full_name='object_detection.protos.Regularizer.l2_regularizer', index=1,
  181. number=2, type=11, cpp_type=10, label=1,
  182. has_default_value=False, default_value=None,
  183. message_type=None, enum_type=None, containing_type=None,
  184. is_extension=False, extension_scope=None,
  185. serialized_options=None, file=DESCRIPTOR),
  186. ],
  187. extensions=[
  188. ],
  189. nested_types=[],
  190. enum_types=[
  191. ],
  192. serialized_options=None,
  193. is_extendable=False,
  194. syntax='proto2',
  195. extension_ranges=[],
  196. oneofs=[
  197. _descriptor.OneofDescriptor(
  198. name='regularizer_oneof', full_name='object_detection.protos.Regularizer.regularizer_oneof',
  199. index=0, containing_type=None, fields=[]),
  200. ],
  201. serialized_start=582,
  202. serialized_end=748,
  203. )
  204. _L1REGULARIZER = _descriptor.Descriptor(
  205. name='L1Regularizer',
  206. full_name='object_detection.protos.L1Regularizer',
  207. filename=None,
  208. file=DESCRIPTOR,
  209. containing_type=None,
  210. fields=[
  211. _descriptor.FieldDescriptor(
  212. name='weight', full_name='object_detection.protos.L1Regularizer.weight', index=0,
  213. number=1, type=2, cpp_type=6, label=1,
  214. has_default_value=True, default_value=float(1),
  215. message_type=None, enum_type=None, containing_type=None,
  216. is_extension=False, extension_scope=None,
  217. serialized_options=None, file=DESCRIPTOR),
  218. ],
  219. extensions=[
  220. ],
  221. nested_types=[],
  222. enum_types=[
  223. ],
  224. serialized_options=None,
  225. is_extendable=False,
  226. syntax='proto2',
  227. extension_ranges=[],
  228. oneofs=[
  229. ],
  230. serialized_start=750,
  231. serialized_end=784,
  232. )
  233. _L2REGULARIZER = _descriptor.Descriptor(
  234. name='L2Regularizer',
  235. full_name='object_detection.protos.L2Regularizer',
  236. filename=None,
  237. file=DESCRIPTOR,
  238. containing_type=None,
  239. fields=[
  240. _descriptor.FieldDescriptor(
  241. name='weight', full_name='object_detection.protos.L2Regularizer.weight', index=0,
  242. number=1, type=2, cpp_type=6, label=1,
  243. has_default_value=True, default_value=float(1),
  244. message_type=None, enum_type=None, containing_type=None,
  245. is_extension=False, extension_scope=None,
  246. serialized_options=None, file=DESCRIPTOR),
  247. ],
  248. extensions=[
  249. ],
  250. nested_types=[],
  251. enum_types=[
  252. ],
  253. serialized_options=None,
  254. is_extendable=False,
  255. syntax='proto2',
  256. extension_ranges=[],
  257. oneofs=[
  258. ],
  259. serialized_start=786,
  260. serialized_end=820,
  261. )
  262. _INITIALIZER = _descriptor.Descriptor(
  263. name='Initializer',
  264. full_name='object_detection.protos.Initializer',
  265. filename=None,
  266. file=DESCRIPTOR,
  267. containing_type=None,
  268. fields=[
  269. _descriptor.FieldDescriptor(
  270. name='truncated_normal_initializer', full_name='object_detection.protos.Initializer.truncated_normal_initializer', index=0,
  271. number=1, type=11, cpp_type=10, label=1,
  272. has_default_value=False, default_value=None,
  273. message_type=None, enum_type=None, containing_type=None,
  274. is_extension=False, extension_scope=None,
  275. serialized_options=None, file=DESCRIPTOR),
  276. _descriptor.FieldDescriptor(
  277. name='variance_scaling_initializer', full_name='object_detection.protos.Initializer.variance_scaling_initializer', index=1,
  278. number=2, type=11, cpp_type=10, label=1,
  279. has_default_value=False, default_value=None,
  280. message_type=None, enum_type=None, containing_type=None,
  281. is_extension=False, extension_scope=None,
  282. serialized_options=None, file=DESCRIPTOR),
  283. _descriptor.FieldDescriptor(
  284. name='random_normal_initializer', full_name='object_detection.protos.Initializer.random_normal_initializer', index=2,
  285. number=3, type=11, cpp_type=10, label=1,
  286. has_default_value=False, default_value=None,
  287. message_type=None, enum_type=None, containing_type=None,
  288. is_extension=False, extension_scope=None,
  289. serialized_options=None, file=DESCRIPTOR),
  290. ],
  291. extensions=[
  292. ],
  293. nested_types=[],
  294. enum_types=[
  295. ],
  296. serialized_options=None,
  297. is_extendable=False,
  298. syntax='proto2',
  299. extension_ranges=[],
  300. oneofs=[
  301. _descriptor.OneofDescriptor(
  302. name='initializer_oneof', full_name='object_detection.protos.Initializer.initializer_oneof',
  303. index=0, containing_type=None, fields=[]),
  304. ],
  305. serialized_start=823,
  306. serialized_end=1130,
  307. )
  308. _TRUNCATEDNORMALINITIALIZER = _descriptor.Descriptor(
  309. name='TruncatedNormalInitializer',
  310. full_name='object_detection.protos.TruncatedNormalInitializer',
  311. filename=None,
  312. file=DESCRIPTOR,
  313. containing_type=None,
  314. fields=[
  315. _descriptor.FieldDescriptor(
  316. name='mean', full_name='object_detection.protos.TruncatedNormalInitializer.mean', index=0,
  317. number=1, type=2, cpp_type=6, label=1,
  318. has_default_value=True, default_value=float(0),
  319. message_type=None, enum_type=None, containing_type=None,
  320. is_extension=False, extension_scope=None,
  321. serialized_options=None, file=DESCRIPTOR),
  322. _descriptor.FieldDescriptor(
  323. name='stddev', full_name='object_detection.protos.TruncatedNormalInitializer.stddev', index=1,
  324. number=2, type=2, cpp_type=6, label=1,
  325. has_default_value=True, default_value=float(1),
  326. message_type=None, enum_type=None, containing_type=None,
  327. is_extension=False, extension_scope=None,
  328. serialized_options=None, file=DESCRIPTOR),
  329. ],
  330. extensions=[
  331. ],
  332. nested_types=[],
  333. enum_types=[
  334. ],
  335. serialized_options=None,
  336. is_extendable=False,
  337. syntax='proto2',
  338. extension_ranges=[],
  339. oneofs=[
  340. ],
  341. serialized_start=1132,
  342. serialized_end=1196,
  343. )
  344. _VARIANCESCALINGINITIALIZER = _descriptor.Descriptor(
  345. name='VarianceScalingInitializer',
  346. full_name='object_detection.protos.VarianceScalingInitializer',
  347. filename=None,
  348. file=DESCRIPTOR,
  349. containing_type=None,
  350. fields=[
  351. _descriptor.FieldDescriptor(
  352. name='factor', full_name='object_detection.protos.VarianceScalingInitializer.factor', index=0,
  353. number=1, type=2, cpp_type=6, label=1,
  354. has_default_value=True, default_value=float(2),
  355. message_type=None, enum_type=None, containing_type=None,
  356. is_extension=False, extension_scope=None,
  357. serialized_options=None, file=DESCRIPTOR),
  358. _descriptor.FieldDescriptor(
  359. name='uniform', full_name='object_detection.protos.VarianceScalingInitializer.uniform', index=1,
  360. number=2, type=8, cpp_type=7, label=1,
  361. has_default_value=True, default_value=False,
  362. message_type=None, enum_type=None, containing_type=None,
  363. is_extension=False, extension_scope=None,
  364. serialized_options=None, file=DESCRIPTOR),
  365. _descriptor.FieldDescriptor(
  366. name='mode', full_name='object_detection.protos.VarianceScalingInitializer.mode', index=2,
  367. number=3, type=14, cpp_type=8, label=1,
  368. has_default_value=True, default_value=0,
  369. message_type=None, enum_type=None, containing_type=None,
  370. is_extension=False, extension_scope=None,
  371. serialized_options=None, file=DESCRIPTOR),
  372. ],
  373. extensions=[
  374. ],
  375. nested_types=[],
  376. enum_types=[
  377. _VARIANCESCALINGINITIALIZER_MODE,
  378. ],
  379. serialized_options=None,
  380. is_extendable=False,
  381. syntax='proto2',
  382. extension_ranges=[],
  383. oneofs=[
  384. ],
  385. serialized_start=1199,
  386. serialized_end=1396,
  387. )
  388. _RANDOMNORMALINITIALIZER = _descriptor.Descriptor(
  389. name='RandomNormalInitializer',
  390. full_name='object_detection.protos.RandomNormalInitializer',
  391. filename=None,
  392. file=DESCRIPTOR,
  393. containing_type=None,
  394. fields=[
  395. _descriptor.FieldDescriptor(
  396. name='mean', full_name='object_detection.protos.RandomNormalInitializer.mean', index=0,
  397. number=1, type=2, cpp_type=6, label=1,
  398. has_default_value=True, default_value=float(0),
  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='stddev', full_name='object_detection.protos.RandomNormalInitializer.stddev', index=1,
  404. number=2, type=2, cpp_type=6, label=1,
  405. has_default_value=True, default_value=float(1),
  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=1398,
  422. serialized_end=1459,
  423. )
  424. _BATCHNORM = _descriptor.Descriptor(
  425. name='BatchNorm',
  426. full_name='object_detection.protos.BatchNorm',
  427. filename=None,
  428. file=DESCRIPTOR,
  429. containing_type=None,
  430. fields=[
  431. _descriptor.FieldDescriptor(
  432. name='decay', full_name='object_detection.protos.BatchNorm.decay', index=0,
  433. number=1, type=2, cpp_type=6, label=1,
  434. has_default_value=True, default_value=float(0.999),
  435. message_type=None, enum_type=None, containing_type=None,
  436. is_extension=False, extension_scope=None,
  437. serialized_options=None, file=DESCRIPTOR),
  438. _descriptor.FieldDescriptor(
  439. name='center', full_name='object_detection.protos.BatchNorm.center', index=1,
  440. number=2, type=8, cpp_type=7, label=1,
  441. has_default_value=True, default_value=True,
  442. message_type=None, enum_type=None, containing_type=None,
  443. is_extension=False, extension_scope=None,
  444. serialized_options=None, file=DESCRIPTOR),
  445. _descriptor.FieldDescriptor(
  446. name='scale', full_name='object_detection.protos.BatchNorm.scale', index=2,
  447. number=3, type=8, cpp_type=7, label=1,
  448. has_default_value=True, default_value=False,
  449. message_type=None, enum_type=None, containing_type=None,
  450. is_extension=False, extension_scope=None,
  451. serialized_options=None, file=DESCRIPTOR),
  452. _descriptor.FieldDescriptor(
  453. name='epsilon', full_name='object_detection.protos.BatchNorm.epsilon', index=3,
  454. number=4, type=2, cpp_type=6, label=1,
  455. has_default_value=True, default_value=float(0.001),
  456. message_type=None, enum_type=None, containing_type=None,
  457. is_extension=False, extension_scope=None,
  458. serialized_options=None, file=DESCRIPTOR),
  459. _descriptor.FieldDescriptor(
  460. name='train', full_name='object_detection.protos.BatchNorm.train', index=4,
  461. number=5, type=8, cpp_type=7, label=1,
  462. has_default_value=True, default_value=True,
  463. message_type=None, enum_type=None, containing_type=None,
  464. is_extension=False, extension_scope=None,
  465. serialized_options=None, file=DESCRIPTOR),
  466. ],
  467. extensions=[
  468. ],
  469. nested_types=[],
  470. enum_types=[
  471. ],
  472. serialized_options=None,
  473. is_extendable=False,
  474. syntax='proto2',
  475. extension_ranges=[],
  476. oneofs=[
  477. ],
  478. serialized_start=1461,
  479. serialized_end=1583,
  480. )
  481. _GROUPNORM = _descriptor.Descriptor(
  482. name='GroupNorm',
  483. full_name='object_detection.protos.GroupNorm',
  484. filename=None,
  485. file=DESCRIPTOR,
  486. containing_type=None,
  487. fields=[
  488. ],
  489. extensions=[
  490. ],
  491. nested_types=[],
  492. enum_types=[
  493. ],
  494. serialized_options=None,
  495. is_extendable=False,
  496. syntax='proto2',
  497. extension_ranges=[],
  498. oneofs=[
  499. ],
  500. serialized_start=1585,
  501. serialized_end=1596,
  502. )
  503. _HYPERPARAMS.fields_by_name['op'].enum_type = _HYPERPARAMS_OP
  504. _HYPERPARAMS.fields_by_name['regularizer'].message_type = _REGULARIZER
  505. _HYPERPARAMS.fields_by_name['initializer'].message_type = _INITIALIZER
  506. _HYPERPARAMS.fields_by_name['activation'].enum_type = _HYPERPARAMS_ACTIVATION
  507. _HYPERPARAMS.fields_by_name['batch_norm'].message_type = _BATCHNORM
  508. _HYPERPARAMS.fields_by_name['group_norm'].message_type = _GROUPNORM
  509. _HYPERPARAMS_OP.containing_type = _HYPERPARAMS
  510. _HYPERPARAMS_ACTIVATION.containing_type = _HYPERPARAMS
  511. _HYPERPARAMS.oneofs_by_name['normalizer_oneof'].fields.append(
  512. _HYPERPARAMS.fields_by_name['batch_norm'])
  513. _HYPERPARAMS.fields_by_name['batch_norm'].containing_oneof = _HYPERPARAMS.oneofs_by_name['normalizer_oneof']
  514. _HYPERPARAMS.oneofs_by_name['normalizer_oneof'].fields.append(
  515. _HYPERPARAMS.fields_by_name['group_norm'])
  516. _HYPERPARAMS.fields_by_name['group_norm'].containing_oneof = _HYPERPARAMS.oneofs_by_name['normalizer_oneof']
  517. _REGULARIZER.fields_by_name['l1_regularizer'].message_type = _L1REGULARIZER
  518. _REGULARIZER.fields_by_name['l2_regularizer'].message_type = _L2REGULARIZER
  519. _REGULARIZER.oneofs_by_name['regularizer_oneof'].fields.append(
  520. _REGULARIZER.fields_by_name['l1_regularizer'])
  521. _REGULARIZER.fields_by_name['l1_regularizer'].containing_oneof = _REGULARIZER.oneofs_by_name['regularizer_oneof']
  522. _REGULARIZER.oneofs_by_name['regularizer_oneof'].fields.append(
  523. _REGULARIZER.fields_by_name['l2_regularizer'])
  524. _REGULARIZER.fields_by_name['l2_regularizer'].containing_oneof = _REGULARIZER.oneofs_by_name['regularizer_oneof']
  525. _INITIALIZER.fields_by_name['truncated_normal_initializer'].message_type = _TRUNCATEDNORMALINITIALIZER
  526. _INITIALIZER.fields_by_name['variance_scaling_initializer'].message_type = _VARIANCESCALINGINITIALIZER
  527. _INITIALIZER.fields_by_name['random_normal_initializer'].message_type = _RANDOMNORMALINITIALIZER
  528. _INITIALIZER.oneofs_by_name['initializer_oneof'].fields.append(
  529. _INITIALIZER.fields_by_name['truncated_normal_initializer'])
  530. _INITIALIZER.fields_by_name['truncated_normal_initializer'].containing_oneof = _INITIALIZER.oneofs_by_name['initializer_oneof']
  531. _INITIALIZER.oneofs_by_name['initializer_oneof'].fields.append(
  532. _INITIALIZER.fields_by_name['variance_scaling_initializer'])
  533. _INITIALIZER.fields_by_name['variance_scaling_initializer'].containing_oneof = _INITIALIZER.oneofs_by_name['initializer_oneof']
  534. _INITIALIZER.oneofs_by_name['initializer_oneof'].fields.append(
  535. _INITIALIZER.fields_by_name['random_normal_initializer'])
  536. _INITIALIZER.fields_by_name['random_normal_initializer'].containing_oneof = _INITIALIZER.oneofs_by_name['initializer_oneof']
  537. _VARIANCESCALINGINITIALIZER.fields_by_name['mode'].enum_type = _VARIANCESCALINGINITIALIZER_MODE
  538. _VARIANCESCALINGINITIALIZER_MODE.containing_type = _VARIANCESCALINGINITIALIZER
  539. DESCRIPTOR.message_types_by_name['Hyperparams'] = _HYPERPARAMS
  540. DESCRIPTOR.message_types_by_name['Regularizer'] = _REGULARIZER
  541. DESCRIPTOR.message_types_by_name['L1Regularizer'] = _L1REGULARIZER
  542. DESCRIPTOR.message_types_by_name['L2Regularizer'] = _L2REGULARIZER
  543. DESCRIPTOR.message_types_by_name['Initializer'] = _INITIALIZER
  544. DESCRIPTOR.message_types_by_name['TruncatedNormalInitializer'] = _TRUNCATEDNORMALINITIALIZER
  545. DESCRIPTOR.message_types_by_name['VarianceScalingInitializer'] = _VARIANCESCALINGINITIALIZER
  546. DESCRIPTOR.message_types_by_name['RandomNormalInitializer'] = _RANDOMNORMALINITIALIZER
  547. DESCRIPTOR.message_types_by_name['BatchNorm'] = _BATCHNORM
  548. DESCRIPTOR.message_types_by_name['GroupNorm'] = _GROUPNORM
  549. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  550. Hyperparams = _reflection.GeneratedProtocolMessageType('Hyperparams', (_message.Message,), dict(
  551. DESCRIPTOR = _HYPERPARAMS,
  552. __module__ = 'object_detection.protos.hyperparams_pb2'
  553. # @@protoc_insertion_point(class_scope:object_detection.protos.Hyperparams)
  554. ))
  555. _sym_db.RegisterMessage(Hyperparams)
  556. Regularizer = _reflection.GeneratedProtocolMessageType('Regularizer', (_message.Message,), dict(
  557. DESCRIPTOR = _REGULARIZER,
  558. __module__ = 'object_detection.protos.hyperparams_pb2'
  559. # @@protoc_insertion_point(class_scope:object_detection.protos.Regularizer)
  560. ))
  561. _sym_db.RegisterMessage(Regularizer)
  562. L1Regularizer = _reflection.GeneratedProtocolMessageType('L1Regularizer', (_message.Message,), dict(
  563. DESCRIPTOR = _L1REGULARIZER,
  564. __module__ = 'object_detection.protos.hyperparams_pb2'
  565. # @@protoc_insertion_point(class_scope:object_detection.protos.L1Regularizer)
  566. ))
  567. _sym_db.RegisterMessage(L1Regularizer)
  568. L2Regularizer = _reflection.GeneratedProtocolMessageType('L2Regularizer', (_message.Message,), dict(
  569. DESCRIPTOR = _L2REGULARIZER,
  570. __module__ = 'object_detection.protos.hyperparams_pb2'
  571. # @@protoc_insertion_point(class_scope:object_detection.protos.L2Regularizer)
  572. ))
  573. _sym_db.RegisterMessage(L2Regularizer)
  574. Initializer = _reflection.GeneratedProtocolMessageType('Initializer', (_message.Message,), dict(
  575. DESCRIPTOR = _INITIALIZER,
  576. __module__ = 'object_detection.protos.hyperparams_pb2'
  577. # @@protoc_insertion_point(class_scope:object_detection.protos.Initializer)
  578. ))
  579. _sym_db.RegisterMessage(Initializer)
  580. TruncatedNormalInitializer = _reflection.GeneratedProtocolMessageType('TruncatedNormalInitializer', (_message.Message,), dict(
  581. DESCRIPTOR = _TRUNCATEDNORMALINITIALIZER,
  582. __module__ = 'object_detection.protos.hyperparams_pb2'
  583. # @@protoc_insertion_point(class_scope:object_detection.protos.TruncatedNormalInitializer)
  584. ))
  585. _sym_db.RegisterMessage(TruncatedNormalInitializer)
  586. VarianceScalingInitializer = _reflection.GeneratedProtocolMessageType('VarianceScalingInitializer', (_message.Message,), dict(
  587. DESCRIPTOR = _VARIANCESCALINGINITIALIZER,
  588. __module__ = 'object_detection.protos.hyperparams_pb2'
  589. # @@protoc_insertion_point(class_scope:object_detection.protos.VarianceScalingInitializer)
  590. ))
  591. _sym_db.RegisterMessage(VarianceScalingInitializer)
  592. RandomNormalInitializer = _reflection.GeneratedProtocolMessageType('RandomNormalInitializer', (_message.Message,), dict(
  593. DESCRIPTOR = _RANDOMNORMALINITIALIZER,
  594. __module__ = 'object_detection.protos.hyperparams_pb2'
  595. # @@protoc_insertion_point(class_scope:object_detection.protos.RandomNormalInitializer)
  596. ))
  597. _sym_db.RegisterMessage(RandomNormalInitializer)
  598. BatchNorm = _reflection.GeneratedProtocolMessageType('BatchNorm', (_message.Message,), dict(
  599. DESCRIPTOR = _BATCHNORM,
  600. __module__ = 'object_detection.protos.hyperparams_pb2'
  601. # @@protoc_insertion_point(class_scope:object_detection.protos.BatchNorm)
  602. ))
  603. _sym_db.RegisterMessage(BatchNorm)
  604. GroupNorm = _reflection.GeneratedProtocolMessageType('GroupNorm', (_message.Message,), dict(
  605. DESCRIPTOR = _GROUPNORM,
  606. __module__ = 'object_detection.protos.hyperparams_pb2'
  607. # @@protoc_insertion_point(class_scope:object_detection.protos.GroupNorm)
  608. ))
  609. _sym_db.RegisterMessage(GroupNorm)
  610. # @@protoc_insertion_point(module_scope)