Skip to content

Commit

Permalink
remove decode_resample step
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandra Antonova <[email protected]>
  • Loading branch information
bene-ges committed Nov 3, 2023
1 parent 9b7765f commit 27bce6d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ split -n 26 tts_input.txt
for part in "xaa" "xab" "xac" "xad" "xae" "xaf" "xag" "xah" "xai" "xaj" "xak" "xal" "xam" "xan" "xao" "xap" "xaq" "xar" "xas" "xat" "xau" "xav" "xaw" "xax" "xay" "xaz"
do
python ${NEMO_COMPATIBLE_PATH}/scripts/tts/tts_en_infer_from_cmu_phonemes.py --input_name $part --output_dir tts --output_manifest $part.json --sample_rate 16000
python ${NEMO_PATH}/examples/nlp/spellchecking_asr_customization/dataset_preparation/decode_resample.py --manifest $part.json --destination_folder tts_resample
python ${NEMO_PATH}/examples/asr/transcribe_speech.py \
pretrained_name="stt_en_conformer_ctc_large" \
dataset_manifest=${part}_decoded.json \
dataset_manifest=${part}.json \
output_filename=./pred_ctc.$part.json \
batch_size=256 \
cuda=1 \
cuda=0 \
amp=True
done

Expand Down

0 comments on commit 27bce6d

Please sign in to comment.