undertheseanlp / automatic_speech_recognition

Vietnamese Automatic Speech Recognition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thắc mắc quy trình chạy

vinhdc10998 opened this issue · comments

Chào undertheseanlp

cho mình hỏi về quy trình chạy project này ạ:

  • preprocess.py

  • egs/train.py
    Sau khi train xong: mình có chạy 2 file là predict.py và test_model.py

  • File predict mình thấy nó chạy ra result nhưng WER khá cao

  • File test_model.py thì mình chạy như thế nào đi nữa thì cái output transcript thì luôn là " "

Đây là command của mình:

python3 train.py --kaldi_folder {path}/kaldi-trunk/ --corpus_folder {path}/automatic_speech_recognition/data/vivos/corpus --export_path {path}/automatic_speech_recognition/egs/vivos/model_export/

python3 predict.py --wav {path}/automatic_speech_recognition/egs/vivos/test/VIVOSDEV01_R043.wav --kaldi_folder {path}/kaldi-trunk/ --model_path /home/duong/Python/kaldi-trunk/egs/uts_795/exp/tri2a/ --utils_path {path}/kaldi-trunk/egs/uts_795/utils/

python3 test_model.py

Mình xin cảm ơn ạ