From 0e823758b2b57099d406ce2c5787ebc255149786 Mon Sep 17 00:00:00 2001 From: yh_cc Date: Tue, 10 May 2022 22:24:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9print=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastNLP/core/log/print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastNLP/core/log/print.py b/fastNLP/core/log/print.py index f40d763e..42ac5062 100644 --- a/fastNLP/core/log/print.py +++ b/fastNLP/core/log/print.py @@ -24,4 +24,4 @@ def print(*args, sep=' ', end='\n', file=None, flush=False): line = sep.join(map(str, args)) if logger.isEnabledFor(INFO): kwargs = logger._add_rank_info({}) - logger._log(INFO, line, args, **kwargs) + logger._log(INFO, line, **kwargs)