Commit 3e2883dd authored by Michael Carilli's avatar Michael Carilli
Browse files

Checkpoint fix

parent 72bce160
......@@ -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(FusedSGD, self).__setstate__(state)
for group in self.param_groups:
group.setdefault('nesterov', False)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment