Skip to content

Commit

Permalink
docs: fix missing arguments in get_metrics() (#19629)
Browse files Browse the repository at this point in the history
  • Loading branch information
invisprints committed Mar 15, 2024
1 parent afff598 commit 7555384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source-pytorch/extensions/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7555384

Please sign in to comment.