VoxForge
Hi,
I'm trying to write "nx2" dimension matrix into HTK readable format using htkmfc.py
Link for htkmfc.py
https://github.com/skerit/cmusphinx/blob/master/SphinxTrain/python/cmusphinx/htkmfc.py
when I write the numpy array using the following code
q= 280000*2 (np array)
feat_writer= htk.fopen('impos.fea',"w",veclen=2)
feat_writer.writeall(q)
it is not writing into HTK readable format...
error is as follows when I do HList
HList -h -z impos.fea
ERROR [+1113] IsWave: cannot read HTK Header in File impos.fea
FATAL ERROR - Terminating program HList
Please help me with any other solution to write the numpy array into HTK readable format to train "HCompV"
Any help is appreciated...
Thanks
Shareef
--- (Edited on 11/29/2019 1:02 am [GMT-0600] by shareefbabu) ---
--- (Edited on 11/29/2019 1:04 am [GMT-0600] by shareefbabu) ---