Skip to content

Commit

Permalink
pbar
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraGPT committed Jan 25, 2024
1 parent 4091bf6 commit bcb17b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions funasr/auto/auto_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,10 +426,10 @@ def inference_with_vad(self, input, input_len=None, **cfg):
f"time_escape: {time_escape_total_per_sample:0.3f}")


end_total = time.time()
time_escape_total_all_samples = end_total - beg_total
print(f"rtf_avg_all: {time_escape_total_all_samples / time_speech_total_all_samples:0.3f}, "
f"time_speech_all: {time_speech_total_all_samples: 0.3f}, "
f"time_escape_all: {time_escape_total_all_samples:0.3f}")
# end_total = time.time()
# time_escape_total_all_samples = end_total - beg_total
# print(f"rtf_avg_all: {time_escape_total_all_samples / time_speech_total_all_samples:0.3f}, "
# f"time_speech_all: {time_speech_total_all_samples: 0.3f}, "
# f"time_escape_all: {time_escape_total_all_samples:0.3f}")
return results_ret_list

0 comments on commit bcb17b7

Please sign in to comment.