Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while optimizing hyperparameters of clustering pipeline #51

Open
HannaLangenberg opened this issue Dec 8, 2023 · 2 comments
Open

Comments

@HannaLangenberg
Copy link

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!

@hbredin
Copy link
Member

hbredin commented Dec 11, 2023

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

@HannaLangenberg
Copy link
Author

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

All the best!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants