Skip to content

Commit

Permalink
reflect som and vahid comment
Browse files Browse the repository at this point in the history
Signed-off-by: fayejf <fayejf07@gmail.com>
  • Loading branch information
fayejf committed May 8, 2023
1 parent 610fe0e commit 3226a27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
total_buffer_in_secs=4.0 \
chunk_len_in_secs=1.6 \
model_stride=4 \
batch_size=32
batch_size=32 \
clean_groundtruth_text=True \
langid='en'
# NOTE:
You can use `DEBUG=1 python speech_to_text_buffered_infer_ctc.py ...` to print out the
Expand Down
2 changes: 1 addition & 1 deletion nemo/collections/asr/parts/utils/eval_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def cal_write_wer(

if 'text' not in sample:
raise ValueError(
"ground-truth text does not present in manifest! Cannot calculate Word Error Rate. Exiting!"
"ground-truth text is not present in manifest! Cannot calculate Word Error Rate. Exiting!"
)

hyp = sample[pred_text_attr_name]
Expand Down

0 comments on commit 3226a27

Please sign in to comment.