Open txz233 opened 5 years ago
I found the error log: Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. Now I am trying to fix it....
Only the gmm model has this problem. It may caused by multi thread operations because the intel mkl library cannot be loaded if they are occupied. DNN is totally OK btw.
You can try this solution in worker.py.
from this website: https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/748309 try this before executing: export LD_PRELOAD=/opt/intel/mkl/lib/intel64/libmkl_def.so:/opt/intel/mkl/lib/intel64/libmkl_avx2.so:/opt/intel/mkl/lib/intel64/libmkl_core.so:/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so:/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so:/opt/intel/lib/intel64_lin/libiomp5.so helped me on both python and bash programs.
from this website: https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/748309 try this before executing: export LD_PRELOAD=/opt/intel/mkl/lib/intel64/libmkl_def.so:/opt/intel/mkl/lib/intel64/libmkl_avx2.so:/opt/intel/mkl/lib/intel64/libmkl_core.so:/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so:/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so:/opt/intel/lib/intel64_lin/libiomp5.so helped me on both python and bash programs.
It work for me. Tks alot. U save my life :dancer:
Following the instructions, I ran the client.py to detection the speech in english_test.raw. But there is only an empty string returned. I have no idea what happened, but I think there are some details which may cause the problem:
there is nothing in the out-dir in the yaml file. I modified the codes to make them run in Python3.
Can someone tell me where the problem is or which part of the logs should I check?