From a4e3186e4f84164ea7c6ce2d9bc043437dd93e83 Mon Sep 17 00:00:00 2001 From: zr_jin <60612200+JinZr@users.noreply.github.com> Date: Sun, 23 Jul 2023 12:24:25 +0800 Subject: [PATCH] fixed a formatting issue --- egs/librispeech/ASR/lstm_transducer_stateless/export.py | 2 +- .../ASR/lstm_transducer_stateless2/export-for-ncnn.py | 2 +- egs/librispeech/ASR/lstm_transducer_stateless2/export-onnx.py | 2 +- egs/librispeech/ASR/lstm_transducer_stateless2/export.py | 2 +- egs/librispeech/ASR/lstm_transducer_stateless3/export.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/egs/librispeech/ASR/lstm_transducer_stateless/export.py b/egs/librispeech/ASR/lstm_transducer_stateless/export.py index 4360ea60e..c007220d5 100755 --- a/egs/librispeech/ASR/lstm_transducer_stateless/export.py +++ b/egs/librispeech/ASR/lstm_transducer_stateless/export.py @@ -269,7 +269,7 @@ def main(): # Load tokens.txt here token_table = k2.SymbolTable.from_file(params.tokens) - # Load id of the token and the vocab size, is + # Load id of the token and the vocab size, is # defined in local/train_bpe_model.py params.blank_id = token_table[""] params.vocab_size = num_tokens(token_table) + 1 # +1 for diff --git a/egs/librispeech/ASR/lstm_transducer_stateless2/export-for-ncnn.py b/egs/librispeech/ASR/lstm_transducer_stateless2/export-for-ncnn.py index 0b579c3d1..2b8c92208 100755 --- a/egs/librispeech/ASR/lstm_transducer_stateless2/export-for-ncnn.py +++ b/egs/librispeech/ASR/lstm_transducer_stateless2/export-for-ncnn.py @@ -224,7 +224,7 @@ def main(): # Load tokens.txt here token_table = k2.SymbolTable.from_file(params.tokens) - # Load id of the token and the vocab size, is + # Load id of the token and the vocab size, is # defined in local/train_bpe_model.py params.blank_id = token_table[""] params.vocab_size = num_tokens(token_table) + 1 # +1 for diff --git a/egs/librispeech/ASR/lstm_transducer_stateless2/export-onnx.py b/egs/librispeech/ASR/lstm_transducer_stateless2/export-onnx.py index aa3808082..0e66ebfe6 100755 --- a/egs/librispeech/ASR/lstm_transducer_stateless2/export-onnx.py +++ b/egs/librispeech/ASR/lstm_transducer_stateless2/export-onnx.py @@ -440,7 +440,7 @@ def main(): # Load tokens.txt here token_table = k2.SymbolTable.from_file(params.tokens) - # Load id of the token and the vocab size, is + # Load id of the token and the vocab size, is # defined in local/train_bpe_model.py params.blank_id = token_table[""] params.vocab_size = num_tokens(token_table) + 1 # +1 for diff --git a/egs/librispeech/ASR/lstm_transducer_stateless2/export.py b/egs/librispeech/ASR/lstm_transducer_stateless2/export.py index 3c10ccc24..5712da25e 100755 --- a/egs/librispeech/ASR/lstm_transducer_stateless2/export.py +++ b/egs/librispeech/ASR/lstm_transducer_stateless2/export.py @@ -270,7 +270,7 @@ def main(): # Load tokens.txt here token_table = k2.SymbolTable.from_file(params.tokens) - # Load id of the token and the vocab size, is + # Load id of the token and the vocab size, is # defined in local/train_bpe_model.py params.blank_id = token_table[""] params.vocab_size = num_tokens(token_table) + 1 # +1 for diff --git a/egs/librispeech/ASR/lstm_transducer_stateless3/export.py b/egs/librispeech/ASR/lstm_transducer_stateless3/export.py index dc2a7ceab..21eaa049b 100755 --- a/egs/librispeech/ASR/lstm_transducer_stateless3/export.py +++ b/egs/librispeech/ASR/lstm_transducer_stateless3/export.py @@ -269,7 +269,7 @@ def main(): # Load tokens.txt here token_table = k2.SymbolTable.from_file(params.tokens) - # Load id of the token and the vocab size, is + # Load id of the token and the vocab size, is # defined in local/train_bpe_model.py params.blank_id = token_table[""] params.vocab_size = num_tokens(token_table) + 1 # +1 for