diff options
author | JoJoBarthold2 | 2023-09-16 15:23:56 +0200 |
---|---|---|
committer | JoJoBarthold2 | 2023-09-16 15:23:56 +0200 |
commit | 80544737bc4338bd0cde305b8bccb7c5209e1bdc (patch) | |
tree | d1ecd9681453b8ca75d281605778cb75462c0e2d /swr2_asr/utils/decoder.py | |
parent | c46fecf9cf1110d286259ae2bc81eff3ed21cc23 (diff) |
added a method to create a txt for the ctc decoder
Diffstat (limited to 'swr2_asr/utils/decoder.py')
-rw-r--r-- | swr2_asr/utils/decoder.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swr2_asr/utils/decoder.py b/swr2_asr/utils/decoder.py index fcddb79..ef8de49 100644 --- a/swr2_asr/utils/decoder.py +++ b/swr2_asr/utils/decoder.py @@ -24,3 +24,4 @@ def greedy_decoder(output, labels, label_lengths, tokenizer: CharTokenizer, coll # TODO: add beam search decoder + |