From 126433c7ab118e6ca65a3567662cec9509075cef Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 12 Aug 2015 15:30:25 +0800 Subject: add script to convert nerv param file to TNet format --- htk_io/tools/tnet_to_nerv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htk_io/tools/tnet_to_nerv.c') diff --git a/htk_io/tools/tnet_to_nerv.c b/htk_io/tools/tnet_to_nerv.c index f781236..5774819 100644 --- a/htk_io/tools/tnet_to_nerv.c +++ b/htk_io/tools/tnet_to_nerv.c @@ -41,7 +41,7 @@ int main() { fprintf(fout, "%16d", 0); fprintf(fout, "{type=\"nerv.BiasParam\",id=\"affine%d_bp\"}\n", cnt); - fprintf(fout, "1 %d\n", nrow, ncol); + fprintf(fout, "1 %d\n", ncol); for (j = 0; j < ncol; j++) fprintf(fout, "%.8f ", mat[0][j]); fprintf(fout, "\n"); -- cgit v1.2.3