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
OpenDAS
apex
Commits
3e2883dd
Commit
3e2883dd
authored
May 07, 2019
by
Michael Carilli
Browse files
Checkpoint fix
parent
72bce160
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apex/optimizers/fused_sgd.py
apex/optimizers/fused_sgd.py
+1
-1
No files found.
apex/optimizers/fused_sgd.py
View file @
3e2883dd
...
...
@@ -76,7 +76,7 @@ class FusedSGD(Optimizer):
raise
RuntimeError
(
'apex.optimizers.FusedSGD requires cuda extensions'
)
def
__setstate__
(
self
,
state
):
super
(
SGD
,
self
).
__setstate__
(
state
)
super
(
Fused
SGD
,
self
).
__setstate__
(
state
)
for
group
in
self
.
param_groups
:
group
.
setdefault
(
'nesterov'
,
False
)
...
...
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