class_docstr: A progress bar which can print the progress.
class_docstr_tok: ["A","progress","bar","which","can","print","the","progress","."]
code: def start(self):
      if self.task_num > 0:
          self.file.write(
              f'[{" " * self.bar_width}] 0/{self.task_num}, '
              "elapsed: 0s, ETA:"
          )
      else:
          self.file.write("completed: 0, elapsed: 0s")
      self.file.flush()
      self.timer = Timer()
  
file_path: lavis/lavis/common/annotator/uniformer/mmcv/utils/progressbar.py
imports: import sys
  from collections.abc import Iterable
  from multiprocessing import Pool
  from shutil import get_terminal_size
  from .timer import Timer
label_desc: Use image node_id 3 for calling the ProgressBar obj's underlying member method code with example usage: obj.start() without return types