MCPcopy Create free account
hub / github.com/modelscope/modelscope / __init__

Method __init__

modelscope/preprocessors/cv/util.py:28–34  ·  view source on GitHub ↗
(self, task_num=0, bar_width=50, start=True, file=sys.stdout)

Source from the content-addressed store, hash-verified

26 """A progress bar which can print the progress."""
27
28 def __init__(self, task_num=0, bar_width=50, start=True, file=sys.stdout):
29 self.task_num = task_num
30 self.bar_width = bar_width
31 self.completed = 0
32 self.file = file
33 if start:
34 self.start()
35
36 @property
37 def terminal_width(self):

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected