CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Generate text output from DNN file

Open amitkumartiwari29 opened this issue 10 years ago • 7 comments

Hi,

I am working with the CNTK toolkit and trying to convert audio (.wav) file to Text file (spoken audio to text). I have successfully generated the DNN model files and *.dnn.AllNodes.txt using the DumpNodeInfo command. But this text file has no text in it. What do I need to do further to generate actual spoken word as Text?

amitkumartiwari29 avatar Oct 03 '16 19:10 amitkumartiwari29

Can you describe more of your pipleine. Speech Recognition requires more than just CNTK. Are you interested in a pre-trained CNTK model to do speech recognition that is already hosted as a REST API? If so, take a look at Microsoft Cognitive Servicies.

chrisbasoglu avatar Oct 03 '16 23:10 chrisbasoglu

We want to convert all the voice data of our CSRs (customer care calls) to text. For that we want to use the CNTK toolkit.

amitkumartiwari29 avatar Oct 03 '16 23:10 amitkumartiwari29

Do you have all the other portions of a Spech Recognition pipeline in place? The neural network (CNTK) is only one part of that pipeline. If you want to convert all the voice data of your customer care calls to text, and you do not have those pieces of the pipeline in place, you can use Microsoft Cognitive Services to do so.

chrisbasoglu avatar Oct 03 '16 23:10 chrisbasoglu

I did not understand "All other portions". I just have CNTK toolkit. I generated the DNN files and its All Nodes Text which have just numbers. Am I missing anything here?

amitkumartiwari29 avatar Oct 03 '16 23:10 amitkumartiwari29

Speech recognition involves many components, including a pronunciation dictionary, language model and decoding graph, front end signal processing components, and acoustic model. CNTK only helps you to build the acoustic model part. Even for that, you still need to feed in your training data with labels generated using other tools to train the CNTK model.

Based on your description, I think what you have generated is just a randomly initialized CNTK model. What you have dumped is just the model parameters of that initial CNTK model.

Building a speech recognition engine requires years of knowledge and tons of training data. If you don’t have these, the best solution is to call existing speech recognition services like cognitive service Chris pointed out.

dongyu888 avatar Oct 04 '16 00:10 dongyu888

Thank you so much for the information.

amitkumartiwari29 avatar Oct 04 '16 00:10 amitkumartiwari29

Closing. Feel free to reopen.

n17s avatar Oct 28 '16 19:10 n17s