-
Notifications
You must be signed in to change notification settings - Fork 116
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
How can I find Kaldi directory? #62
Comments
You can simply |
Are you trying to run a recipe in espresso? if yes, cd into a recipe directory e.g., |
I was just trying to run the train.py from the first folder |
These are Kaldi installation issues. Some dependencies are missing. You can install most of them by |
I think the error above is resolved. Know says that sph2pipe program doesn't exist when I run: Error: |
Please follow steps in kaldi/tools/INSTALL |
I followed the steps and this appeared: |
|
I did that and know it appears this error: Like you said in another question I deleted the folders and rerun the script. But the same error shows up again |
did you specify |
No, can you explain me what I need to do? |
You need to specify the paths to WSJ corpus for data preparation. WSJ is not a publicly available dataset so if you don't have access to it, I would suggest another recipe LIbriSpeech (https://github.com/freewym/espresso/blob/master/examples/asr_librispeech/run_torchaudio.sh). It is much larger than WSJ though (960 hours vs 80 hours). |
i didn't know that. I am not using that dataset because it is not downloading the dataset. It appears this error: |
you need to specify |
thanks mate I am almost there. In the stage 2 appears me this error: Stage 2: Feature Generation |
please replace all the appearances of "queue.pl" in examples/asr_librispeech/cmd.sh with "run.pl". Sorry This recipe assumes people are already familiar with Kaldi's setup. You can use |
I just need her in one more thing. In the run.sh I can choose which files I want to download. It is possible to do the same in run_torchaudio.sh? |
You can. Just modify the |
Sorry mate. In the line 121 of your run_torchaudio.sh it is missing this ".txt". Your line is this: cut -f 2- -d" " |
you are right. I pushed a fix. |
I just have a question. The model used in the dataset "asr_librispeech" is the Subword LM model, am I right? |
Yes, it's sentencepiece LM |
'thanks, I am new in this area. Can you explain me what is happening in each stage of the "run_torcahudio.py"? I just want to know the basics and if possible could you tell me which model/Decoder/Encoder is running in each stage ? |
At beginning of each stage there is an echo command printing out a description of that stage. |
sorry but in the stage 5 appears this warning: /usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py:477: UserWarning: This DataLoader will create 8 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary. |
You can change the the value of the argument |
Sorry but I want to use a dataset that I created. For that what I need to have in the folder of the dataset? I just want to use dev_clean from librispeech. I don't need test_clean and the others ones |
For each dataset ,you only need to prepare wav.txt, wav2num_frames and text.txt, and then wrap them into a json file as shown in stage 2 of |
thanks, I just have another question. When I was running the run_torchaudio with all datasets apart from train_360 and train 500 one error appeared. This is in the stage 5: [2021-05-22 17:08:15,184][fairseq_cli.train][INFO] - task: LanguageModelingForASRTask |
Maybe the prepared data is messed up. Prepare the correct data by running stage 4 may help |
when i run the run_torchaudio the results we get are the table of were from librispeech on the article, am i correct? |
The results in the paper is obtained from run.sh. The major difference from run_torchaudio.sh is that in run.sh it also extracta pitch features so the input dim is 83. It didn't affect the finalvresults much though. So I would say they are very close (the difference is ~0.1 in my experiment) |
Does the WER appears in the different systems? |
The improved coverage has been removed. The others remain in the current recipes. |
In the section "Instalation" it is asked to put the Kaldi directory. How do I is location?
The text was updated successfully, but these errors were encountered: