Skip to content

Commit

Permalink
Fixes incorrect batch_size calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitmundada committed Feb 1, 2018
1 parent 7b4d259 commit 291bd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tune_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def decode_dataset(logits, test_dataset, batch_size, lm_alpha, lm_beta, mesh_x,
normalize=True)

logits = np.load(args.logits)
batch_size = logits[0][0].shape[1]
batch_size = logits[0][0].shape[0]

results = []

Expand Down

0 comments on commit 291bd2b

Please sign in to comment.