pyannote-pipeline icon indicating copy to clipboard operation
pyannote-pipeline copied to clipboard

Error while optimizing hyperparameters of clustering pipeline

Open HannaLangenberg opened this issue 1 year ago • 2 comments

Hello! I wanted to try out the hyperparameter otimization as described in the pyannote-pipeline ReadMe. When calling optimizer.tune() I got the following error:

File "/usr/local/lib/python3.10/dist-packages/pyannote/pipeline/optimizer.py", line 269, in objective
    (mean, (lower_bound, upper_bound)), _, _ = bayes_mvs(
NameError: name 'bayes_mvs' is not defined

I guess it might be a missing import: from scipy.stats import bayes_mvs ? I am running in Google Colab. Thank you!

HannaLangenberg avatar Dec 08 '23 10:12 HannaLangenberg

Thanks for the report. Would you mind opening a PR adding this import back?

hbredin avatar Dec 11 '23 08:12 hbredin

Thank you for your response! I will have a look at it.

All the best!

HannaLangenberg avatar Dec 14 '23 08:12 HannaLangenberg