question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

md-eval.pl perl script for diarization evaluation is failing in pip package

See original GitHub issue

Traceback (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. image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
EklavyaFCBcommented, Jul 22, 2021

I had the same issue. Pip install gives the same error, but via git clone works for now.

1reaction
nauman-dawcommented, Mar 23, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

On the evaluation of speaker diarization systems - Desh Raj
I first tried md-eval.pl , and while that was relatively fast, it added a dependency on an external script, and was not very...
Read more >
nryant/dscore: Diarization scoring tools. - GitHub
This suite supports evaluation of diarization system output relative to a reference diarization subject to the following conditions:.
Read more >
speechbrain.utils.DER module - Read the Docs
Calculates Diarization Error Rate (DER) which is the sum of Missed Speaker (MS), False Alarm (FA), and Speaker Error Rate (SER) using md-eval-22.pl...
Read more >
Unsupervised Methods for Speaker Diarization - People
Abstract—In speaker diarization, standard approaches typically perform speaker clustering on some initial segmentation before.
Read more >
error when installing python packages with PIP - Stack Overflow
In your PATH environment variable, your Perl directories likely preceed the Python ones, so when you call pip , it fires the pip...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found