code: def set_postfix(
      self,
      ordered_dict=None,
      refresh=True,
      color=None,
      round=4,
      **kwargs,
  ):
      postfix = OrderedDict(
          [] if ordered_dict is None else ordered_dict
      )
  
      for key in sorted(kwargs.keys()):
          postfix[key] = kwargs[key]
  
      for key in postfix.keys():
          if isinstance(postfix[key], Number):
              postfix[key] = self.format_num_to_k(
                  np.round(postfix[key], round), k=round + 1
              )
          if isinstance(postfix[key], str):
              postfix[key] = str(postfix[key])
          if len(postfix[key]) != round:
              postfix[key] += (round - len(postfix[key])) * " "
  
      if color is not None:
          self.postfix = color
      else:
          self.postfix = ""
  
      self.postfix += ", ".join(
          key + "=" + postfix[key] for key in postfix.keys()
      )
      if color is not None:
          self.postfix += COLORS.END_TOKEN
  
      if refresh:
          self.refresh()
  
file_path: torch-points3d/torch_points3d/metrics/colored_tqdm.py
imports: from tqdm.auto import tqdm
  from collections import OrderedDict
  from numbers import Number
  import numpy
  from torch_points3d.utils.colors import COLORS
label_desc: Use image node_id 1 for calling the Coloredtqdm obj's underlying member method code with example usage: obj.set_postfix(ordered_dict, refresh, color, round) without return types