mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
time_speech_total_per_sample=0, bugfix
This commit is contained in:
parent
0b325fe147
commit
ca1f8ee423
@ -311,7 +311,7 @@ class AutoModel:
|
|||||||
batch_size_ms_cum = 0
|
batch_size_ms_cum = 0
|
||||||
beg_idx = 0
|
beg_idx = 0
|
||||||
beg_asr_total = time.time()
|
beg_asr_total = time.time()
|
||||||
time_speech_total_per_sample = speech_lengths/16000
|
time_speech_total_per_sample = speech_lengths/16000 + 1e-6
|
||||||
time_speech_total_all_samples += time_speech_total_per_sample
|
time_speech_total_all_samples += time_speech_total_per_sample
|
||||||
|
|
||||||
pbar_sample = tqdm(colour="blue", total=n + 1, dynamic_ncols=True)
|
pbar_sample = tqdm(colour="blue", total=n + 1, dynamic_ncols=True)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user