Click here to register.

Acoustic Model Discussions

Flat
HTK DNN add layer issue
User: kothemel
Date: 8/24/2017 10:42 am
Views: 42
Rating: 0

First of all I have to say that I compiled the HTK with the MKL library.

So, I have created an initial DNN-HMM as the HTK manual suggests at page 65-66. It suggest to add one more layer and repeat pre-training until the best possible model is created. I have created a model with 4 hidden layer of 500 nodes each. Adding one more layer with the function HHed isn't creating any problem. But when I try to add an additional layer I get the error:

-------------------------------------------------------------------

*** Error in `../../bin.mkl/HHEd': free(): invalid pointer: 0x00007f67d3a0b528 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f67ce9c47e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f67ce9cd37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f67ce9d153c]
../../bin.mkl/HHEd[0x4bb449]
../../bin.mkl/HHEd[0x405c89]
../../bin.mkl/HHEd[0x403a04]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f67ce96d830]
../../bin.mkl/HHEd[0x403069]
======= Memory map: ========
00400000-00635000 r-xp 00000000 08:06 1320596                            /home/kothemel/Development/htk/bin.mkl/HHEd
00835000-00853000 rw-p 00235000 08:06 1320596                            /home/kothemel/Development/htk/bin.mkl/HHEd
00853000-00a77000 rw-p 00000000 00:00 0 
01e26000-01e9d000 rw-p 00000000 00:00 0                                  [heap]
7f67c8000000-7f67c8021000 rw-p 00000000 00:00 0 
7f67c8021000-7f67cc000000 ---p 00000000 00:00 0 
7f67ce097000-7f67ce749000 rw-p 00000000 00:00 0 
7f67ce749000-7f67ce74c000 r-xp 00000000 08:06 1966173                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f67ce74c000-7f67ce94b000 ---p 00003000 08:06 1966173                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f67ce94b000-7f67ce94c000 r--p 00002000 08:06 1966173                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f67ce94c000-7f67ce94d000 rw-p 00003000 08:06 1966173                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f67ce94d000-7f67ceb0d000 r-xp 00000000 08:06 1970826                    /lib/x86_64-linux-gnu/libc-2.23.so
7f67ceb0d000-7f67ced0d000 ---p 001c0000 08:06 1970826                    /lib/x86_64-linux-gnu/libc-2.23.so
7f67ced0d000-7f67ced11000 r--p 001c0000 08:06 1970826                    /lib/x86_64-linux-gnu/libc-2.23.so
7f67ced11000-7f67ced13000 rw-p 001c4000 08:06 1970826                    /lib/x86_64-linux-gnu/libc-2.23.so
7f67ced13000-7f67ced17000 rw-p 00000000 00:00 0 
7f67ced17000-7f67ced2d000 r-xp 00000000 08:06 1971130                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f67ced2d000-7f67cef2c000 ---p 00016000 08:06 1971130                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f67cef2c000-7f67cef2d000 rw-p 00015000 08:06 1971130                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f67cef2d000-7f67cf097000 r-xp 00000000 08:06 3015402                    /usr/lib/libiomp5.so
7f67cf097000-7f67cf297000 ---p 0016a000 08:06 3015402                    /usr/lib/libiomp5.so
7f67cf297000-7f67cf299000 r--p 0016a000 08:06 3015402                    /usr/lib/libiomp5.so
7f67cf299000-7f67cf2a2000 rw-p 0016c000 08:06 3015402                    /usr/lib/libiomp5.so
7f67cf2a2000-7f67cf2d1000 rw-p 00000000 00:00 0 
7f67cf2d1000-7f67cf3d9000 r-xp 00000000 08:06 1966179                    /lib/x86_64-linux-gnu/libm-2.23.so
7f67cf3d9000-7f67cf5d8000 ---p 00108000 08:06 1966179                    /lib/x86_64-linux-gnu/libm-2.23.so
7f67cf5d8000-7f67cf5d9000 r--p 00107000 08:06 1966179                    /lib/x86_64-linux-gnu/libm-2.23.so
7f67cf5d9000-7f67cf5da000 rw-p 00108000 08:06 1966179                    /lib/x86_64-linux-gnu/libm-2.23.so
7f67cf5da000-7f67cf5f2000 r-xp 00000000 08:06 1966167                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f67cf5f2000-7f67cf7f1000 ---p 00018000 08:06 1966167                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f67cf7f1000-7f67cf7f2000 r--p 00017000 08:06 1966167                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f67cf7f2000-7f67cf7f3000 rw-p 00018000 08:06 1966167                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f67cf7f3000-7f67cf7f7000 rw-p 00000000 00:00 0 
7f67cf7f7000-7f67d10aa000 r-xp 00000000 08:06 2242006                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_core.so
7f67d10aa000-7f67d12a9000 ---p 018b3000 08:06 2242006                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_core.so
7f67d12a9000-7f67d12b1000 r--p 018b2000 08:06 2242006                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_core.so
7f67d12b1000-7f67d12d2000 rw-p 018ba000 08:06 2242006                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_core.so
7f67d12d2000-7f67d1329000 rw-p 00000000 00:00 0 
7f67d1329000-7f67d2a05000 r-xp 00000000 08:06 2242010                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so
7f67d2a05000-7f67d2c04000 ---p 016dc000 08:06 2242010                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so
7f67d2c04000-7f67d2c07000 r--p 016db000 08:06 2242010                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so
7f67d2c07000-7f67d2de7000 rw-p 016de000 08:06 2242010                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_thread.so
7f67d2de7000-7f67d2dee000 rw-p 00000000 00:00 0 
7f67d2dee000-7f67d360d000 r-xp 00000000 08:06 2242009                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so
7f67d360d000-7f67d380d000 ---p 0081f000 08:06 2242009                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so
7f67d380d000-7f67d380e000 r--p 0081f000 08:06 2242009                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so
7f67d380e000-7f67d381f000 rw-p 00820000 08:06 2242009                    /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so
7f67d381f000-7f67d3825000 rw-p 00000000 00:00 0 
7f67d3825000-7f67d384b000 r-xp 00000000 08:06 1966094                    /lib/x86_64-linux-gnu/ld-2.23.so
7f67d390e000-7f67d3a31000 rw-p 00000000 00:00 0 
7f67d3a46000-7f67d3a4a000 rw-p 00000000 00:00 0 
7f67d3a4a000-7f67d3a4b000 r--p 00025000 08:06 1966094                    /lib/x86_64-linux-gnu/ld-2.23.so
7f67d3a4b000-7f67d3a4c000 rw-p 00026000 08:06 1966094                    /lib/x86_64-linux-gnu/ld-2.23.so
7f67d3a4c000-7f67d3a4d000 rw-p 00000000 00:00 0 
7fffa0e86000-7fffa0ea8000 rw-p 00000000 00:00 0                          [stack]
7fffa0eef000-7fffa0ef1000 r--p 00000000 00:00 0                          [vvar]
7fffa0ef1000-7fffa0ef3000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
[1]    3168 abort (core dumped)  ../../bin.mkl/HHEd -H dnn/connected_model/pretrain/dnn5/hmmdefs -M   

-------------------------------------------------------------------

Has anybody dealt with this problem?
Thanks in advance

 

--- (Edited on 8/24/2017 10:43 am [GMT-0500] by kothemel) ---

Next