From 75553845c6bbcc305fbae38a46ef4e532e4ac85a Mon Sep 17 00:00:00 2001 From: invisprints Date: Fri, 15 Mar 2024 08:50:42 +0800 Subject: [PATCH] docs: fix missing arguments in get_metrics() (#19629) --- docs/source-pytorch/extensions/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-pytorch/extensions/logging.rst b/docs/source-pytorch/extensions/logging.rst index 6a2422f295..f0c12464e6 100644 --- a/docs/source-pytorch/extensions/logging.rst +++ b/docs/source-pytorch/extensions/logging.rst @@ -326,7 +326,7 @@ if you are using a logger. These defaults can be customized by overriding the class CustomProgressBar(TQDMProgressBar): def get_metrics(self, *args, **kwargs): # don't show the version number - items = super().get_metrics() + items = super().get_metrics(*args, **kwargs) items.pop("v_num", None) return items