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
Examples do not run and have errors, possibly relating to the value of nj
#3
Comments
Hello Tom, In the examples VoiceBridge determines automatically the number of threads and the splitting. This is an improvement compared to Kaldi. There are also many more such improvements and thus the VoiceBridge implementation is quite different from Kaldi. Br, |
Hi Zoltan, |
Hello Tom, Update: I have just tested VoiceBridge on a similar system as yours with the YesNo example (TestYesNo()) and it works fine with the last lines of the output as follows: ... [INFO] ***************** Br, |
Hi Zoltan, |
Description
Following the installation instructions and building release or debut builds, the TestDll fails to execute both the YesNo and LibriSpeech examples. Both how one similar early kaldi warning (
FST is not stochastic!
) and according to kaldi user issues and discussions I found, their errors appear to be due to an incorrect value set fornj
("number of jobs"). Kaldi documentation states that "Generally speaking you can reduce the value of the–nj
option without affecting the outcome, but there are some situations where the –nj options given to multiple scripts must match, or a later stage will crash." The format for changing its values in some kaldi command-line examples is--nj 1
for 1 job.Version & Hardware
Operating System version: Windows 10 Home 64-bit
Computer: i7 CPU, 16GB RAM
Computer Processors/Cores: 4 cores
Visual Studio Version: Visual Studio Community 2017 (version 15.9.28)
Visual Studio Coniguration: Release or Debug 64-bit
Steps to Reproduce In Case Of An Error
Expected behavior: Expect no errors
Actual behavior: Get error
Reproduces how often: 100%
Which Steps Have You Tried To Debug The Problem In Case Of An Error
In the YesNo test case, it seems the value of
nj
is too large. This issue on kaldi discusses it for an example: kaldi-asr/kaldi#2320In those cases users are advised to change
nj
to a lower value in the various kaldi shell script files. I tried passing--nj 1
via themfcc.conf
file but this was not accepted as an option by kaldi. I don't know where to change thenj
value in VoiceBridge.In the LibirSpeech test case, there seems to be a mis-match when splitting the data directory between the number of speakers and some kind of output scp files. However, I can find no mention of "splitting" in
LibriSpeech.cpp
. This discussion re kaldi seems to suggest it may be an issue again with the value set fornj
: https://groups.google.com/g/kaldi-help/c/nV8FcnjoxJYLogs
YesNo test:
LibriSpeech test:
I will not post the entire console output since it is very long. The first warning is
[WARNING] FST is not stochastic!C:/VoiceBridgeProjects\LibriSpeech\data\lang_test_tg\G.fst.
(which also showed for the YesNo example), and which shows just after the MFCC features extraction step. Many more warnings start to appear to stages 4 and 5.Stage 4 shows the following output:
Here is a typical pass in Stage 5:
After 39 passes, stage 5 ends with the following error:
The text was updated successfully, but these errors were encountered: