From f744fe027f3bb080c33daf8cee37e8ceb025d7db Mon Sep 17 00:00:00 2001 From: bassbone Date: Fri, 5 Jun 2020 14:12:52 +0000 Subject: [PATCH] adjust TOTAL_BAR_LENGTH --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 4c9b3f90c..c963f2a29 100644 --- a/utils.py +++ b/utils.py @@ -45,7 +45,7 @@ def init_params(net): _, term_width = os.popen('stty size', 'r').read().split() term_width = int(term_width) -TOTAL_BAR_LENGTH = 65. +TOTAL_BAR_LENGTH = 30. last_time = time.time() begin_time = last_time def progress_bar(current, total, msg=None):