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.

626 lines
27 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/optimizer.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/optimizer.proto',
  14. package='object_detection.protos',
  15. syntax='proto2',
  16. serialized_pb=_b('\n\'object_detection/protos/optimizer.proto\x12\x17object_detection.protos\"\xb5\x02\n\tOptimizer\x12G\n\x12rms_prop_optimizer\x18\x01 \x01(\x0b\x32).object_detection.protos.RMSPropOptimizerH\x00\x12H\n\x12momentum_optimizer\x18\x02 \x01(\x0b\x32*.object_detection.protos.MomentumOptimizerH\x00\x12@\n\x0e\x61\x64\x61m_optimizer\x18\x03 \x01(\x0b\x32&.object_detection.protos.AdamOptimizerH\x00\x12 \n\x12use_moving_average\x18\x04 \x01(\x08:\x04true\x12$\n\x14moving_average_decay\x18\x05 \x01(\x02:\x06\x30.9999B\x0b\n\toptimizer\"\x9f\x01\n\x10RMSPropOptimizer\x12<\n\rlearning_rate\x18\x01 \x01(\x0b\x32%.object_detection.protos.LearningRate\x12%\n\x18momentum_optimizer_value\x18\x02 \x01(\x02:\x03\x30.9\x12\x12\n\x05\x64\x65\x63\x61y\x18\x03 \x01(\x02:\x03\x30.9\x12\x12\n\x07\x65psilon\x18\x04 \x01(\x02:\x01\x31\"x\n\x11MomentumOptimizer\x12<\n\rlearning_rate\x18\x01 \x01(\x0b\x32%.object_detection.protos.LearningRate\x12%\n\x18momentum_optimizer_value\x18\x02 \x01(\x02:\x03\x30.9\"M\n\rAdamOptimizer\x12<\n\rlearning_rate\x18\x01 \x01(\x0b\x32%.object_detection.protos.LearningRate\"\x80\x03\n\x0cLearningRate\x12O\n\x16\x63onstant_learning_rate\x18\x01 \x01(\x0b\x32-.object_detection.protos.ConstantLearningRateH\x00\x12`\n\x1f\x65xponential_decay_learning_rate\x18\x02 \x01(\x0b\x32\x35.object_detection.protos.ExponentialDecayLearningRateH\x00\x12T\n\x19manual_step_learning_rate\x18\x03 \x01(\x0b\x32/.object_detection.protos.ManualStepLearningRateH\x00\x12V\n\x1a\x63osine_decay_learning_rate\x18\x04 \x01(\x0b\x32\x30.object_detection.protos.CosineDecayLearningRateH\x00\x42\x0f\n\rlearning_rate\"4\n\x14\x43onstantLearningRate\x12\x1c\n\rlearning_rate\x18\x01 \x01(\x02:\x05\x30.002\"\xef\x01\n\x1c\x45xponentialDecayLearningRate\x12$\n\x15initial_learning_rate\x18\x01 \x01(\x02:\x05\x30.002\x12\x1c\n\x0b\x64\x65\x63\x61y_steps\x18\x02 \x01(\r:\x07\x34\x30\x30\x30\x30\x30\x30\x12\x1a\n\x0c\x64\x65\x63\x61y_factor\x18\x03 \x01(\x02:\x04\x30.95\x12\x17\n\tstaircase\x18\x04 \x01(\x08:\x04true\x12\x1f\n\x14\x62urnin_learning_rate\x18\x05 \x01(\x02:\x01\x30\x12\x17\n\x0c\x62urnin_steps\x18\x06 \x01(\r:\x01\x30\x12\x1c\n\x11min_learning_rate\x18\x07 \x01(\x02:\x01\x30\"\xf1\x01\n\x16ManualStepLearningRate\x12$\n\x15initial_learning_rate\x18\x01 \x01(\x02:\x05\x30.002\x12V\n\x08schedule\x18\x02 \x03(\x0b\x32\x44.object_detection.protos.ManualStepLearningRate.LearningRateSchedule\x12\x15\n\x06warmup\x18\x03 \x01(\x08:\x05\x66\x61lse\x1a\x42\n\x14LearningRateSchedule\x12\x0c\n\x04step\x18\x01 \x01(\r\x12\x1c\n\rlearning_rate\x18\x02 \x01(\x02:\x05\x30.002\"\xbe\x01\n\x17\x43osineDecayLearningRate\x12!\n\x12learning_rate_base\x18\x01 \x01(\x02:\x05\x30.002\x12\x1c\n\x0btotal_steps\x18\x02 \x01(\r:\x07\x34\x30\x30\x30\x30\x30\x30\x12$\n\x14warmup_learning_rate\x18\x03 \x01(\x02:\x06\x30.0002\x12\x1b\n\x0cwarmup_steps\x18\x04 \x01(\r:\x05\x31\x30\x30\x30\x30\x12\x1f\n\x14hold_base_rate_steps\x18\x05 \x01(\r:\x01\x30')
  17. )
  18. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  19. _OPTIMIZER = _descriptor.Descriptor(
  20. name='Optimizer',
  21. full_name='object_detection.protos.Optimizer',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. containing_type=None,
  25. fields=[
  26. _descriptor.FieldDescriptor(
  27. name='rms_prop_optimizer', full_name='object_detection.protos.Optimizer.rms_prop_optimizer', index=0,
  28. number=1, type=11, cpp_type=10, label=1,
  29. has_default_value=False, default_value=None,
  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='momentum_optimizer', full_name='object_detection.protos.Optimizer.momentum_optimizer', index=1,
  35. number=2, type=11, cpp_type=10, label=1,
  36. has_default_value=False, default_value=None,
  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='adam_optimizer', full_name='object_detection.protos.Optimizer.adam_optimizer', index=2,
  42. number=3, type=11, cpp_type=10, label=1,
  43. has_default_value=False, default_value=None,
  44. message_type=None, enum_type=None, containing_type=None,
  45. is_extension=False, extension_scope=None,
  46. options=None),
  47. _descriptor.FieldDescriptor(
  48. name='use_moving_average', full_name='object_detection.protos.Optimizer.use_moving_average', index=3,
  49. number=4, type=8, cpp_type=7, label=1,
  50. has_default_value=True, default_value=True,
  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='moving_average_decay', full_name='object_detection.protos.Optimizer.moving_average_decay', index=4,
  56. number=5, type=2, cpp_type=6, label=1,
  57. has_default_value=True, default_value=float(0.9999),
  58. message_type=None, enum_type=None, containing_type=None,
  59. is_extension=False, extension_scope=None,
  60. options=None),
  61. ],
  62. extensions=[
  63. ],
  64. nested_types=[],
  65. enum_types=[
  66. ],
  67. options=None,
  68. is_extendable=False,
  69. syntax='proto2',
  70. extension_ranges=[],
  71. oneofs=[
  72. _descriptor.OneofDescriptor(
  73. name='optimizer', full_name='object_detection.protos.Optimizer.optimizer',
  74. index=0, containing_type=None, fields=[]),
  75. ],
  76. serialized_start=69,
  77. serialized_end=378,
  78. )
  79. _RMSPROPOPTIMIZER = _descriptor.Descriptor(
  80. name='RMSPropOptimizer',
  81. full_name='object_detection.protos.RMSPropOptimizer',
  82. filename=None,
  83. file=DESCRIPTOR,
  84. containing_type=None,
  85. fields=[
  86. _descriptor.FieldDescriptor(
  87. name='learning_rate', full_name='object_detection.protos.RMSPropOptimizer.learning_rate', index=0,
  88. number=1, type=11, cpp_type=10, label=1,
  89. has_default_value=False, default_value=None,
  90. message_type=None, enum_type=None, containing_type=None,
  91. is_extension=False, extension_scope=None,
  92. options=None),
  93. _descriptor.FieldDescriptor(
  94. name='momentum_optimizer_value', full_name='object_detection.protos.RMSPropOptimizer.momentum_optimizer_value', index=1,
  95. number=2, type=2, cpp_type=6, label=1,
  96. has_default_value=True, default_value=float(0.9),
  97. message_type=None, enum_type=None, containing_type=None,
  98. is_extension=False, extension_scope=None,
  99. options=None),
  100. _descriptor.FieldDescriptor(
  101. name='decay', full_name='object_detection.protos.RMSPropOptimizer.decay', index=2,
  102. number=3, type=2, cpp_type=6, label=1,
  103. has_default_value=True, default_value=float(0.9),
  104. message_type=None, enum_type=None, containing_type=None,
  105. is_extension=False, extension_scope=None,
  106. options=None),
  107. _descriptor.FieldDescriptor(
  108. name='epsilon', full_name='object_detection.protos.RMSPropOptimizer.epsilon', index=3,
  109. number=4, type=2, cpp_type=6, label=1,
  110. has_default_value=True, default_value=float(1),
  111. message_type=None, enum_type=None, containing_type=None,
  112. is_extension=False, extension_scope=None,
  113. options=None),
  114. ],
  115. extensions=[
  116. ],
  117. nested_types=[],
  118. enum_types=[
  119. ],
  120. options=None,
  121. is_extendable=False,
  122. syntax='proto2',
  123. extension_ranges=[],
  124. oneofs=[
  125. ],
  126. serialized_start=381,
  127. serialized_end=540,
  128. )
  129. _MOMENTUMOPTIMIZER = _descriptor.Descriptor(
  130. name='MomentumOptimizer',
  131. full_name='object_detection.protos.MomentumOptimizer',
  132. filename=None,
  133. file=DESCRIPTOR,
  134. containing_type=None,
  135. fields=[
  136. _descriptor.FieldDescriptor(
  137. name='learning_rate', full_name='object_detection.protos.MomentumOptimizer.learning_rate', index=0,
  138. number=1, type=11, cpp_type=10, label=1,
  139. has_default_value=False, default_value=None,
  140. message_type=None, enum_type=None, containing_type=None,
  141. is_extension=False, extension_scope=None,
  142. options=None),
  143. _descriptor.FieldDescriptor(
  144. name='momentum_optimizer_value', full_name='object_detection.protos.MomentumOptimizer.momentum_optimizer_value', index=1,
  145. number=2, type=2, cpp_type=6, label=1,
  146. has_default_value=True, default_value=float(0.9),
  147. message_type=None, enum_type=None, containing_type=None,
  148. is_extension=False, extension_scope=None,
  149. options=None),
  150. ],
  151. extensions=[
  152. ],
  153. nested_types=[],
  154. enum_types=[
  155. ],
  156. options=None,
  157. is_extendable=False,
  158. syntax='proto2',
  159. extension_ranges=[],
  160. oneofs=[
  161. ],
  162. serialized_start=542,
  163. serialized_end=662,
  164. )
  165. _ADAMOPTIMIZER = _descriptor.Descriptor(
  166. name='AdamOptimizer',
  167. full_name='object_detection.protos.AdamOptimizer',
  168. filename=None,
  169. file=DESCRIPTOR,
  170. containing_type=None,
  171. fields=[
  172. _descriptor.FieldDescriptor(
  173. name='learning_rate', full_name='object_detection.protos.AdamOptimizer.learning_rate', 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. options=None),
  179. ],
  180. extensions=[
  181. ],
  182. nested_types=[],
  183. enum_types=[
  184. ],
  185. options=None,
  186. is_extendable=False,
  187. syntax='proto2',
  188. extension_ranges=[],
  189. oneofs=[
  190. ],
  191. serialized_start=664,
  192. serialized_end=741,
  193. )
  194. _LEARNINGRATE = _descriptor.Descriptor(
  195. name='LearningRate',
  196. full_name='object_detection.protos.LearningRate',
  197. filename=None,
  198. file=DESCRIPTOR,
  199. containing_type=None,
  200. fields=[
  201. _descriptor.FieldDescriptor(
  202. name='constant_learning_rate', full_name='object_detection.protos.LearningRate.constant_learning_rate', index=0,
  203. number=1, type=11, cpp_type=10, label=1,
  204. has_default_value=False, default_value=None,
  205. message_type=None, enum_type=None, containing_type=None,
  206. is_extension=False, extension_scope=None,
  207. options=None),
  208. _descriptor.FieldDescriptor(
  209. name='exponential_decay_learning_rate', full_name='object_detection.protos.LearningRate.exponential_decay_learning_rate', index=1,
  210. number=2, type=11, cpp_type=10, label=1,
  211. has_default_value=False, default_value=None,
  212. message_type=None, enum_type=None, containing_type=None,
  213. is_extension=False, extension_scope=None,
  214. options=None),
  215. _descriptor.FieldDescriptor(
  216. name='manual_step_learning_rate', full_name='object_detection.protos.LearningRate.manual_step_learning_rate', index=2,
  217. number=3, type=11, cpp_type=10, label=1,
  218. has_default_value=False, default_value=None,
  219. message_type=None, enum_type=None, containing_type=None,
  220. is_extension=False, extension_scope=None,
  221. options=None),
  222. _descriptor.FieldDescriptor(
  223. name='cosine_decay_learning_rate', full_name='object_detection.protos.LearningRate.cosine_decay_learning_rate', index=3,
  224. number=4, type=11, cpp_type=10, label=1,
  225. has_default_value=False, default_value=None,
  226. message_type=None, enum_type=None, containing_type=None,
  227. is_extension=False, extension_scope=None,
  228. options=None),
  229. ],
  230. extensions=[
  231. ],
  232. nested_types=[],
  233. enum_types=[
  234. ],
  235. options=None,
  236. is_extendable=False,
  237. syntax='proto2',
  238. extension_ranges=[],
  239. oneofs=[
  240. _descriptor.OneofDescriptor(
  241. name='learning_rate', full_name='object_detection.protos.LearningRate.learning_rate',
  242. index=0, containing_type=None, fields=[]),
  243. ],
  244. serialized_start=744,
  245. serialized_end=1128,
  246. )
  247. _CONSTANTLEARNINGRATE = _descriptor.Descriptor(
  248. name='ConstantLearningRate',
  249. full_name='object_detection.protos.ConstantLearningRate',
  250. filename=None,
  251. file=DESCRIPTOR,
  252. containing_type=None,
  253. fields=[
  254. _descriptor.FieldDescriptor(
  255. name='learning_rate', full_name='object_detection.protos.ConstantLearningRate.learning_rate', index=0,
  256. number=1, type=2, cpp_type=6, label=1,
  257. has_default_value=True, default_value=float(0.002),
  258. message_type=None, enum_type=None, containing_type=None,
  259. is_extension=False, extension_scope=None,
  260. options=None),
  261. ],
  262. extensions=[
  263. ],
  264. nested_types=[],
  265. enum_types=[
  266. ],
  267. options=None,
  268. is_extendable=False,
  269. syntax='proto2',
  270. extension_ranges=[],
  271. oneofs=[
  272. ],
  273. serialized_start=1130,
  274. serialized_end=1182,
  275. )
  276. _EXPONENTIALDECAYLEARNINGRATE = _descriptor.Descriptor(
  277. name='ExponentialDecayLearningRate',
  278. full_name='object_detection.protos.ExponentialDecayLearningRate',
  279. filename=None,
  280. file=DESCRIPTOR,
  281. containing_type=None,
  282. fields=[
  283. _descriptor.FieldDescriptor(
  284. name='initial_learning_rate', full_name='object_detection.protos.ExponentialDecayLearningRate.initial_learning_rate', index=0,
  285. number=1, type=2, cpp_type=6, label=1,
  286. has_default_value=True, default_value=float(0.002),
  287. message_type=None, enum_type=None, containing_type=None,
  288. is_extension=False, extension_scope=None,
  289. options=None),
  290. _descriptor.FieldDescriptor(
  291. name='decay_steps', full_name='object_detection.protos.ExponentialDecayLearningRate.decay_steps', index=1,
  292. number=2, type=13, cpp_type=3, label=1,
  293. has_default_value=True, default_value=4000000,
  294. message_type=None, enum_type=None, containing_type=None,
  295. is_extension=False, extension_scope=None,
  296. options=None),
  297. _descriptor.FieldDescriptor(
  298. name='decay_factor', full_name='object_detection.protos.ExponentialDecayLearningRate.decay_factor', index=2,
  299. number=3, type=2, cpp_type=6, label=1,
  300. has_default_value=True, default_value=float(0.95),
  301. message_type=None, enum_type=None, containing_type=None,
  302. is_extension=False, extension_scope=None,
  303. options=None),
  304. _descriptor.FieldDescriptor(
  305. name='staircase', full_name='object_detection.protos.ExponentialDecayLearningRate.staircase', index=3,
  306. number=4, type=8, cpp_type=7, label=1,
  307. has_default_value=True, default_value=True,
  308. message_type=None, enum_type=None, containing_type=None,
  309. is_extension=False, extension_scope=None,
  310. options=None),
  311. _descriptor.FieldDescriptor(
  312. name='burnin_learning_rate', full_name='object_detection.protos.ExponentialDecayLearningRate.burnin_learning_rate', index=4,
  313. number=5, type=2, cpp_type=6, label=1,
  314. has_default_value=True, default_value=float(0),
  315. message_type=None, enum_type=None, containing_type=None,
  316. is_extension=False, extension_scope=None,
  317. options=None),
  318. _descriptor.FieldDescriptor(
  319. name='burnin_steps', full_name='object_detection.protos.ExponentialDecayLearningRate.burnin_steps', index=5,
  320. number=6, type=13, cpp_type=3, label=1,
  321. has_default_value=True, default_value=0,
  322. message_type=None, enum_type=None, containing_type=None,
  323. is_extension=False, extension_scope=None,
  324. options=None),
  325. _descriptor.FieldDescriptor(
  326. name='min_learning_rate', full_name='object_detection.protos.ExponentialDecayLearningRate.min_learning_rate', index=6,
  327. number=7, type=2, cpp_type=6, label=1,
  328. has_default_value=True, default_value=float(0),
  329. message_type=None, enum_type=None, containing_type=None,
  330. is_extension=False, extension_scope=None,
  331. options=None),
  332. ],
  333. extensions=[
  334. ],
  335. nested_types=[],
  336. enum_types=[
  337. ],
  338. options=None,
  339. is_extendable=False,
  340. syntax='proto2',
  341. extension_ranges=[],
  342. oneofs=[
  343. ],
  344. serialized_start=1185,
  345. serialized_end=1424,
  346. )
  347. _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE = _descriptor.Descriptor(
  348. name='LearningRateSchedule',
  349. full_name='object_detection.protos.ManualStepLearningRate.LearningRateSchedule',
  350. filename=None,
  351. file=DESCRIPTOR,
  352. containing_type=None,
  353. fields=[
  354. _descriptor.FieldDescriptor(
  355. name='step', full_name='object_detection.protos.ManualStepLearningRate.LearningRateSchedule.step', index=0,
  356. number=1, type=13, cpp_type=3, label=1,
  357. has_default_value=False, default_value=0,
  358. message_type=None, enum_type=None, containing_type=None,
  359. is_extension=False, extension_scope=None,
  360. options=None),
  361. _descriptor.FieldDescriptor(
  362. name='learning_rate', full_name='object_detection.protos.ManualStepLearningRate.LearningRateSchedule.learning_rate', index=1,
  363. number=2, type=2, cpp_type=6, label=1,
  364. has_default_value=True, default_value=float(0.002),
  365. message_type=None, enum_type=None, containing_type=None,
  366. is_extension=False, extension_scope=None,
  367. options=None),
  368. ],
  369. extensions=[
  370. ],
  371. nested_types=[],
  372. enum_types=[
  373. ],
  374. options=None,
  375. is_extendable=False,
  376. syntax='proto2',
  377. extension_ranges=[],
  378. oneofs=[
  379. ],
  380. serialized_start=1602,
  381. serialized_end=1668,
  382. )
  383. _MANUALSTEPLEARNINGRATE = _descriptor.Descriptor(
  384. name='ManualStepLearningRate',
  385. full_name='object_detection.protos.ManualStepLearningRate',
  386. filename=None,
  387. file=DESCRIPTOR,
  388. containing_type=None,
  389. fields=[
  390. _descriptor.FieldDescriptor(
  391. name='initial_learning_rate', full_name='object_detection.protos.ManualStepLearningRate.initial_learning_rate', index=0,
  392. number=1, type=2, cpp_type=6, label=1,
  393. has_default_value=True, default_value=float(0.002),
  394. message_type=None, enum_type=None, containing_type=None,
  395. is_extension=False, extension_scope=None,
  396. options=None),
  397. _descriptor.FieldDescriptor(
  398. name='schedule', full_name='object_detection.protos.ManualStepLearningRate.schedule', index=1,
  399. number=2, type=11, cpp_type=10, label=3,
  400. has_default_value=False, default_value=[],
  401. message_type=None, enum_type=None, containing_type=None,
  402. is_extension=False, extension_scope=None,
  403. options=None),
  404. _descriptor.FieldDescriptor(
  405. name='warmup', full_name='object_detection.protos.ManualStepLearningRate.warmup', index=2,
  406. number=3, type=8, cpp_type=7, label=1,
  407. has_default_value=True, default_value=False,
  408. message_type=None, enum_type=None, containing_type=None,
  409. is_extension=False, extension_scope=None,
  410. options=None),
  411. ],
  412. extensions=[
  413. ],
  414. nested_types=[_MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE, ],
  415. enum_types=[
  416. ],
  417. options=None,
  418. is_extendable=False,
  419. syntax='proto2',
  420. extension_ranges=[],
  421. oneofs=[
  422. ],
  423. serialized_start=1427,
  424. serialized_end=1668,
  425. )
  426. _COSINEDECAYLEARNINGRATE = _descriptor.Descriptor(
  427. name='CosineDecayLearningRate',
  428. full_name='object_detection.protos.CosineDecayLearningRate',
  429. filename=None,
  430. file=DESCRIPTOR,
  431. containing_type=None,
  432. fields=[
  433. _descriptor.FieldDescriptor(
  434. name='learning_rate_base', full_name='object_detection.protos.CosineDecayLearningRate.learning_rate_base', index=0,
  435. number=1, type=2, cpp_type=6, label=1,
  436. has_default_value=True, default_value=float(0.002),
  437. message_type=None, enum_type=None, containing_type=None,
  438. is_extension=False, extension_scope=None,
  439. options=None),
  440. _descriptor.FieldDescriptor(
  441. name='total_steps', full_name='object_detection.protos.CosineDecayLearningRate.total_steps', index=1,
  442. number=2, type=13, cpp_type=3, label=1,
  443. has_default_value=True, default_value=4000000,
  444. message_type=None, enum_type=None, containing_type=None,
  445. is_extension=False, extension_scope=None,
  446. options=None),
  447. _descriptor.FieldDescriptor(
  448. name='warmup_learning_rate', full_name='object_detection.protos.CosineDecayLearningRate.warmup_learning_rate', index=2,
  449. number=3, type=2, cpp_type=6, label=1,
  450. has_default_value=True, default_value=float(0.0002),
  451. message_type=None, enum_type=None, containing_type=None,
  452. is_extension=False, extension_scope=None,
  453. options=None),
  454. _descriptor.FieldDescriptor(
  455. name='warmup_steps', full_name='object_detection.protos.CosineDecayLearningRate.warmup_steps', index=3,
  456. number=4, type=13, cpp_type=3, label=1,
  457. has_default_value=True, default_value=10000,
  458. message_type=None, enum_type=None, containing_type=None,
  459. is_extension=False, extension_scope=None,
  460. options=None),
  461. _descriptor.FieldDescriptor(
  462. name='hold_base_rate_steps', full_name='object_detection.protos.CosineDecayLearningRate.hold_base_rate_steps', index=4,
  463. number=5, type=13, cpp_type=3, label=1,
  464. has_default_value=True, default_value=0,
  465. message_type=None, enum_type=None, containing_type=None,
  466. is_extension=False, extension_scope=None,
  467. options=None),
  468. ],
  469. extensions=[
  470. ],
  471. nested_types=[],
  472. enum_types=[
  473. ],
  474. options=None,
  475. is_extendable=False,
  476. syntax='proto2',
  477. extension_ranges=[],
  478. oneofs=[
  479. ],
  480. serialized_start=1671,
  481. serialized_end=1861,
  482. )
  483. _OPTIMIZER.fields_by_name['rms_prop_optimizer'].message_type = _RMSPROPOPTIMIZER
  484. _OPTIMIZER.fields_by_name['momentum_optimizer'].message_type = _MOMENTUMOPTIMIZER
  485. _OPTIMIZER.fields_by_name['adam_optimizer'].message_type = _ADAMOPTIMIZER
  486. _OPTIMIZER.oneofs_by_name['optimizer'].fields.append(
  487. _OPTIMIZER.fields_by_name['rms_prop_optimizer'])
  488. _OPTIMIZER.fields_by_name['rms_prop_optimizer'].containing_oneof = _OPTIMIZER.oneofs_by_name['optimizer']
  489. _OPTIMIZER.oneofs_by_name['optimizer'].fields.append(
  490. _OPTIMIZER.fields_by_name['momentum_optimizer'])
  491. _OPTIMIZER.fields_by_name['momentum_optimizer'].containing_oneof = _OPTIMIZER.oneofs_by_name['optimizer']
  492. _OPTIMIZER.oneofs_by_name['optimizer'].fields.append(
  493. _OPTIMIZER.fields_by_name['adam_optimizer'])
  494. _OPTIMIZER.fields_by_name['adam_optimizer'].containing_oneof = _OPTIMIZER.oneofs_by_name['optimizer']
  495. _RMSPROPOPTIMIZER.fields_by_name['learning_rate'].message_type = _LEARNINGRATE
  496. _MOMENTUMOPTIMIZER.fields_by_name['learning_rate'].message_type = _LEARNINGRATE
  497. _ADAMOPTIMIZER.fields_by_name['learning_rate'].message_type = _LEARNINGRATE
  498. _LEARNINGRATE.fields_by_name['constant_learning_rate'].message_type = _CONSTANTLEARNINGRATE
  499. _LEARNINGRATE.fields_by_name['exponential_decay_learning_rate'].message_type = _EXPONENTIALDECAYLEARNINGRATE
  500. _LEARNINGRATE.fields_by_name['manual_step_learning_rate'].message_type = _MANUALSTEPLEARNINGRATE
  501. _LEARNINGRATE.fields_by_name['cosine_decay_learning_rate'].message_type = _COSINEDECAYLEARNINGRATE
  502. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  503. _LEARNINGRATE.fields_by_name['constant_learning_rate'])
  504. _LEARNINGRATE.fields_by_name['constant_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  505. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  506. _LEARNINGRATE.fields_by_name['exponential_decay_learning_rate'])
  507. _LEARNINGRATE.fields_by_name['exponential_decay_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  508. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  509. _LEARNINGRATE.fields_by_name['manual_step_learning_rate'])
  510. _LEARNINGRATE.fields_by_name['manual_step_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  511. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  512. _LEARNINGRATE.fields_by_name['cosine_decay_learning_rate'])
  513. _LEARNINGRATE.fields_by_name['cosine_decay_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  514. _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE.containing_type = _MANUALSTEPLEARNINGRATE
  515. _MANUALSTEPLEARNINGRATE.fields_by_name['schedule'].message_type = _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE
  516. DESCRIPTOR.message_types_by_name['Optimizer'] = _OPTIMIZER
  517. DESCRIPTOR.message_types_by_name['RMSPropOptimizer'] = _RMSPROPOPTIMIZER
  518. DESCRIPTOR.message_types_by_name['MomentumOptimizer'] = _MOMENTUMOPTIMIZER
  519. DESCRIPTOR.message_types_by_name['AdamOptimizer'] = _ADAMOPTIMIZER
  520. DESCRIPTOR.message_types_by_name['LearningRate'] = _LEARNINGRATE
  521. DESCRIPTOR.message_types_by_name['ConstantLearningRate'] = _CONSTANTLEARNINGRATE
  522. DESCRIPTOR.message_types_by_name['ExponentialDecayLearningRate'] = _EXPONENTIALDECAYLEARNINGRATE
  523. DESCRIPTOR.message_types_by_name['ManualStepLearningRate'] = _MANUALSTEPLEARNINGRATE
  524. DESCRIPTOR.message_types_by_name['CosineDecayLearningRate'] = _COSINEDECAYLEARNINGRATE
  525. Optimizer = _reflection.GeneratedProtocolMessageType('Optimizer', (_message.Message,), dict(
  526. DESCRIPTOR = _OPTIMIZER,
  527. __module__ = 'object_detection.protos.optimizer_pb2'
  528. # @@protoc_insertion_point(class_scope:object_detection.protos.Optimizer)
  529. ))
  530. _sym_db.RegisterMessage(Optimizer)
  531. RMSPropOptimizer = _reflection.GeneratedProtocolMessageType('RMSPropOptimizer', (_message.Message,), dict(
  532. DESCRIPTOR = _RMSPROPOPTIMIZER,
  533. __module__ = 'object_detection.protos.optimizer_pb2'
  534. # @@protoc_insertion_point(class_scope:object_detection.protos.RMSPropOptimizer)
  535. ))
  536. _sym_db.RegisterMessage(RMSPropOptimizer)
  537. MomentumOptimizer = _reflection.GeneratedProtocolMessageType('MomentumOptimizer', (_message.Message,), dict(
  538. DESCRIPTOR = _MOMENTUMOPTIMIZER,
  539. __module__ = 'object_detection.protos.optimizer_pb2'
  540. # @@protoc_insertion_point(class_scope:object_detection.protos.MomentumOptimizer)
  541. ))
  542. _sym_db.RegisterMessage(MomentumOptimizer)
  543. AdamOptimizer = _reflection.GeneratedProtocolMessageType('AdamOptimizer', (_message.Message,), dict(
  544. DESCRIPTOR = _ADAMOPTIMIZER,
  545. __module__ = 'object_detection.protos.optimizer_pb2'
  546. # @@protoc_insertion_point(class_scope:object_detection.protos.AdamOptimizer)
  547. ))
  548. _sym_db.RegisterMessage(AdamOptimizer)
  549. LearningRate = _reflection.GeneratedProtocolMessageType('LearningRate', (_message.Message,), dict(
  550. DESCRIPTOR = _LEARNINGRATE,
  551. __module__ = 'object_detection.protos.optimizer_pb2'
  552. # @@protoc_insertion_point(class_scope:object_detection.protos.LearningRate)
  553. ))
  554. _sym_db.RegisterMessage(LearningRate)
  555. ConstantLearningRate = _reflection.GeneratedProtocolMessageType('ConstantLearningRate', (_message.Message,), dict(
  556. DESCRIPTOR = _CONSTANTLEARNINGRATE,
  557. __module__ = 'object_detection.protos.optimizer_pb2'
  558. # @@protoc_insertion_point(class_scope:object_detection.protos.ConstantLearningRate)
  559. ))
  560. _sym_db.RegisterMessage(ConstantLearningRate)
  561. ExponentialDecayLearningRate = _reflection.GeneratedProtocolMessageType('ExponentialDecayLearningRate', (_message.Message,), dict(
  562. DESCRIPTOR = _EXPONENTIALDECAYLEARNINGRATE,
  563. __module__ = 'object_detection.protos.optimizer_pb2'
  564. # @@protoc_insertion_point(class_scope:object_detection.protos.ExponentialDecayLearningRate)
  565. ))
  566. _sym_db.RegisterMessage(ExponentialDecayLearningRate)
  567. ManualStepLearningRate = _reflection.GeneratedProtocolMessageType('ManualStepLearningRate', (_message.Message,), dict(
  568. LearningRateSchedule = _reflection.GeneratedProtocolMessageType('LearningRateSchedule', (_message.Message,), dict(
  569. DESCRIPTOR = _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE,
  570. __module__ = 'object_detection.protos.optimizer_pb2'
  571. # @@protoc_insertion_point(class_scope:object_detection.protos.ManualStepLearningRate.LearningRateSchedule)
  572. ))
  573. ,
  574. DESCRIPTOR = _MANUALSTEPLEARNINGRATE,
  575. __module__ = 'object_detection.protos.optimizer_pb2'
  576. # @@protoc_insertion_point(class_scope:object_detection.protos.ManualStepLearningRate)
  577. ))
  578. _sym_db.RegisterMessage(ManualStepLearningRate)
  579. _sym_db.RegisterMessage(ManualStepLearningRate.LearningRateSchedule)
  580. CosineDecayLearningRate = _reflection.GeneratedProtocolMessageType('CosineDecayLearningRate', (_message.Message,), dict(
  581. DESCRIPTOR = _COSINEDECAYLEARNINGRATE,
  582. __module__ = 'object_detection.protos.optimizer_pb2'
  583. # @@protoc_insertion_point(class_scope:object_detection.protos.CosineDecayLearningRate)
  584. ))
  585. _sym_db.RegisterMessage(CosineDecayLearningRate)
  586. # @@protoc_insertion_point(module_scope)