summaryrefslogtreecommitdiff
path: root/htk_io/tools/tnet_to_nerv.c
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-12 15:30:25 +0800
committerDeterminant <[email protected]>2015-08-12 15:30:25 +0800
commit126433c7ab118e6ca65a3567662cec9509075cef (patch)
treef38ea5af95167437099eaa2918192abc6c7bd10c /htk_io/tools/tnet_to_nerv.c
parent09cb9dbf24be26ef064b3844a5a4b7ced8c8b02b (diff)
add script to convert nerv param file to TNet format
Diffstat (limited to 'htk_io/tools/tnet_to_nerv.c')
-rw-r--r--htk_io/tools/tnet_to_nerv.c2
1 files changed, 1 insertions, 1 deletions
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");