Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
89bd20c5
Commit
89bd20c5
authored
Sep 28, 2022
by
Chen Qian
Committed by
A. Unique TensorFlower
Sep 28, 2022
Browse files
Make new Keras optimizer available in MG's github repo.
PiperOrigin-RevId: 477566690
parent
2d3235f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/modeling/optimization/optimizer_factory.py
official/modeling/optimization/optimizer_factory.py
+2
-2
No files found.
official/modeling/optimization/optimizer_factory.py
View file @
89bd20c5
...
@@ -29,8 +29,8 @@ from official.modeling.optimization.configs import optimization_config as opt_cf
...
@@ -29,8 +29,8 @@ from official.modeling.optimization.configs import optimization_config as opt_cf
# Optimizer CLS to be used in both legacy and new path.
# Optimizer CLS to be used in both legacy and new path.
SHARED_OPTIMIZERS
=
{
SHARED_OPTIMIZERS
=
{
# TODO(chenmoneygithub):
experimental.SGD
'sgd_experimental'
:
tf
.
keras
.
optimizers
.
experimental
.
SGD
,
# TODO(chenmoneygithub):
experimental.Adam
'adam_experimental'
:
tf
.
keras
.
optimizers
.
experimental
.
Adam
,
'adamw'
:
legacy_adamw
.
AdamWeightDecay
,
'adamw'
:
legacy_adamw
.
AdamWeightDecay
,
'adamw_experimental'
:
tf
.
keras
.
optimizers
.
experimental
.
AdamW
,
'adamw_experimental'
:
tf
.
keras
.
optimizers
.
experimental
.
AdamW
,
'lamb'
:
tfa_optimizers
.
LAMB
,
'lamb'
:
tfa_optimizers
.
LAMB
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment