From a4c1da98f7918d019ee01181243e19691c9abdfe Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Wed, 16 Mar 2022 14:28:55 +0100 Subject: [PATCH] Clarify the inference buffering log (#935) --- opennmt/inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opennmt/inference.py b/opennmt/inference.py index 64ef65d0c..94c02f49a 100644 --- a/opennmt/inference.py +++ b/opennmt/inference.py @@ -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, )