DiViMe icon indicating copy to clipboard operation
DiViMe copied to clipboard

No such file or directory: '/vagrant/data//temp/*.ToCombo.txt'

Open smeylan opened this issue 6 years ago • 4 comments

toCombo throws an error for me. opensmileSad.sh and noisemesSad.sh work fine

stephan@chompsky:/shared_hd1/VMs/DiViMe/data$vagrant ssh -c "tocomboSad.sh data/"
wavs and transcriptions found !
Tests finished
finished
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is .:/usr/local/MATLAB/MATLAB_Runtime/v93/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v93/bin/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v93/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Runtime/v93/sys/opengl/lib/glnxa64
trained model file is located at
GMM_file_path =
    '/home/vagrant/repos/To-Combo-SAD/UBMnodct256Hub5.txt'
i =
     1
processing filename
speechFilename =
    '/vagrant/data//84071-BER_2224_16_11_01293.wav'
Traceback (most recent call last):
  File "/home/vagrant/repos/To-Combo-SAD/tocombo2rttm.py", line 22, in <module>
    fread = open(sys.argv[1], 'r')
IOError: [Errno 2] No such file or directory: '/vagrant/data//temp/*.ToCombo.txt'

smeylan avatar Apr 16 '19 14:04 smeylan

Also, it looks like toCombo did output some files despite the error -- tocomboSad_*.ToCombo.txt.rttm and tocomboSad_84071-BER_2224_16_11_01293.rttm

smeylan avatar Apr 16 '19 14:04 smeylan

Could you describe the content of tocomboSad_84071-BER_2224_16_11_01293.rttm ?

MarvinLvn avatar Apr 16 '19 23:04 MarvinLvn

Looks like a well-formed rttm from tocombo. From the top:

SPEAKER  84071-BER_2224_16_11_01293  1  0   1.98  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  4.41   0.49  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  5.66   0.51  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  6.95   0.26  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  8.15   1.12  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  9.82   0.96  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  11.3   2.96  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  16.07   4.51  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  24.21   1.12  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  25.95   2.64  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  30.03   2.04  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  33.12   2.32  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  37.77   7.61  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  48.18   0.8  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  49.84   0.37  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  51.26   0.75  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  52.59   5.33  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  59.03   4.99  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  66.84   3.25  <NA> <NA> speech <NA>
SPEAKER  84071-BER_2224_16_11_01293  1  71.56   1.71  <NA> <NA> speech <NA>

smeylan avatar Apr 23 '19 21:04 smeylan

My guess is that you accidentally deleted the 'temp' folder, or ran two copies of the program at the same time - and then they'll interfere with each other.

I made the temp directory unique. Can you pull the repository and try again?

fmetze avatar May 22 '19 00:05 fmetze