Merge branch 'master' of github.com:eelregit/map2map
Conflicts: map2map/train.py
This commit is contained in:
commit
34b8c62c76
@ -90,7 +90,7 @@ def gpu_worker(local_rank, args):
|
|||||||
)
|
)
|
||||||
#scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau(optimizer)
|
#scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau(optimizer)
|
||||||
scheduler = torch.optim.lr_scheduler.CyclicLR(optimizer,
|
scheduler = torch.optim.lr_scheduler.CyclicLR(optimizer,
|
||||||
base_lr=args.lr * 1e-2, max_lr=args.lr)
|
base_lr=args.lr * 1e-2, max_lr=args.lr, cycle_momentum=False)
|
||||||
|
|
||||||
if args.load_state:
|
if args.load_state:
|
||||||
state = torch.load(args.load_state, map_location=args.device)
|
state = torch.load(args.load_state, map_location=args.device)
|
||||||
|
Loading…
Reference in New Issue
Block a user