code: def get_tqdm_kwargs(**kwargs):
      """
      Return default arguments to be used with tqdm.
  
      Args:
          kwargs: extra arguments to be used.
      Returns:
          dict:
      """
      default = dict(
          smoothing=0.5,
          dynamic_ncols=True,
          ascii=True,
          bar_format="{l_bar}{bar}|{n_fmt}/{total_fmt}[{elapsed}<{remaining},{rate_noinv_fmt}]",
      )
  
      try:
          # Use this env var to override the refresh interval setting
          interval = float(os.environ["TENSORPACK_PROGRESS_REFRESH"])
      except KeyError:
          interval = _pick_tqdm_interval(kwargs.get("file", sys.stderr))
  
      default["mininterval"] = interval
      default.update(kwargs)
      return default
  
file_path: tensorpack/tensorpack/utils/utils.py
imports: import inspect
  import numpy
  import re
  import os
  import sys
  from contextlib import contextmanager
  from datetime import datetime, timedelta
  from tqdm import tqdm
  from .None import logger
  from .concurrency import subproc_call
label_desc: Use image node_id 7 for calling a global function with example usage: get_tqdm_kwargs() and returns: default