Skip to content
Snippets Groups Projects
Commit 54d5faa3 authored by sxd0071's avatar sxd0071 Committed by Sanghyun Son
Browse files

Add files via upload (#134)

parent 45ff7def
No related branches found
No related tags found
1 merge request!1Jan 09, 2018 updates
......@@ -137,7 +137,7 @@ class Loss(nn.modules.loss._Loss):
**kwargs
))
self.log = torch.load(os.path.join(apath, 'loss_log.pt'))
for l in self.loss_module:
for l in self.get_loss_module():
if hasattr(l, 'scheduler'):
for _ in range(len(self.log)): l.scheduler.step()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment