mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-27 02:34:21 +00:00
add requirments.txt
This commit is contained in:
parent
72c9d01724
commit
38f5f45c67
@ -39,6 +39,7 @@ from icefall.decode import (
|
|||||||
one_best_decoding,
|
one_best_decoding,
|
||||||
rescore_with_attention_decoder,
|
rescore_with_attention_decoder,
|
||||||
)
|
)
|
||||||
|
from lhotse.cut import Cut
|
||||||
from icefall.env import get_env_info
|
from icefall.env import get_env_info
|
||||||
from icefall.lexicon import Lexicon
|
from icefall.lexicon import Lexicon
|
||||||
from icefall.utils import (
|
from icefall.utils import (
|
||||||
@ -257,7 +258,7 @@ def decode_one_batch(
|
|||||||
hyps = to_simple(hyps)
|
hyps = to_simple(hyps)
|
||||||
|
|
||||||
hyps = [params.normalizer.normalize(hyp) for hyp in hyps]
|
hyps = [params.normalizer.normalize(hyp) for hyp in hyps]
|
||||||
|
print(hyps)
|
||||||
key = "beam-search"
|
key = "beam-search"
|
||||||
|
|
||||||
return {key: hyps}
|
return {key: hyps}
|
||||||
|
10
egs/wenetspeech/ASR/whisper/requirements.txt
Executable file
10
egs/wenetspeech/ASR/whisper/requirements.txt
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
k2
|
||||||
|
kaldialign
|
||||||
|
git+https://github.com/lhotse-speech/lhotse
|
||||||
|
sentencepiece
|
||||||
|
tensorboard
|
||||||
|
librosa
|
||||||
|
openai-whisper==20231117
|
||||||
|
zhconv
|
||||||
|
WeTextProcessing
|
||||||
|
deepspeed
|
Loading…
x
Reference in New Issue
Block a user