Click here to register.

Acoustic Model Discussions

ERROR [+1113] : writing a numpy array into HTK readable format
User: shareefbabu
Date: 11/29/2019 1:02 am
Views: 110
Rating: 0


I'm trying to write "nx2" dimension matrix into HTK readable format using
Link for

when I write the numpy array using the following code

q= 280000*2 (np array)
feat_writer= htk.fopen('impos.fea',"w",veclen=2)

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...

--- (Edited on 11/29/2019 1:02 am [GMT-0600] by shareefbabu) ---

--- (Edited on 11/29/2019 1:04 am [GMT-0600] by shareefbabu) ---