md-eval.pl perl script for diarization evaluation is failing in pip package
See original GitHub issueTraceback (most recent call last): File "experiment.py", line 444, in <module> best_nn = dev_nn_tuner(full_csv, "dev") File "experiment.py", line 299, in dev_nn_tuner [MS, FA, SER, DER_] = DER( File "/home/michael/anaconda3/lib/python3.8/site-packages/speechbrain/utils/DER.py", line 103, in DER stdout = subprocess.check_output(cmd, stderr=subprocess.STDOUT) File "/home/michael/anaconda3/lib/python3.8/subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/home/michael/anaconda3/lib/python3.8/subprocess.py", line 489, in run with Popen(*popenargs, **kwargs) as process: File "/home/michael/anaconda3/lib/python3.8/subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/home/michael/anaconda3/lib/python3.8/subprocess.py", line 1702, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/home/michael/anaconda3/lib/python3.8/site-packages/speechbrain/utils /../../tools/der_eval/md-eval.pl'
Got that error when running the AMI diarization experiment.py file. Looked in the directoy and couldn’t find a tools folder.
Edit: Forgive me, but I can’t figure out how to format the traceback correctly.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7
Top GitHub Comments
I had the same issue. Pip install gives the same error, but via git clone works for now.
Just discussed with our team. Looks like there is some issue with having perl script (md-eval.pl) installed in pip package. We plan to fix this in coming future. Meanwhile, please free to clone git repo. It should work fine.