Wicked noob to sphinx here. Running ubuntu 12.04 on a 64 bit HP G62.
Pocketsphinx and sphinxbase installed. sphinxtrain-1.0.7 downloaded and
extracted, for lack of knowing better put it inside my pocketsphinx directory.
Also created a directory (in pocketsphinx) called sphinxadapt as my working
directory while learning this. Downloaded the arctic20 files, recorded the
adaptation data (took SEVERAL tries to get the recordings to what I thought
was acceptable quality, my fault, not machine or sphinx).
Copied hub4wsj_sc_8k into sphinxadapt directory (working) and generated the
acoustic feature files per tutorial.
Downloaded and extracted the extras file (for now put it into pocketsphinx dir
along with everything else), copied mixture_weights file into
sphinxadapt/hub4wsj_sc_8k directory, made the mdef.txt file
Now trying to collect statistics under the Accumulating Observation Counts
ERROR: "corpus.c", line 1555: MFCC read of arctic_0001..mfc failed. Retrying after sleep...
over and over again.
As I am wicked new to pocketsphinx I am pretty much at a loss. I know the wav
files are okay, I listened to them, and see them in the sphinxadapt directory
I created to work through this tutorial. Is this a directory issue? Was I to
have put all this in the model directory instead of making a new one for the
tutorials?
regards, Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and got back no such file or directory
I copied the mllr_solve directory in from sphinxtrain, then it just told me
its a directory. Granted, I'm pretty tired so maybe making some pretty obvious
mistakes, but the tutorial seems to be seriously lacking.
All I want to do is improve the accuracy of my pocketsphinx. I'd say it's
running at about 70% right now. Ideally, I'd like to understand how the
program works so I can integrate it with some other stuff I'm working on, and
I know its more of a developers toolkit than a full on program, but man, this
seems like an impossible battle when I can't even trust the tutorials.
A little discouraged but not giving up, Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nevermind. I trashed Sphinxtrain, untarred a new copy, reconfigured, make,
etc. AND (not in the tutorial) copied mllr_solve into my working directory.
tried again and it worked.
One question though. If/when I make it through the entire adapt
tutorial/process, bear in mind that I'm doing all this in a directory I
created for the purpose called shpinxadapt. What do with all the arctic files
and the wsj adapt directory the process creates? Does it all go into the model
directory, pocketsphinx directory, doesn't matter?
regards, Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and got back no such file or directory I copied the mllr_solve directory in
from sphinxtrain, then it just told me its a directory. Granted, I'm pretty
tired so maybe making some pretty obvious mistakes, but the tutorial seems to
be seriously lacking.
In Unix command line "./" before the binary means to run the binary from the
current directory. You can specify a full path to the binary if binary is
located somewhere else. Also, tutorial specifically says
Copy it to the working directory along with the map_adapt and mk_s2sendump
programs from the same directory.
Does it all go into the model directory, pocketsphinx directory, doesn't
matter?
So, on to map_adapt. The first time it said , well, here it is for you to
read:
Please read the messages from the tools, they usually describe the problem. In
this case the message says that you added extra dot to the command line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wicked noob to sphinx here. Running ubuntu 12.04 on a 64 bit HP G62.
Pocketsphinx and sphinxbase installed. sphinxtrain-1.0.7 downloaded and
extracted, for lack of knowing better put it inside my pocketsphinx directory.
Also created a directory (in pocketsphinx) called sphinxadapt as my working
directory while learning this. Downloaded the arctic20 files, recorded the
adaptation data (took SEVERAL tries to get the recordings to what I thought
was acceptable quality, my fault, not machine or sphinx).
Copied hub4wsj_sc_8k into sphinxadapt directory (working) and generated the
acoustic feature files per tutorial.
Downloaded and extracted the extras file (for now put it into pocketsphinx dir
along with everything else), copied mixture_weights file into
sphinxadapt/hub4wsj_sc_8k directory, made the mdef.txt file
Now trying to collect statistics under the Accumulating Observation Counts
feat.params file as follows:
ran
getting
over and over again.
As I am wicked new to pocketsphinx I am pretty much at a loss. I know the wav
files are okay, I listened to them, and see them in the sphinxadapt directory
I created to work through this tutorial. Is this a directory issue? Was I to
have put all this in the model directory instead of making a new one for the
tutorials?
regards, Richard
Oh, and I forgot, I did copy fillerdict into the working directory
(sphinxadapt).
Try to add
or use binaries from the snapshot. They should be more stable.
The default value for cepext seems to be .mfc and it tries to append both .
and .mfc, so it fails to find the file.
Another reason for not synced extension might be a version mismatch. Make sure
that sphinxbase version matches the sphinxtrain one.
Thanks. I'll give it a go and let you know.
regards, Richard
Worked like a charm, Thank you so much, I wish I'd know that two days ago
(-cepext mfc)
regards, Richard
Is there another hidden trick for the mllr piece?
I entered
and got back no such file or directory
I copied the mllr_solve directory in from sphinxtrain, then it just told me
its a directory. Granted, I'm pretty tired so maybe making some pretty obvious
mistakes, but the tutorial seems to be seriously lacking.
All I want to do is improve the accuracy of my pocketsphinx. I'd say it's
running at about 70% right now. Ideally, I'd like to understand how the
program works so I can integrate it with some other stuff I'm working on, and
I know its more of a developers toolkit than a full on program, but man, this
seems like an impossible battle when I can't even trust the tutorials.
A little discouraged but not giving up, Richard
Nevermind. I trashed Sphinxtrain, untarred a new copy, reconfigured, make,
etc. AND (not in the tutorial) copied mllr_solve into my working directory.
tried again and it worked.
One question though. If/when I make it through the entire adapt
tutorial/process, bear in mind that I'm doing all this in a directory I
created for the purpose called shpinxadapt. What do with all the arctic files
and the wsj adapt directory the process creates? Does it all go into the model
directory, pocketsphinx directory, doesn't matter?
regards, Richard
Okay, now what? Sorry if I sound frustrated but I'm...well..frustrated. I am
also appreciative of and attentive to any help I get though.
So, on to map_adapt. The first time it said , well, here it is for you to
read:
seriously?
grumble grumble, one very frustrated old man
oh, and yeah, the mapadapt executable was copied into the working directory.
off to try to figure this one out, Richard
nevermind, got it figured out.
In Unix command line "./" before the binary means to run the binary from the
current directory. You can specify a full path to the binary if binary is
located somewhere else. Also, tutorial specifically says
See the section:
http://cmusphinx.sourceforge.net/wiki/tutorialadapt#using_the_model
Please read the messages from the tools, they usually describe the problem. In
this case the message says that you added extra dot to the command line.