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

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/hyperparams.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/hyperparams.proto',
  14. package='object_detection.protos',
  15. syntax='proto2',
  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. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  19. _HYPERPARAMS_OP = _descriptor.EnumDescriptor(
  20. name='Op',
  21. full_name='object_detection.protos.Hyperparams.Op',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. values=[
  25. _descriptor.EnumValueDescriptor(
  26. name='CONV', index=0, number=1,
  27. options=None,
  28. type=None),
  29. _descriptor.EnumValueDescriptor(
  30. name='FC', index=1, number=2,
  31. options=None,
  32. type=None),
  33. ],
  34. containing_type=None,
  35. options=None,
  36. serialized_start=491,
  37. serialized_end=513,
  38. )
  39. _sym_db.RegisterEnumDescriptor(_HYPERPARAMS_OP)
  40. _HYPERPARAMS_ACTIVATION = _descriptor.EnumDescriptor(
  41. name='Activation',
  42. full_name='object_detection.protos.Hyperparams.Activation',
  43. filename=None,
  44. file=DESCRIPTOR,
  45. values=[
  46. _descriptor.EnumValueDescriptor(
  47. name='NONE', index=0, number=0,
  48. options=None,
  49. type=None),
  50. _descriptor.EnumValueDescriptor(
  51. name='RELU', index=1, number=1,
  52. options=None,
  53. type=None),
  54. _descriptor.EnumValueDescriptor(
  55. name='RELU_6', index=2, number=2,
  56. options=None,
  57. type=None),
  58. ],
  59. containing_type=None,
  60. options=None,
  61. serialized_start=515,
  62. serialized_end=559,
  63. )
  64. _sym_db.RegisterEnumDescriptor(_HYPERPARAMS_ACTIVATION)
  65. _VARIANCESCALINGINITIALIZER_MODE = _descriptor.EnumDescriptor(
  66. name='Mode',
  67. full_name='object_detection.protos.VarianceScalingInitializer.Mode',
  68. filename=None,
  69. file=DESCRIPTOR,
  70. values=[
  71. _descriptor.EnumValueDescriptor(
  72. name='FAN_IN', index=0, number=0,
  73. options=None,
  74. type=None),
  75. _descriptor.EnumValueDescriptor(
  76. name='FAN_OUT', index=1, number=1,
  77. options=None,
  78. type=None),
  79. _descriptor.EnumValueDescriptor(
  80. name='FAN_AVG', index=2, number=2,
  81. options=None,
  82. type=None),
  83. ],
  84. containing_type=None,
  85. options=None,
  86. serialized_start=1352,
  87. serialized_end=1396,
  88. )
  89. _sym_db.RegisterEnumDescriptor(_VARIANCESCALINGINITIALIZER_MODE)
  90. _HYPERPARAMS = _descriptor.Descriptor(
  91. name='Hyperparams',
  92. full_name='object_detection.protos.Hyperparams',
  93. filename=None,
  94. file=DESCRIPTOR,
  95. containing_type=None,
  96. fields=[
  97. _descriptor.FieldDescriptor(
  98. name='op', full_name='object_detection.protos.Hyperparams.op', index=0,
  99. number=1, type=14, cpp_type=8, 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. options=None),
  104. _descriptor.FieldDescriptor(
  105. name='regularizer', full_name='object_detection.protos.Hyperparams.regularizer', index=1,
  106. number=2, type=11, cpp_type=10, label=1,
  107. has_default_value=False, default_value=None,
  108. message_type=None, enum_type=None, containing_type=None,
  109. is_extension=False, extension_scope=None,
  110. options=None),
  111. _descriptor.FieldDescriptor(
  112. name='initializer', full_name='object_detection.protos.Hyperparams.initializer', index=2,
  113. number=3, type=11, cpp_type=10, label=1,
  114. has_default_value=False, default_value=None,
  115. message_type=None, enum_type=None, containing_type=None,
  116. is_extension=False, extension_scope=None,
  117. options=None),
  118. _descriptor.FieldDescriptor(
  119. name='activation', full_name='object_detection.protos.Hyperparams.activation', index=3,
  120. number=4, type=14, cpp_type=8, label=1,
  121. has_default_value=True, default_value=1,
  122. message_type=None, enum_type=None, containing_type=None,
  123. is_extension=False, extension_scope=None,
  124. options=None),
  125. _descriptor.FieldDescriptor(
  126. name='batch_norm', full_name='object_detection.protos.Hyperparams.batch_norm', index=4,
  127. number=5, type=11, cpp_type=10, label=1,
  128. has_default_value=False, default_value=None,
  129. message_type=None, enum_type=None, containing_type=None,
  130. is_extension=False, extension_scope=None,
  131. options=None),
  132. _descriptor.FieldDescriptor(
  133. name='group_norm', full_name='object_detection.protos.Hyperparams.group_norm', index=5,
  134. number=7, type=11, cpp_type=10, label=1,
  135. has_default_value=False, default_value=None,
  136. message_type=None, enum_type=None, containing_type=None,
  137. is_extension=False, extension_scope=None,
  138. options=None),
  139. _descriptor.FieldDescriptor(
  140. name='regularize_depthwise', full_name='object_detection.protos.Hyperparams.regularize_depthwise', index=6,
  141. number=6, type=8, cpp_type=7, label=1,
  142. has_default_value=True, default_value=False,
  143. message_type=None, enum_type=None, containing_type=None,
  144. is_extension=False, extension_scope=None,
  145. options=None),
  146. ],
  147. extensions=[
  148. ],
  149. nested_types=[],
  150. enum_types=[
  151. _HYPERPARAMS_OP,
  152. _HYPERPARAMS_ACTIVATION,
  153. ],
  154. options=None,
  155. is_extendable=False,
  156. syntax='proto2',
  157. extension_ranges=[],
  158. oneofs=[
  159. _descriptor.OneofDescriptor(
  160. name='normalizer_oneof', full_name='object_detection.protos.Hyperparams.normalizer_oneof',
  161. index=0, containing_type=None, fields=[]),
  162. ],
  163. serialized_start=71,
  164. serialized_end=579,
  165. )
  166. _REGULARIZER = _descriptor.Descriptor(
  167. name='Regularizer',
  168. full_name='object_detection.protos.Regularizer',
  169. filename=None,
  170. file=DESCRIPTOR,
  171. containing_type=None,
  172. fields=[
  173. _descriptor.FieldDescriptor(
  174. name='l1_regularizer', full_name='object_detection.protos.Regularizer.l1_regularizer', index=0,
  175. number=1, type=11, cpp_type=10, label=1,
  176. has_default_value=False, default_value=None,
  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='l2_regularizer', full_name='object_detection.protos.Regularizer.l2_regularizer', index=1,
  182. number=2, type=11, cpp_type=10, label=1,
  183. has_default_value=False, default_value=None,
  184. message_type=None, enum_type=None, containing_type=None,
  185. is_extension=False, extension_scope=None,
  186. options=None),
  187. ],
  188. extensions=[
  189. ],
  190. nested_types=[],
  191. enum_types=[
  192. ],
  193. options=None,
  194. is_extendable=False,
  195. syntax='proto2',
  196. extension_ranges=[],
  197. oneofs=[
  198. _descriptor.OneofDescriptor(
  199. name='regularizer_oneof', full_name='object_detection.protos.Regularizer.regularizer_oneof',
  200. index=0, containing_type=None, fields=[]),
  201. ],
  202. serialized_start=582,
  203. serialized_end=748,
  204. )
  205. _L1REGULARIZER = _descriptor.Descriptor(
  206. name='L1Regularizer',
  207. full_name='object_detection.protos.L1Regularizer',
  208. filename=None,
  209. file=DESCRIPTOR,
  210. containing_type=None,
  211. fields=[
  212. _descriptor.FieldDescriptor(
  213. name='weight', full_name='object_detection.protos.L1Regularizer.weight', index=0,
  214. number=1, type=2, cpp_type=6, label=1,
  215. has_default_value=True, default_value=float(1),
  216. message_type=None, enum_type=None, containing_type=None,
  217. is_extension=False, extension_scope=None,
  218. options=None),
  219. ],
  220. extensions=[
  221. ],
  222. nested_types=[],
  223. enum_types=[
  224. ],
  225. options=None,
  226. is_extendable=False,
  227. syntax='proto2',
  228. extension_ranges=[],
  229. oneofs=[
  230. ],
  231. serialized_start=750,
  232. serialized_end=784,
  233. )
  234. _L2REGULARIZER = _descriptor.Descriptor(
  235. name='L2Regularizer',
  236. full_name='object_detection.protos.L2Regularizer',
  237. filename=None,
  238. file=DESCRIPTOR,
  239. containing_type=None,
  240. fields=[
  241. _descriptor.FieldDescriptor(
  242. name='weight', full_name='object_detection.protos.L2Regularizer.weight', index=0,
  243. number=1, type=2, cpp_type=6, label=1,
  244. has_default_value=True, default_value=float(1),
  245. message_type=None, enum_type=None, containing_type=None,
  246. is_extension=False, extension_scope=None,
  247. options=None),
  248. ],
  249. extensions=[
  250. ],
  251. nested_types=[],
  252. enum_types=[
  253. ],
  254. options=None,
  255. is_extendable=False,
  256. syntax='proto2',
  257. extension_ranges=[],
  258. oneofs=[
  259. ],
  260. serialized_start=786,
  261. serialized_end=820,
  262. )
  263. _INITIALIZER = _descriptor.Descriptor(
  264. name='Initializer',
  265. full_name='object_detection.protos.Initializer',
  266. filename=None,
  267. file=DESCRIPTOR,
  268. containing_type=None,
  269. fields=[
  270. _descriptor.FieldDescriptor(
  271. name='truncated_normal_initializer', full_name='object_detection.protos.Initializer.truncated_normal_initializer', index=0,
  272. number=1, type=11, cpp_type=10, label=1,
  273. has_default_value=False, default_value=None,
  274. message_type=None, enum_type=None, containing_type=None,
  275. is_extension=False, extension_scope=None,
  276. options=None),
  277. _descriptor.FieldDescriptor(
  278. name='variance_scaling_initializer', full_name='object_detection.protos.Initializer.variance_scaling_initializer', index=1,
  279. number=2, type=11, cpp_type=10, label=1,
  280. has_default_value=False, default_value=None,
  281. message_type=None, enum_type=None, containing_type=None,
  282. is_extension=False, extension_scope=None,
  283. options=None),
  284. _descriptor.FieldDescriptor(
  285. name='random_normal_initializer', full_name='object_detection.protos.Initializer.random_normal_initializer', index=2,
  286. number=3, type=11, cpp_type=10, label=1,
  287. has_default_value=False, default_value=None,
  288. message_type=None, enum_type=None, containing_type=None,
  289. is_extension=False, extension_scope=None,
  290. options=None),
  291. ],
  292. extensions=[
  293. ],
  294. nested_types=[],
  295. enum_types=[
  296. ],
  297. options=None,
  298. is_extendable=False,
  299. syntax='proto2',
  300. extension_ranges=[],
  301. oneofs=[
  302. _descriptor.OneofDescriptor(
  303. name='initializer_oneof', full_name='object_detection.protos.Initializer.initializer_oneof',
  304. index=0, containing_type=None, fields=[]),
  305. ],
  306. serialized_start=823,
  307. serialized_end=1130,
  308. )
  309. _TRUNCATEDNORMALINITIALIZER = _descriptor.Descriptor(
  310. name='TruncatedNormalInitializer',
  311. full_name='object_detection.protos.TruncatedNormalInitializer',
  312. filename=None,
  313. file=DESCRIPTOR,
  314. containing_type=None,
  315. fields=[
  316. _descriptor.FieldDescriptor(
  317. name='mean', full_name='object_detection.protos.TruncatedNormalInitializer.mean', index=0,
  318. number=1, type=2, cpp_type=6, label=1,
  319. has_default_value=True, default_value=float(0),
  320. message_type=None, enum_type=None, containing_type=None,
  321. is_extension=False, extension_scope=None,
  322. options=None),
  323. _descriptor.FieldDescriptor(
  324. name='stddev', full_name='object_detection.protos.TruncatedNormalInitializer.stddev', index=1,
  325. number=2, type=2, cpp_type=6, label=1,
  326. has_default_value=True, default_value=float(1),
  327. message_type=None, enum_type=None, containing_type=None,
  328. is_extension=False, extension_scope=None,
  329. options=None),
  330. ],
  331. extensions=[
  332. ],
  333. nested_types=[],
  334. enum_types=[
  335. ],
  336. options=None,
  337. is_extendable=False,
  338. syntax='proto2',
  339. extension_ranges=[],
  340. oneofs=[
  341. ],
  342. serialized_start=1132,
  343. serialized_end=1196,
  344. )
  345. _VARIANCESCALINGINITIALIZER = _descriptor.Descriptor(
  346. name='VarianceScalingInitializer',
  347. full_name='object_detection.protos.VarianceScalingInitializer',
  348. filename=None,
  349. file=DESCRIPTOR,
  350. containing_type=None,
  351. fields=[
  352. _descriptor.FieldDescriptor(
  353. name='factor', full_name='object_detection.protos.VarianceScalingInitializer.factor', index=0,
  354. number=1, type=2, cpp_type=6, label=1,
  355. has_default_value=True, default_value=float(2),
  356. message_type=None, enum_type=None, containing_type=None,
  357. is_extension=False, extension_scope=None,
  358. options=None),
  359. _descriptor.FieldDescriptor(
  360. name='uniform', full_name='object_detection.protos.VarianceScalingInitializer.uniform', index=1,
  361. number=2, 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. options=None),
  366. _descriptor.FieldDescriptor(
  367. name='mode', full_name='object_detection.protos.VarianceScalingInitializer.mode', index=2,
  368. number=3, type=14, cpp_type=8, label=1,
  369. has_default_value=True, default_value=0,
  370. message_type=None, enum_type=None, containing_type=None,
  371. is_extension=False, extension_scope=None,
  372. options=None),
  373. ],
  374. extensions=[
  375. ],
  376. nested_types=[],
  377. enum_types=[
  378. _VARIANCESCALINGINITIALIZER_MODE,
  379. ],
  380. options=None,
  381. is_extendable=False,
  382. syntax='proto2',
  383. extension_ranges=[],
  384. oneofs=[
  385. ],
  386. serialized_start=1199,
  387. serialized_end=1396,
  388. )
  389. _RANDOMNORMALINITIALIZER = _descriptor.Descriptor(
  390. name='RandomNormalInitializer',
  391. full_name='object_detection.protos.RandomNormalInitializer',
  392. filename=None,
  393. file=DESCRIPTOR,
  394. containing_type=None,
  395. fields=[
  396. _descriptor.FieldDescriptor(
  397. name='mean', full_name='object_detection.protos.RandomNormalInitializer.mean', index=0,
  398. number=1, type=2, cpp_type=6, label=1,
  399. has_default_value=True, default_value=float(0),
  400. message_type=None, enum_type=None, containing_type=None,
  401. is_extension=False, extension_scope=None,
  402. options=None),
  403. _descriptor.FieldDescriptor(
  404. name='stddev', full_name='object_detection.protos.RandomNormalInitializer.stddev', index=1,
  405. number=2, type=2, cpp_type=6, label=1,
  406. has_default_value=True, default_value=float(1),
  407. message_type=None, enum_type=None, containing_type=None,
  408. is_extension=False, extension_scope=None,
  409. options=None),
  410. ],
  411. extensions=[
  412. ],
  413. nested_types=[],
  414. enum_types=[
  415. ],
  416. options=None,
  417. is_extendable=False,
  418. syntax='proto2',
  419. extension_ranges=[],
  420. oneofs=[
  421. ],
  422. serialized_start=1398,
  423. serialized_end=1459,
  424. )
  425. _BATCHNORM = _descriptor.Descriptor(
  426. name='BatchNorm',
  427. full_name='object_detection.protos.BatchNorm',
  428. filename=None,
  429. file=DESCRIPTOR,
  430. containing_type=None,
  431. fields=[
  432. _descriptor.FieldDescriptor(
  433. name='decay', full_name='object_detection.protos.BatchNorm.decay', index=0,
  434. number=1, type=2, cpp_type=6, label=1,
  435. has_default_value=True, default_value=float(0.999),
  436. message_type=None, enum_type=None, containing_type=None,
  437. is_extension=False, extension_scope=None,
  438. options=None),
  439. _descriptor.FieldDescriptor(
  440. name='center', full_name='object_detection.protos.BatchNorm.center', index=1,
  441. number=2, type=8, cpp_type=7, label=1,
  442. has_default_value=True, default_value=True,
  443. message_type=None, enum_type=None, containing_type=None,
  444. is_extension=False, extension_scope=None,
  445. options=None),
  446. _descriptor.FieldDescriptor(
  447. name='scale', full_name='object_detection.protos.BatchNorm.scale', index=2,
  448. number=3, type=8, cpp_type=7, label=1,
  449. has_default_value=True, default_value=False,
  450. message_type=None, enum_type=None, containing_type=None,
  451. is_extension=False, extension_scope=None,
  452. options=None),
  453. _descriptor.FieldDescriptor(
  454. name='epsilon', full_name='object_detection.protos.BatchNorm.epsilon', index=3,
  455. number=4, type=2, cpp_type=6, label=1,
  456. has_default_value=True, default_value=float(0.001),
  457. message_type=None, enum_type=None, containing_type=None,
  458. is_extension=False, extension_scope=None,
  459. options=None),
  460. _descriptor.FieldDescriptor(
  461. name='train', full_name='object_detection.protos.BatchNorm.train', index=4,
  462. number=5, type=8, cpp_type=7, label=1,
  463. has_default_value=True, default_value=True,
  464. message_type=None, enum_type=None, containing_type=None,
  465. is_extension=False, extension_scope=None,
  466. options=None),
  467. ],
  468. extensions=[
  469. ],
  470. nested_types=[],
  471. enum_types=[
  472. ],
  473. options=None,
  474. is_extendable=False,
  475. syntax='proto2',
  476. extension_ranges=[],
  477. oneofs=[
  478. ],
  479. serialized_start=1461,
  480. serialized_end=1583,
  481. )
  482. _GROUPNORM = _descriptor.Descriptor(
  483. name='GroupNorm',
  484. full_name='object_detection.protos.GroupNorm',
  485. filename=None,
  486. file=DESCRIPTOR,
  487. containing_type=None,
  488. fields=[
  489. ],
  490. extensions=[
  491. ],
  492. nested_types=[],
  493. enum_types=[
  494. ],
  495. options=None,
  496. is_extendable=False,
  497. syntax='proto2',
  498. extension_ranges=[],
  499. oneofs=[
  500. ],
  501. serialized_start=1585,
  502. serialized_end=1596,
  503. )
  504. _HYPERPARAMS.fields_by_name['op'].enum_type = _HYPERPARAMS_OP
  505. _HYPERPARAMS.fields_by_name['regularizer'].message_type = _REGULARIZER
  506. _HYPERPARAMS.fields_by_name['initializer'].message_type = _INITIALIZER
  507. _HYPERPARAMS.fields_by_name['activation'].enum_type = _HYPERPARAMS_ACTIVATION
  508. _HYPERPARAMS.fields_by_name['batch_norm'].message_type = _BATCHNORM
  509. _HYPERPARAMS.fields_by_name['group_norm'].message_type = _GROUPNORM
  510. _HYPERPARAMS_OP.containing_type = _HYPERPARAMS
  511. _HYPERPARAMS_ACTIVATION.containing_type = _HYPERPARAMS
  512. _HYPERPARAMS.oneofs_by_name['normalizer_oneof'].fields.append(
  513. _HYPERPARAMS.fields_by_name['batch_norm'])
  514. _HYPERPARAMS.fields_by_name['batch_norm'].containing_oneof = _HYPERPARAMS.oneofs_by_name['normalizer_oneof']
  515. _HYPERPARAMS.oneofs_by_name['normalizer_oneof'].fields.append(
  516. _HYPERPARAMS.fields_by_name['group_norm'])
  517. _HYPERPARAMS.fields_by_name['group_norm'].containing_oneof = _HYPERPARAMS.oneofs_by_name['normalizer_oneof']
  518. _REGULARIZER.fields_by_name['l1_regularizer'].message_type = _L1REGULARIZER
  519. _REGULARIZER.fields_by_name['l2_regularizer'].message_type = _L2REGULARIZER
  520. _REGULARIZER.oneofs_by_name['regularizer_oneof'].fields.append(
  521. _REGULARIZER.fields_by_name['l1_regularizer'])
  522. _REGULARIZER.fields_by_name['l1_regularizer'].containing_oneof = _REGULARIZER.oneofs_by_name['regularizer_oneof']
  523. _REGULARIZER.oneofs_by_name['regularizer_oneof'].fields.append(
  524. _REGULARIZER.fields_by_name['l2_regularizer'])
  525. _REGULARIZER.fields_by_name['l2_regularizer'].containing_oneof = _REGULARIZER.oneofs_by_name['regularizer_oneof']
  526. _INITIALIZER.fields_by_name['truncated_normal_initializer'].message_type = _TRUNCATEDNORMALINITIALIZER
  527. _INITIALIZER.fields_by_name['variance_scaling_initializer'].message_type = _VARIANCESCALINGINITIALIZER
  528. _INITIALIZER.fields_by_name['random_normal_initializer'].message_type = _RANDOMNORMALINITIALIZER
  529. _INITIALIZER.oneofs_by_name['initializer_oneof'].fields.append(
  530. _INITIALIZER.fields_by_name['truncated_normal_initializer'])
  531. _INITIALIZER.fields_by_name['truncated_normal_initializer'].containing_oneof = _INITIALIZER.oneofs_by_name['initializer_oneof']
  532. _INITIALIZER.oneofs_by_name['initializer_oneof'].fields.append(
  533. _INITIALIZER.fields_by_name['variance_scaling_initializer'])
  534. _INITIALIZER.fields_by_name['variance_scaling_initializer'].containing_oneof = _INITIALIZER.oneofs_by_name['initializer_oneof']
  535. _INITIALIZER.oneofs_by_name['initializer_oneof'].fields.append(
  536. _INITIALIZER.fields_by_name['random_normal_initializer'])
  537. _INITIALIZER.fields_by_name['random_normal_initializer'].containing_oneof = _INITIALIZER.oneofs_by_name['initializer_oneof']
  538. _VARIANCESCALINGINITIALIZER.fields_by_name['mode'].enum_type = _VARIANCESCALINGINITIALIZER_MODE
  539. _VARIANCESCALINGINITIALIZER_MODE.containing_type = _VARIANCESCALINGINITIALIZER
  540. DESCRIPTOR.message_types_by_name['Hyperparams'] = _HYPERPARAMS
  541. DESCRIPTOR.message_types_by_name['Regularizer'] = _REGULARIZER
  542. DESCRIPTOR.message_types_by_name['L1Regularizer'] = _L1REGULARIZER
  543. DESCRIPTOR.message_types_by_name['L2Regularizer'] = _L2REGULARIZER
  544. DESCRIPTOR.message_types_by_name['Initializer'] = _INITIALIZER
  545. DESCRIPTOR.message_types_by_name['TruncatedNormalInitializer'] = _TRUNCATEDNORMALINITIALIZER
  546. DESCRIPTOR.message_types_by_name['VarianceScalingInitializer'] = _VARIANCESCALINGINITIALIZER
  547. DESCRIPTOR.message_types_by_name['RandomNormalInitializer'] = _RANDOMNORMALINITIALIZER
  548. DESCRIPTOR.message_types_by_name['BatchNorm'] = _BATCHNORM
  549. DESCRIPTOR.message_types_by_name['GroupNorm'] = _GROUPNORM
  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)