I installed everything step by step like the tutorial on the CMUSPhinx Website says and it worked. Then I loaded the German "Acoustic and Language Models" Pack and tried it. It worked as well.
Then I wanted to train and here comes the problem.
Again I did all the steps but when I run the command:
sphinxtrain run
I get this output:
Sphinxtrain path: /usr/local/lib/sphinxtrain
Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
Running the training
do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
I googled for hours but I can't find a solution.
Hopefully someone here can help me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I searched for the different outputs, for general Sphinxtrain installations and tried to find the issu in the code which is mentiond in the error.
But I think it doesn't matter what I googled.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I mean if you use the proper query with the error message the solution would be the first entry. I'm trying to teach you how to use Google so in the future you will not spend "hours". That is why I'm asking - WHAT EXACTY QUERY DID YOU TRY? You can simply provide the keywords or a link.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, so I tried these:
do "etc/sphinx_train.cfg" failed
' . ' no longer in @INC
Sphinxtrain no longer in @INC
sphinxtrain run error
sphinxtrain run aborted
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi!
i had the same issue, i fixed it by editing file
/usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm
and replace line 65 with "do $ST::CFG_FILE;"
and line 51 with "$ST::CFG_FILE = "./etc/sphinx_train.cfg";"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and again, the same error appears after executing this command: perl scripts_pl/make_feats.pl -ctl etc/an4_train.fileids
Here the error:
perl scripts_pl/make_feats.pl -ctl etc/an4_test.fileids
do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at scripts_pl/lib/SphinxTrain/Config.pm line 65.
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at scripts_pl/make_feats.pl line 43.
BEGIN failed--compilation aborted at scripts_pl/make_feats.pl line 43.
I am pretty new to Linux, Python and all these things so please be kind, i try my best not to be dumb.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks to A13X10 I could fix this problem:
I have made change to ...sphinxtrain\scripts\lib\SphinxTrain\Config.pm.
I changed line 51 with "$ST::CFG_FILE = "./etc/sphinx_train.cfg";"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sphinxtrain path: /usr/local/lib/sphinxtrain
Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
Running the training
do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
i also got this error.. someone pls help me
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sphinxtrain path: /usr/local/lib/sphinxtrain
Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
Running the training
do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
i also got this error.. someone pls help me
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I installed everything step by step like the tutorial on the CMUSPhinx Website says and it worked. Then I loaded the German "Acoustic and Language Models" Pack and tried it. It worked as well.
Then I wanted to train and here comes the problem.
Again I did all the steps but when I run the command:
sphinxtrain run
I get this output:
Sphinxtrain path: /usr/local/lib/sphinxtrain Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain Running the training do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65. Configuration (e.g. etc/sphinx_train.cfg) not defined Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51. BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
I googled for hours but I can't find a solution.
Hopefully someone here can help me.
What exact queries did you use in google?
I searched for the different outputs, for general Sphinxtrain installations and tried to find the issu in the code which is mentiond in the error.
But I think it doesn't matter what I googled.
I mean if you use the proper query with the error message the solution would be the first entry. I'm trying to teach you how to use Google so in the future you will not spend "hours". That is why I'm asking - WHAT EXACTY QUERY DID YOU TRY? You can simply provide the keywords or a link.
Ok, so I tried these:
do "etc/sphinx_train.cfg" failed
' . ' no longer in @INC
Sphinxtrain no longer in @INC
sphinxtrain run error
sphinxtrain run aborted
Try to google exact error message: http://bfy.tw/IbYv
and let me know if you still haven't found the solution. Show the google query page then.
hi!
i had the same issue, i fixed it by editing file
/usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm
and replace line 65 with "do $ST::CFG_FILE;"
and line 51 with "$ST::CFG_FILE = "./etc/sphinx_train.cfg";"
Hi again,
so i googled like you said (and btw thanks for the link -.-) but couldn't find a solution.
Now i tried it completely new from the beginning, acording to this page: http://www.speech.cs.cmu.edu/sphinx/tutorial.html#train
this time based on sphinx3 not on pocketsphinx
and again, the same error appears after executing this command: perl scripts_pl/make_feats.pl -ctl etc/an4_train.fileids
Here the error:
I am pretty new to Linux, Python and all these things so please be kind, i try my best not to be dumb.
Hopefully someone is able to help me
Last edit: Sudomatze 2018-06-27
Same error did u find the solution I downloaded the an4 example file
I am facing the same error too.
Have you managed to find the solution?
Thanks to A13X10 I could fix this problem:
I have made change to ...sphinxtrain\scripts\lib\SphinxTrain\Config.pm.
I changed line 51 with "$ST::CFG_FILE = "./etc/sphinx_train.cfg";"
Sphinxtrain path: /usr/local/lib/sphinxtrain
Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
Running the training
do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
i also got this error.. someone pls help me
Sphinxtrain path: /usr/local/lib/sphinxtrain
Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
Running the training
do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.
Configuration (e.g. etc/sphinx_train.cfg) not defined
Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
i also got this error.. someone pls help me