Hey,
Decoding fails, either at the end of "sphinxtrain run" but also with "sphinxtrain -s decode run"
Console output:
Sphinxtrain path: /informatik2/nats/projects/spokenWikipedia/acoustic_model_db_files/sphinxtrain_dir/lib/sphinxtrain
Sphinxtrain binaries path: /informatik2/nats/projects/spokenWikipedia/acoustic_model_db_files/sphinxtrain_dir/libexec/sphinxtrain
MODULE: DECODE Decoding using models previously trained
Aligning results to find error rate
Can't open file /informatik2/nats/projects/spokenWikipedia/acoustic_model2/result/wiki_de_caps.match
It can't read this file because the result directory does not exist. I don't think this is an error though, because here it says that this folder will be created after decoding. What's the problem then?
Also I'd like to know how I can disable the decoding stage in a normal run.
Cheers,
Felix
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The logdir didn't contain a "decode" directory, because the psdecode.pl file never got executed.
There is a qmanager/decode.err file:
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /informatik2/nats/projects/spokenWikipedia/acoustic_model2/sphinxtrain_dir/lib/sphinxtrain/scripts/decode/psdecode.pl line 53.
BEGIN failed--compilation aborted at /informatik2/nats/projects/spokenWikipedia/acoustic_model2/sphinxtrain_dir/lib/sphinxtrain/scripts/decode/psdecode.pl line 53.
The configuration file does exist though and is syntactically valid.
And if we execute the psdecode file directly, it works.
Last edit: Felix Hennig 2016-09-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
use File::Path;
use File::Copy;
use File::Basename;
use File::Spec::Functions;
already in files in decode but still not running psdecode.pl, same error throws:
psdecode.pl
Configuration (e.g. ./etc/sphinx_train.cfg) not defined
Compilation failed in require at ./psdecode.pl line 53.
BEGIN failed--compilation aborted at ./psdecode.pl line 53.
In log file no error there, stuck after scanning files.
Hey,
Decoding fails, either at the end of "sphinxtrain run" but also with "sphinxtrain -s decode run"
Console output:
Sphinxtrain path: /informatik2/nats/projects/spokenWikipedia/acoustic_model_db_files/sphinxtrain_dir/lib/sphinxtrain
Sphinxtrain binaries path: /informatik2/nats/projects/spokenWikipedia/acoustic_model_db_files/sphinxtrain_dir/libexec/sphinxtrain
MODULE: DECODE Decoding using models previously trained
Aligning results to find error rate
Can't open file /informatik2/nats/projects/spokenWikipedia/acoustic_model2/result/wiki_de_caps.match
It can't read this file because the result directory does not exist. I don't think this is an error though, because here it says that this folder will be created after decoding. What's the problem then?
Also I'd like to know how I can disable the decoding stage in a normal run.
Cheers,
Felix
You need to check logs in logdir folder. You need to provide logs if you need further help.
The logdir didn't contain a "decode" directory, because the psdecode.pl file never got executed.
There is a qmanager/decode.err file:
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /informatik2/nats/projects/spokenWikipedia/acoustic_model2/sphinxtrain_dir/lib/sphinxtrain/scripts/decode/psdecode.pl line 53.
BEGIN failed--compilation aborted at /informatik2/nats/projects/spokenWikipedia/acoustic_model2/sphinxtrain_dir/lib/sphinxtrain/scripts/decode/psdecode.pl line 53.
The configuration file does exist though and is syntactically valid.
And if we execute the psdecode file directly, it works.
Last edit: Felix Hennig 2016-09-02
Try to add in psdecode.pl and slave.pl in decode:
above
like in other scripts.
Hi Nickolay,
use File::Path;
use File::Copy;
use File::Basename;
use File::Spec::Functions;
already in files in decode but still not running psdecode.pl, same error throws:
psdecode.pl
Configuration (e.g. ./etc/sphinx_train.cfg) not defined
Compilation failed in require at ./psdecode.pl line 53.
BEGIN failed--compilation aborted at ./psdecode.pl line 53.
In log file no error there, stuck after scanning files.
Last edit: Anjul Sharma 2018-10-22
Your decoding crashed with OOM error or with some other error it seems. You can debug this issue running pocketsphinx directly from command line.