Speech Recognition Engines

Nested
HTK 3.5 beta DNN-HMM creation
User: kothemel
Date: 4/6/2016 7:17 am
Views: 10947
Rating: 1

Greeting to the group,

I have a troubling question for anyone that uses the new beta version of HTK with DNNs.

After instantiating my DNN model using the python script GetInitDnn.py, according to the HTK book at page 67, I have to use the command HHEd in order to connect my HMM outputs to the DNN ones.

The command, again according to the book, should be:

  •  HHEd -H hmm_mono/models -M dnn3/init connect.hed hmm_mono/monolist

 

Based on my older experiments with HTK, I substituted models with the hmmdefs (a file with hmm definitions after training monophones...read voxforge tutorial), monolist with the list with the names of my hmms (tiedlist or monophones in voxforge tutorial).
Finally, dnn3/init is the output directory and connect.hed is a file created by the user having the following content:
------------------------------------
CH proto/dnn proto/foolist ~N "DNN" <HYBRID>
SW 1 39
SK MFCC_0_D_A
EL ~L "layer2"
EL ~L "layerout"
------------------------------------

where dnn is the file with the zero-instatiated neural network and foolist is an empty file, as dnn does not contain any hmm yet.

After calling HHEd command i get the following error in the terminal: "cannot find target ANN model"

Can anyone help me?

 

 

 

--- (Edited on 4/6/2016 7:17 am [GMT-0500] by ) ---

Re: HTK 3.5 beta DNN-HMM creation
User: kothemel
Date: 5/15/2016 1:16 pm
Views: 33
Rating: 1

SOLVED:

Just replace DNN with the name of the output DNN prototype extracted using GenInitDNN.py

--- (Edited on 5/15/2016 1:16 pm [GMT-0500] by kothemel) ---

Re: HTK 3.5 beta DNN-HMM creation
User: cz277
Date: 5/17/2016 8:48 am
Views: 489
Rating: 0

Hi,

I think what you described sounds all right. Since you did not quote the exact error message, I cannot locate the problem to more accurately. But I guess it is either the DNN proto model file

proto/dnn

does not exist (or a wrong file path is given), or the DNN macro was not called 

~N "DNN"

(you GenInitDNN.py call it

~N "DNN1"

by default)

To get faster responce, you may like to subscribe the official HTK mailing list:

http://htk.eng.cam.ac.uk/mailing/subscribe_mail.shtml

 

Thanks

 

--- (Edited on 5/17/2016 8:48 am [GMT-0500] by Visitor) ---

Re: HTK 3.5 beta DNN-HMM creation
User: himan
Date: 10/19/2016 3:53 am
Views: 1294
Rating: 0

Hi...

How to run the GetInitDnn.py ?

and what is the content in proto/dnn (in dnn file) file ?

 

Thanks in advance.

--- (Edited on 10/19/2016 3:53 am [GMT-0500] by himan) ---

--- (Edited on 10/19/2016 4:35 am [GMT-0500] by himan) ---

Re: HTK 3.5 beta DNN-HMM creation
User: mariya
Date: 9/4/2018 7:37 am
Views: 3078
Rating: 0

Greetings,

I am trying to use DNN-HMM systems in HTK. I am following the steps in HTK book. 

I am trying to create initial DNN-HMMs. I tried running the script GenInitDNN.py for initial model generation avilable in the RM recipe package.

I am not sure how to run as it is expecting arguments as input.

Following is the error message i recieve:

usage: GenInitDNN.py [-h] [-v | -q] [-s STRUCTURE] inHTE outMMF
GenInitDNN.py: error: too few arguments

Kindly help me in running this script . I also have another doubt is this the file to be kept as proto/dnn to run HHEd (the next step - connect.hed) 

I am confused with this input arguments. Kindly help me with this.


Thanks in advance.

--- (Edited on 9/4/2018 7:37 am [GMT-0500] by ) ---

PreviousNext