Skip to content

Commit

Permalink
Remove classifier x 10
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassa committed May 7, 2019
1 parent c23c1f4 commit 7c9f4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion references/segmentation/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def main(args):

params_to_optimize = [
{"params": [p for p in model_without_ddp.backbone.parameters() if p.requires_grad]},
{"params": [p for p in model_without_ddp.classifier.parameters() if p.requires_grad], "lr": args.lr * 10},
{"params": [p for p in model_without_ddp.classifier.parameters() if p.requires_grad], "lr": args.lr * 1},
]
if args.aux_loss:
params = [p for p in model_without_ddp.aux_classifier.parameters() if p.requires_grad]
Expand Down

0 comments on commit 7c9f4aa

Please sign in to comment.