diff --git a/examples/asr/emformer_rnnt/eval.py b/examples/asr/emformer_rnnt/eval.py index 88a07bdfa1..144085f7ad 100644 --- a/examples/asr/emformer_rnnt/eval.py +++ b/examples/asr/emformer_rnnt/eval.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import logging import pathlib from argparse import ArgumentParser diff --git a/examples/asr/emformer_rnnt/global_stats.py b/examples/asr/emformer_rnnt/global_stats.py index 7f91509644..bb1cd45d68 100644 --- a/examples/asr/emformer_rnnt/global_stats.py +++ b/examples/asr/emformer_rnnt/global_stats.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Generate feature statistics for training set. Example: diff --git a/examples/asr/emformer_rnnt/librispeech/train_spm.py b/examples/asr/emformer_rnnt/librispeech/train_spm.py index 758a657b17..be0ffb8f3e 100644 --- a/examples/asr/emformer_rnnt/librispeech/train_spm.py +++ b/examples/asr/emformer_rnnt/librispeech/train_spm.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Trains a SentencePiece model on transcripts across LibriSpeech train-clean-100, train-clean-360, and train-other-500. Example: diff --git a/examples/asr/emformer_rnnt/mustc/train_spm.py b/examples/asr/emformer_rnnt/mustc/train_spm.py index 942c764a94..e7d4b1394e 100644 --- a/examples/asr/emformer_rnnt/mustc/train_spm.py +++ b/examples/asr/emformer_rnnt/mustc/train_spm.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Train the SentencePiece model by using the transcripts of MuST-C release v2.0 training set. Example: python train_spm.py --mustc-path /home/datasets/ diff --git a/examples/asr/emformer_rnnt/pipeline_demo.py b/examples/asr/emformer_rnnt/pipeline_demo.py index e817fdb68e..ba0f53d76f 100644 --- a/examples/asr/emformer_rnnt/pipeline_demo.py +++ b/examples/asr/emformer_rnnt/pipeline_demo.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import logging import pathlib from argparse import ArgumentParser diff --git a/examples/asr/emformer_rnnt/tedlium3/eval_pipeline.py b/examples/asr/emformer_rnnt/tedlium3/eval_pipeline.py index a45346bc82..35b9796423 100644 --- a/examples/asr/emformer_rnnt/tedlium3/eval_pipeline.py +++ b/examples/asr/emformer_rnnt/tedlium3/eval_pipeline.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import logging import pathlib from argparse import ArgumentParser, RawTextHelpFormatter diff --git a/examples/asr/emformer_rnnt/tedlium3/train_spm.py b/examples/asr/emformer_rnnt/tedlium3/train_spm.py index 81b94011db..e9832acf64 100644 --- a/examples/asr/emformer_rnnt/tedlium3/train_spm.py +++ b/examples/asr/emformer_rnnt/tedlium3/train_spm.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """Train the SentencePiece model by using the transcripts of TED-LIUM release 3 training set. Example: python train_spm.py --tedlium-path /home/datasets/ diff --git a/examples/asr/emformer_rnnt/train.py b/examples/asr/emformer_rnnt/train.py index dcf768a57a..85bedfa831 100644 --- a/examples/asr/emformer_rnnt/train.py +++ b/examples/asr/emformer_rnnt/train.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import logging import pathlib from argparse import ArgumentParser