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
28 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/optimizer.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/optimizer.proto',
  13. package='object_detection.protos',
  14. syntax='proto2',
  15. serialized_options=None,
  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. _OPTIMIZER = _descriptor.Descriptor(
  19. name='Optimizer',
  20. full_name='object_detection.protos.Optimizer',
  21. filename=None,
  22. file=DESCRIPTOR,
  23. containing_type=None,
  24. fields=[
  25. _descriptor.FieldDescriptor(
  26. name='rms_prop_optimizer', full_name='object_detection.protos.Optimizer.rms_prop_optimizer', index=0,
  27. number=1, type=11, cpp_type=10, label=1,
  28. has_default_value=False, default_value=None,
  29. message_type=None, enum_type=None, containing_type=None,
  30. is_extension=False, extension_scope=None,
  31. serialized_options=None, file=DESCRIPTOR),
  32. _descriptor.FieldDescriptor(
  33. name='momentum_optimizer', full_name='object_detection.protos.Optimizer.momentum_optimizer', index=1,
  34. number=2, type=11, cpp_type=10, label=1,
  35. has_default_value=False, default_value=None,
  36. message_type=None, enum_type=None, containing_type=None,
  37. is_extension=False, extension_scope=None,
  38. serialized_options=None, file=DESCRIPTOR),
  39. _descriptor.FieldDescriptor(
  40. name='adam_optimizer', full_name='object_detection.protos.Optimizer.adam_optimizer', index=2,
  41. number=3, type=11, cpp_type=10, label=1,
  42. has_default_value=False, default_value=None,
  43. message_type=None, enum_type=None, containing_type=None,
  44. is_extension=False, extension_scope=None,
  45. serialized_options=None, file=DESCRIPTOR),
  46. _descriptor.FieldDescriptor(
  47. name='use_moving_average', full_name='object_detection.protos.Optimizer.use_moving_average', index=3,
  48. number=4, type=8, cpp_type=7, label=1,
  49. has_default_value=True, default_value=True,
  50. message_type=None, enum_type=None, containing_type=None,
  51. is_extension=False, extension_scope=None,
  52. serialized_options=None, file=DESCRIPTOR),
  53. _descriptor.FieldDescriptor(
  54. name='moving_average_decay', full_name='object_detection.protos.Optimizer.moving_average_decay', index=4,
  55. number=5, type=2, cpp_type=6, label=1,
  56. has_default_value=True, default_value=float(0.9999),
  57. message_type=None, enum_type=None, containing_type=None,
  58. is_extension=False, extension_scope=None,
  59. serialized_options=None, file=DESCRIPTOR),
  60. ],
  61. extensions=[
  62. ],
  63. nested_types=[],
  64. enum_types=[
  65. ],
  66. serialized_options=None,
  67. is_extendable=False,
  68. syntax='proto2',
  69. extension_ranges=[],
  70. oneofs=[
  71. _descriptor.OneofDescriptor(
  72. name='optimizer', full_name='object_detection.protos.Optimizer.optimizer',
  73. index=0, containing_type=None, fields=[]),
  74. ],
  75. serialized_start=69,
  76. serialized_end=378,
  77. )
  78. _RMSPROPOPTIMIZER = _descriptor.Descriptor(
  79. name='RMSPropOptimizer',
  80. full_name='object_detection.protos.RMSPropOptimizer',
  81. filename=None,
  82. file=DESCRIPTOR,
  83. containing_type=None,
  84. fields=[
  85. _descriptor.FieldDescriptor(
  86. name='learning_rate', full_name='object_detection.protos.RMSPropOptimizer.learning_rate', index=0,
  87. number=1, type=11, cpp_type=10, label=1,
  88. has_default_value=False, default_value=None,
  89. message_type=None, enum_type=None, containing_type=None,
  90. is_extension=False, extension_scope=None,
  91. serialized_options=None, file=DESCRIPTOR),
  92. _descriptor.FieldDescriptor(
  93. name='momentum_optimizer_value', full_name='object_detection.protos.RMSPropOptimizer.momentum_optimizer_value', index=1,
  94. number=2, type=2, cpp_type=6, label=1,
  95. has_default_value=True, default_value=float(0.9),
  96. message_type=None, enum_type=None, containing_type=None,
  97. is_extension=False, extension_scope=None,
  98. serialized_options=None, file=DESCRIPTOR),
  99. _descriptor.FieldDescriptor(
  100. name='decay', full_name='object_detection.protos.RMSPropOptimizer.decay', index=2,
  101. number=3, type=2, cpp_type=6, label=1,
  102. has_default_value=True, default_value=float(0.9),
  103. message_type=None, enum_type=None, containing_type=None,
  104. is_extension=False, extension_scope=None,
  105. serialized_options=None, file=DESCRIPTOR),
  106. _descriptor.FieldDescriptor(
  107. name='epsilon', full_name='object_detection.protos.RMSPropOptimizer.epsilon', index=3,
  108. number=4, type=2, cpp_type=6, label=1,
  109. has_default_value=True, default_value=float(1),
  110. message_type=None, enum_type=None, containing_type=None,
  111. is_extension=False, extension_scope=None,
  112. serialized_options=None, file=DESCRIPTOR),
  113. ],
  114. extensions=[
  115. ],
  116. nested_types=[],
  117. enum_types=[
  118. ],
  119. serialized_options=None,
  120. is_extendable=False,
  121. syntax='proto2',
  122. extension_ranges=[],
  123. oneofs=[
  124. ],
  125. serialized_start=381,
  126. serialized_end=540,
  127. )
  128. _MOMENTUMOPTIMIZER = _descriptor.Descriptor(
  129. name='MomentumOptimizer',
  130. full_name='object_detection.protos.MomentumOptimizer',
  131. filename=None,
  132. file=DESCRIPTOR,
  133. containing_type=None,
  134. fields=[
  135. _descriptor.FieldDescriptor(
  136. name='learning_rate', full_name='object_detection.protos.MomentumOptimizer.learning_rate', index=0,
  137. number=1, type=11, cpp_type=10, label=1,
  138. has_default_value=False, default_value=None,
  139. message_type=None, enum_type=None, containing_type=None,
  140. is_extension=False, extension_scope=None,
  141. serialized_options=None, file=DESCRIPTOR),
  142. _descriptor.FieldDescriptor(
  143. name='momentum_optimizer_value', full_name='object_detection.protos.MomentumOptimizer.momentum_optimizer_value', index=1,
  144. number=2, type=2, cpp_type=6, label=1,
  145. has_default_value=True, default_value=float(0.9),
  146. message_type=None, enum_type=None, containing_type=None,
  147. is_extension=False, extension_scope=None,
  148. serialized_options=None, file=DESCRIPTOR),
  149. ],
  150. extensions=[
  151. ],
  152. nested_types=[],
  153. enum_types=[
  154. ],
  155. serialized_options=None,
  156. is_extendable=False,
  157. syntax='proto2',
  158. extension_ranges=[],
  159. oneofs=[
  160. ],
  161. serialized_start=542,
  162. serialized_end=662,
  163. )
  164. _ADAMOPTIMIZER = _descriptor.Descriptor(
  165. name='AdamOptimizer',
  166. full_name='object_detection.protos.AdamOptimizer',
  167. filename=None,
  168. file=DESCRIPTOR,
  169. containing_type=None,
  170. fields=[
  171. _descriptor.FieldDescriptor(
  172. name='learning_rate', full_name='object_detection.protos.AdamOptimizer.learning_rate', index=0,
  173. number=1, type=11, cpp_type=10, label=1,
  174. has_default_value=False, default_value=None,
  175. message_type=None, enum_type=None, containing_type=None,
  176. is_extension=False, extension_scope=None,
  177. serialized_options=None, file=DESCRIPTOR),
  178. ],
  179. extensions=[
  180. ],
  181. nested_types=[],
  182. enum_types=[
  183. ],
  184. serialized_options=None,
  185. is_extendable=False,
  186. syntax='proto2',
  187. extension_ranges=[],
  188. oneofs=[
  189. ],
  190. serialized_start=664,
  191. serialized_end=741,
  192. )
  193. _LEARNINGRATE = _descriptor.Descriptor(
  194. name='LearningRate',
  195. full_name='object_detection.protos.LearningRate',
  196. filename=None,
  197. file=DESCRIPTOR,
  198. containing_type=None,
  199. fields=[
  200. _descriptor.FieldDescriptor(
  201. name='constant_learning_rate', full_name='object_detection.protos.LearningRate.constant_learning_rate', index=0,
  202. number=1, type=11, cpp_type=10, label=1,
  203. has_default_value=False, default_value=None,
  204. message_type=None, enum_type=None, containing_type=None,
  205. is_extension=False, extension_scope=None,
  206. serialized_options=None, file=DESCRIPTOR),
  207. _descriptor.FieldDescriptor(
  208. name='exponential_decay_learning_rate', full_name='object_detection.protos.LearningRate.exponential_decay_learning_rate', index=1,
  209. number=2, type=11, cpp_type=10, label=1,
  210. has_default_value=False, default_value=None,
  211. message_type=None, enum_type=None, containing_type=None,
  212. is_extension=False, extension_scope=None,
  213. serialized_options=None, file=DESCRIPTOR),
  214. _descriptor.FieldDescriptor(
  215. name='manual_step_learning_rate', full_name='object_detection.protos.LearningRate.manual_step_learning_rate', index=2,
  216. number=3, type=11, cpp_type=10, label=1,
  217. has_default_value=False, default_value=None,
  218. message_type=None, enum_type=None, containing_type=None,
  219. is_extension=False, extension_scope=None,
  220. serialized_options=None, file=DESCRIPTOR),
  221. _descriptor.FieldDescriptor(
  222. name='cosine_decay_learning_rate', full_name='object_detection.protos.LearningRate.cosine_decay_learning_rate', index=3,
  223. number=4, type=11, cpp_type=10, label=1,
  224. has_default_value=False, default_value=None,
  225. message_type=None, enum_type=None, containing_type=None,
  226. is_extension=False, extension_scope=None,
  227. serialized_options=None, file=DESCRIPTOR),
  228. ],
  229. extensions=[
  230. ],
  231. nested_types=[],
  232. enum_types=[
  233. ],
  234. serialized_options=None,
  235. is_extendable=False,
  236. syntax='proto2',
  237. extension_ranges=[],
  238. oneofs=[
  239. _descriptor.OneofDescriptor(
  240. name='learning_rate', full_name='object_detection.protos.LearningRate.learning_rate',
  241. index=0, containing_type=None, fields=[]),
  242. ],
  243. serialized_start=744,
  244. serialized_end=1128,
  245. )
  246. _CONSTANTLEARNINGRATE = _descriptor.Descriptor(
  247. name='ConstantLearningRate',
  248. full_name='object_detection.protos.ConstantLearningRate',
  249. filename=None,
  250. file=DESCRIPTOR,
  251. containing_type=None,
  252. fields=[
  253. _descriptor.FieldDescriptor(
  254. name='learning_rate', full_name='object_detection.protos.ConstantLearningRate.learning_rate', index=0,
  255. number=1, type=2, cpp_type=6, label=1,
  256. has_default_value=True, default_value=float(0.002),
  257. message_type=None, enum_type=None, containing_type=None,
  258. is_extension=False, extension_scope=None,
  259. serialized_options=None, file=DESCRIPTOR),
  260. ],
  261. extensions=[
  262. ],
  263. nested_types=[],
  264. enum_types=[
  265. ],
  266. serialized_options=None,
  267. is_extendable=False,
  268. syntax='proto2',
  269. extension_ranges=[],
  270. oneofs=[
  271. ],
  272. serialized_start=1130,
  273. serialized_end=1182,
  274. )
  275. _EXPONENTIALDECAYLEARNINGRATE = _descriptor.Descriptor(
  276. name='ExponentialDecayLearningRate',
  277. full_name='object_detection.protos.ExponentialDecayLearningRate',
  278. filename=None,
  279. file=DESCRIPTOR,
  280. containing_type=None,
  281. fields=[
  282. _descriptor.FieldDescriptor(
  283. name='initial_learning_rate', full_name='object_detection.protos.ExponentialDecayLearningRate.initial_learning_rate', index=0,
  284. number=1, type=2, cpp_type=6, label=1,
  285. has_default_value=True, default_value=float(0.002),
  286. message_type=None, enum_type=None, containing_type=None,
  287. is_extension=False, extension_scope=None,
  288. serialized_options=None, file=DESCRIPTOR),
  289. _descriptor.FieldDescriptor(
  290. name='decay_steps', full_name='object_detection.protos.ExponentialDecayLearningRate.decay_steps', index=1,
  291. number=2, type=13, cpp_type=3, label=1,
  292. has_default_value=True, default_value=4000000,
  293. message_type=None, enum_type=None, containing_type=None,
  294. is_extension=False, extension_scope=None,
  295. serialized_options=None, file=DESCRIPTOR),
  296. _descriptor.FieldDescriptor(
  297. name='decay_factor', full_name='object_detection.protos.ExponentialDecayLearningRate.decay_factor', index=2,
  298. number=3, type=2, cpp_type=6, label=1,
  299. has_default_value=True, default_value=float(0.95),
  300. message_type=None, enum_type=None, containing_type=None,
  301. is_extension=False, extension_scope=None,
  302. serialized_options=None, file=DESCRIPTOR),
  303. _descriptor.FieldDescriptor(
  304. name='staircase', full_name='object_detection.protos.ExponentialDecayLearningRate.staircase', index=3,
  305. number=4, type=8, cpp_type=7, label=1,
  306. has_default_value=True, default_value=True,
  307. message_type=None, enum_type=None, containing_type=None,
  308. is_extension=False, extension_scope=None,
  309. serialized_options=None, file=DESCRIPTOR),
  310. _descriptor.FieldDescriptor(
  311. name='burnin_learning_rate', full_name='object_detection.protos.ExponentialDecayLearningRate.burnin_learning_rate', index=4,
  312. number=5, type=2, cpp_type=6, label=1,
  313. has_default_value=True, default_value=float(0),
  314. message_type=None, enum_type=None, containing_type=None,
  315. is_extension=False, extension_scope=None,
  316. serialized_options=None, file=DESCRIPTOR),
  317. _descriptor.FieldDescriptor(
  318. name='burnin_steps', full_name='object_detection.protos.ExponentialDecayLearningRate.burnin_steps', index=5,
  319. number=6, type=13, cpp_type=3, label=1,
  320. has_default_value=True, default_value=0,
  321. message_type=None, enum_type=None, containing_type=None,
  322. is_extension=False, extension_scope=None,
  323. serialized_options=None, file=DESCRIPTOR),
  324. _descriptor.FieldDescriptor(
  325. name='min_learning_rate', full_name='object_detection.protos.ExponentialDecayLearningRate.min_learning_rate', index=6,
  326. number=7, type=2, cpp_type=6, label=1,
  327. has_default_value=True, default_value=float(0),
  328. message_type=None, enum_type=None, containing_type=None,
  329. is_extension=False, extension_scope=None,
  330. serialized_options=None, file=DESCRIPTOR),
  331. ],
  332. extensions=[
  333. ],
  334. nested_types=[],
  335. enum_types=[
  336. ],
  337. serialized_options=None,
  338. is_extendable=False,
  339. syntax='proto2',
  340. extension_ranges=[],
  341. oneofs=[
  342. ],
  343. serialized_start=1185,
  344. serialized_end=1424,
  345. )
  346. _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE = _descriptor.Descriptor(
  347. name='LearningRateSchedule',
  348. full_name='object_detection.protos.ManualStepLearningRate.LearningRateSchedule',
  349. filename=None,
  350. file=DESCRIPTOR,
  351. containing_type=None,
  352. fields=[
  353. _descriptor.FieldDescriptor(
  354. name='step', full_name='object_detection.protos.ManualStepLearningRate.LearningRateSchedule.step', index=0,
  355. number=1, type=13, cpp_type=3, label=1,
  356. has_default_value=False, default_value=0,
  357. message_type=None, enum_type=None, containing_type=None,
  358. is_extension=False, extension_scope=None,
  359. serialized_options=None, file=DESCRIPTOR),
  360. _descriptor.FieldDescriptor(
  361. name='learning_rate', full_name='object_detection.protos.ManualStepLearningRate.LearningRateSchedule.learning_rate', index=1,
  362. number=2, type=2, cpp_type=6, label=1,
  363. has_default_value=True, default_value=float(0.002),
  364. message_type=None, enum_type=None, containing_type=None,
  365. is_extension=False, extension_scope=None,
  366. serialized_options=None, file=DESCRIPTOR),
  367. ],
  368. extensions=[
  369. ],
  370. nested_types=[],
  371. enum_types=[
  372. ],
  373. serialized_options=None,
  374. is_extendable=False,
  375. syntax='proto2',
  376. extension_ranges=[],
  377. oneofs=[
  378. ],
  379. serialized_start=1602,
  380. serialized_end=1668,
  381. )
  382. _MANUALSTEPLEARNINGRATE = _descriptor.Descriptor(
  383. name='ManualStepLearningRate',
  384. full_name='object_detection.protos.ManualStepLearningRate',
  385. filename=None,
  386. file=DESCRIPTOR,
  387. containing_type=None,
  388. fields=[
  389. _descriptor.FieldDescriptor(
  390. name='initial_learning_rate', full_name='object_detection.protos.ManualStepLearningRate.initial_learning_rate', index=0,
  391. number=1, type=2, cpp_type=6, label=1,
  392. has_default_value=True, default_value=float(0.002),
  393. message_type=None, enum_type=None, containing_type=None,
  394. is_extension=False, extension_scope=None,
  395. serialized_options=None, file=DESCRIPTOR),
  396. _descriptor.FieldDescriptor(
  397. name='schedule', full_name='object_detection.protos.ManualStepLearningRate.schedule', index=1,
  398. number=2, type=11, cpp_type=10, label=3,
  399. has_default_value=False, default_value=[],
  400. message_type=None, enum_type=None, containing_type=None,
  401. is_extension=False, extension_scope=None,
  402. serialized_options=None, file=DESCRIPTOR),
  403. _descriptor.FieldDescriptor(
  404. name='warmup', full_name='object_detection.protos.ManualStepLearningRate.warmup', index=2,
  405. number=3, type=8, cpp_type=7, label=1,
  406. has_default_value=True, default_value=False,
  407. message_type=None, enum_type=None, containing_type=None,
  408. is_extension=False, extension_scope=None,
  409. serialized_options=None, file=DESCRIPTOR),
  410. ],
  411. extensions=[
  412. ],
  413. nested_types=[_MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE, ],
  414. enum_types=[
  415. ],
  416. serialized_options=None,
  417. is_extendable=False,
  418. syntax='proto2',
  419. extension_ranges=[],
  420. oneofs=[
  421. ],
  422. serialized_start=1427,
  423. serialized_end=1668,
  424. )
  425. _COSINEDECAYLEARNINGRATE = _descriptor.Descriptor(
  426. name='CosineDecayLearningRate',
  427. full_name='object_detection.protos.CosineDecayLearningRate',
  428. filename=None,
  429. file=DESCRIPTOR,
  430. containing_type=None,
  431. fields=[
  432. _descriptor.FieldDescriptor(
  433. name='learning_rate_base', full_name='object_detection.protos.CosineDecayLearningRate.learning_rate_base', index=0,
  434. number=1, type=2, cpp_type=6, label=1,
  435. has_default_value=True, default_value=float(0.002),
  436. message_type=None, enum_type=None, containing_type=None,
  437. is_extension=False, extension_scope=None,
  438. serialized_options=None, file=DESCRIPTOR),
  439. _descriptor.FieldDescriptor(
  440. name='total_steps', full_name='object_detection.protos.CosineDecayLearningRate.total_steps', index=1,
  441. number=2, type=13, cpp_type=3, label=1,
  442. has_default_value=True, default_value=4000000,
  443. message_type=None, enum_type=None, containing_type=None,
  444. is_extension=False, extension_scope=None,
  445. serialized_options=None, file=DESCRIPTOR),
  446. _descriptor.FieldDescriptor(
  447. name='warmup_learning_rate', full_name='object_detection.protos.CosineDecayLearningRate.warmup_learning_rate', index=2,
  448. number=3, type=2, cpp_type=6, label=1,
  449. has_default_value=True, default_value=float(0.0002),
  450. message_type=None, enum_type=None, containing_type=None,
  451. is_extension=False, extension_scope=None,
  452. serialized_options=None, file=DESCRIPTOR),
  453. _descriptor.FieldDescriptor(
  454. name='warmup_steps', full_name='object_detection.protos.CosineDecayLearningRate.warmup_steps', index=3,
  455. number=4, type=13, cpp_type=3, label=1,
  456. has_default_value=True, default_value=10000,
  457. message_type=None, enum_type=None, containing_type=None,
  458. is_extension=False, extension_scope=None,
  459. serialized_options=None, file=DESCRIPTOR),
  460. _descriptor.FieldDescriptor(
  461. name='hold_base_rate_steps', full_name='object_detection.protos.CosineDecayLearningRate.hold_base_rate_steps', index=4,
  462. number=5, type=13, cpp_type=3, label=1,
  463. has_default_value=True, default_value=0,
  464. message_type=None, enum_type=None, containing_type=None,
  465. is_extension=False, extension_scope=None,
  466. serialized_options=None, file=DESCRIPTOR),
  467. ],
  468. extensions=[
  469. ],
  470. nested_types=[],
  471. enum_types=[
  472. ],
  473. serialized_options=None,
  474. is_extendable=False,
  475. syntax='proto2',
  476. extension_ranges=[],
  477. oneofs=[
  478. ],
  479. serialized_start=1671,
  480. serialized_end=1861,
  481. )
  482. _OPTIMIZER.fields_by_name['rms_prop_optimizer'].message_type = _RMSPROPOPTIMIZER
  483. _OPTIMIZER.fields_by_name['momentum_optimizer'].message_type = _MOMENTUMOPTIMIZER
  484. _OPTIMIZER.fields_by_name['adam_optimizer'].message_type = _ADAMOPTIMIZER
  485. _OPTIMIZER.oneofs_by_name['optimizer'].fields.append(
  486. _OPTIMIZER.fields_by_name['rms_prop_optimizer'])
  487. _OPTIMIZER.fields_by_name['rms_prop_optimizer'].containing_oneof = _OPTIMIZER.oneofs_by_name['optimizer']
  488. _OPTIMIZER.oneofs_by_name['optimizer'].fields.append(
  489. _OPTIMIZER.fields_by_name['momentum_optimizer'])
  490. _OPTIMIZER.fields_by_name['momentum_optimizer'].containing_oneof = _OPTIMIZER.oneofs_by_name['optimizer']
  491. _OPTIMIZER.oneofs_by_name['optimizer'].fields.append(
  492. _OPTIMIZER.fields_by_name['adam_optimizer'])
  493. _OPTIMIZER.fields_by_name['adam_optimizer'].containing_oneof = _OPTIMIZER.oneofs_by_name['optimizer']
  494. _RMSPROPOPTIMIZER.fields_by_name['learning_rate'].message_type = _LEARNINGRATE
  495. _MOMENTUMOPTIMIZER.fields_by_name['learning_rate'].message_type = _LEARNINGRATE
  496. _ADAMOPTIMIZER.fields_by_name['learning_rate'].message_type = _LEARNINGRATE
  497. _LEARNINGRATE.fields_by_name['constant_learning_rate'].message_type = _CONSTANTLEARNINGRATE
  498. _LEARNINGRATE.fields_by_name['exponential_decay_learning_rate'].message_type = _EXPONENTIALDECAYLEARNINGRATE
  499. _LEARNINGRATE.fields_by_name['manual_step_learning_rate'].message_type = _MANUALSTEPLEARNINGRATE
  500. _LEARNINGRATE.fields_by_name['cosine_decay_learning_rate'].message_type = _COSINEDECAYLEARNINGRATE
  501. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  502. _LEARNINGRATE.fields_by_name['constant_learning_rate'])
  503. _LEARNINGRATE.fields_by_name['constant_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  504. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  505. _LEARNINGRATE.fields_by_name['exponential_decay_learning_rate'])
  506. _LEARNINGRATE.fields_by_name['exponential_decay_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  507. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  508. _LEARNINGRATE.fields_by_name['manual_step_learning_rate'])
  509. _LEARNINGRATE.fields_by_name['manual_step_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  510. _LEARNINGRATE.oneofs_by_name['learning_rate'].fields.append(
  511. _LEARNINGRATE.fields_by_name['cosine_decay_learning_rate'])
  512. _LEARNINGRATE.fields_by_name['cosine_decay_learning_rate'].containing_oneof = _LEARNINGRATE.oneofs_by_name['learning_rate']
  513. _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE.containing_type = _MANUALSTEPLEARNINGRATE
  514. _MANUALSTEPLEARNINGRATE.fields_by_name['schedule'].message_type = _MANUALSTEPLEARNINGRATE_LEARNINGRATESCHEDULE
  515. DESCRIPTOR.message_types_by_name['Optimizer'] = _OPTIMIZER
  516. DESCRIPTOR.message_types_by_name['RMSPropOptimizer'] = _RMSPROPOPTIMIZER
  517. DESCRIPTOR.message_types_by_name['MomentumOptimizer'] = _MOMENTUMOPTIMIZER
  518. DESCRIPTOR.message_types_by_name['AdamOptimizer'] = _ADAMOPTIMIZER
  519. DESCRIPTOR.message_types_by_name['LearningRate'] = _LEARNINGRATE
  520. DESCRIPTOR.message_types_by_name['ConstantLearningRate'] = _CONSTANTLEARNINGRATE
  521. DESCRIPTOR.message_types_by_name['ExponentialDecayLearningRate'] = _EXPONENTIALDECAYLEARNINGRATE
  522. DESCRIPTOR.message_types_by_name['ManualStepLearningRate'] = _MANUALSTEPLEARNINGRATE
  523. DESCRIPTOR.message_types_by_name['CosineDecayLearningRate'] = _COSINEDECAYLEARNINGRATE
  524. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  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)