forcing all tqdm's to ascii in order to work properly on Chinese windows

This commit is contained in:
iperov 2019-01-24 21:32:07 +04:00
parent 1e7a0836f7
commit 72646becd1
5 changed files with 24 additions and 25 deletions

View file

@ -259,7 +259,7 @@ def main (input_dir, output_dir, model_dir, model_name, aligned_dir=None, **in_o
alignments = {}
aligned_path_image_paths = Path_utils.get_image_paths(aligned_path)
for filename in tqdm(aligned_path_image_paths, desc= "Collecting alignments" ):
for filename in tqdm(aligned_path_image_paths, desc="Collecting alignments", ascii=True ):
dflpng = DFLPNG.load( str(filename), print_on_no_embedded_data=True )
if dflpng is None:
continue