Merge branch 'master' of github.com:eelregit/map2map

Conflicts:
	map2map/train.py
This commit is contained in:
Yin Li 2019-12-03 18:07:11 -05:00
commit 34b8c62c76

View File

@ -90,7 +90,7 @@ def gpu_worker(local_rank, args):
)
#scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau(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:
state = torch.load(args.load_state, map_location=args.device)