Skip to content

Commit

Permalink
Fix train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mitmul committed Aug 14, 2017
1 parent 5aa5956 commit 837c316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainercmd/train.py
Expand Up @@ -164,7 +164,7 @@ def train(args):
evaluator = getattr(mod, values['name'])
if evaluator is extensions.Evaluator:
evaluator = evaluator(
valid_iter, model, device=devices['main'])
valid_iter, model, device=args.gpus[0])
else:
evaluator = evaluator(valid_iter, model.predictor)
trainer.extend(
Expand Down

0 comments on commit 837c316

Please sign in to comment.