opensource-spraakherkenning-nl / Kaldi_NL

Code related to the Dutch instance and user groups of the KALDI speech recognition toolkit
http://www.opensource-spraakherkenning.nl
Apache License 2.0
64 stars 16 forks source link

java remains active after decode has finished #6

Closed wmelder closed 7 years ago

wmelder commented 7 years ago

4 processes remain active after decode.sh has finished.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27249 asr 20 0 3364720 54908 11660 S 100.3 0.2 1366:02 java
27251 asr 20 0 3364720 54948 11656 S 100.3 0.2 1366:09 java
27253 asr 20 0 3364720 52992 11628 S 100.3 0.2 1366:08 java
27245 asr 20 0 3364720 52392 11732 S 100.0 0.2 1366:09 java

wmelder commented 7 years ago

I figured that this might have been caused by running decode.sh with relative filepath arguments, e.g. ../IN and ../OUT. Diarization was started, but the files could not be found, so my guess is that this caused the LIUM software to not stop. I killed the processes, started a new decode and now no process remains active.

Would be wise though to prevent something like that from happening and adapt the script so that relative filepaths can be used or error is thrown.