aclew / DiViMe

ACLEW Diarization Virtual Machine - ARCHIVE -- visit github.com/srvk/DiViMe/releases for the latest version
Apache License 2.0
7 stars 1 forks source link

error running diartk #5

Closed chloepouprom closed 6 years ago

chloepouprom commented 6 years ago

Hey all,

I'm trying to run diartk, but I get the following error:

vagrant ssh -c "tools/diartk.sh data/ noisemes"
folder is not empty!
Tests finished
treating session1_p1_image1_0
tools/diartk.sh: line 86: HCopy: command not found
Could not open feature file for reading </vagrant/data//temp_diartk/session1_p1_image1_0.fea>
cp: cannot stat '/vagrant/data//temp_diartk/session1_p1_image1_0.rttm': No such file or directory
treating session1_p1_image2_0
tools/diartk.sh: line 86: HCopy: command not found
Could not open feature file for reading </vagrant/data//temp_diartk/session1_p1_image2_0.fea>
cp: cannot stat '/vagrant/data//temp_diartk/session1_p1_image2_0.rttm': No such file or directory
treating session1_p1_image3_0
tools/diartk.sh: line 86: HCopy: command not found
Could not open feature file for reading </vagrant/data//temp_diartk/session1_p1_image3_0.fea>
cp: cannot stat '/vagrant/data//temp_diartk/session1_p1_image3_0.rttm': No such file or directory
Connection to 127.0.0.1 closed.

I have the HTK tar.gz file in the project directory, and I made sure to run vagrant up --provision.

I had previously ran the noisemes_sad.sh script and it seemed to work fine (I generated .rttm files), but I also noticed this warning at the end -- not sure if related:

finished detecting speech and non speech segments
tools/noisemes_sad.sh: line 65: [!: command not found
can't move hyp_sum/ folder to noiseme_sad_temp/ because temp is already full
tools/noisemes_sad.sh: line 71: [!: command not found
can't move features/ folder to noiseme_sad_temp/ because temp is already full
Connection to 127.0.0.1 closed.

Thanks!

riebling commented 6 years ago

This looks to me like HTK was not installed ("HCopy: command not found") even though you had the HTK tar.gz file. Maybe a way to manually make sure HTK is installed:

vagrant ssh  # to ssh into the VM
tar zxvf /vagrant/HTK.tar.gz
cd htk
./configure --without-x --disable-hslab
make all
sudo make install
exit  # to exit the VM and return to the project directory

These are the provision commands in the Vagrantfile that are specific to installing HTK.

The 'command not found' messages from noisemes_sad.sh are a different problem.

chloepouprom commented 6 years ago

Thanks @riebling! Indeed, after manually installing HTK, diartk worked.