Skip to content

Commit

Permalink
Clarify the inference buffering log (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln authored Mar 16, 2022
1 parent 4f82de6 commit a4c1da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opennmt/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def predict_dataset(
if time_without_output >= max_time_without_output:
tf.get_logger().info(
"%d predictions are buffered, but waiting for the prediction of "
"line %d to advance the output...",
"queued line %d to advance the output...",
ordered_writer.buffer_size,
ordered_writer.next_index + 1,
)
Expand Down

0 comments on commit a4c1da9

Please sign in to comment.