Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shebang lines to scripts in emformer_rnnt recipes #2237

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/eval.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import logging
import pathlib
from argparse import ArgumentParser
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/global_stats.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""Generate feature statistics for training set.

Example:
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/librispeech/train_spm.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/mustc/train_spm.py
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/pipeline_demo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import logging
import pathlib
from argparse import ArgumentParser
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/tedlium3/eval_pipeline.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import logging
import pathlib
from argparse import ArgumentParser, RawTextHelpFormatter
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/tedlium3/train_spm.py
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
1 change: 1 addition & 0 deletions examples/asr/emformer_rnnt/train.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import logging
import pathlib
from argparse import ArgumentParser
Expand Down