Skip to content

Commit

Permalink
[Minor] make default value of verbose_beam in eval_utils be 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ruotianluo committed Mar 23, 2020
1 parent 6b5e794 commit 08e08c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def language_eval(dataset, preds, preds_n, eval_kwargs, split):

def eval_split(model, crit, loader, eval_kwargs={}):
verbose = eval_kwargs.get('verbose', True)
verbose_beam = eval_kwargs.get('verbose_beam', 1)
verbose_beam = eval_kwargs.get('verbose_beam', 0)
verbose_loss = eval_kwargs.get('verbose_loss', 1)
num_images = eval_kwargs.get('num_images', eval_kwargs.get('val_images_use', -1))
split = eval_kwargs.get('split', 'val')
Expand Down

0 comments on commit 08e08c5

Please sign in to comment.