mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
fix progress bar for batch_size (#1917)
This commit is contained in:
parent
0fe232fd7b
commit
f2ed4b3856
@ -315,7 +315,7 @@ class AutoModel:
|
|||||||
speed_stats["rtf"] = f"{(time_escape) / batch_data_time:0.3f}"
|
speed_stats["rtf"] = f"{(time_escape) / batch_data_time:0.3f}"
|
||||||
description = f"{speed_stats}, "
|
description = f"{speed_stats}, "
|
||||||
if pbar:
|
if pbar:
|
||||||
pbar.update(1)
|
pbar.update(end_idx - beg_idx)
|
||||||
pbar.set_description(description)
|
pbar.set_description(description)
|
||||||
time_speech_total += batch_data_time
|
time_speech_total += batch_data_time
|
||||||
time_escape_total += time_escape
|
time_escape_total += time_escape
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user