Skip to content

Error while optimizing hyperparameters of clustering pipeline #51

Open
@HannaLangenberg

Description

@HannaLangenberg

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!

Activity

hbredin

hbredin commented on Dec 11, 2023

@hbredin
Member

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

HannaLangenberg

HannaLangenberg commented on Dec 14, 2023

@HannaLangenberg
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @hbredin@HannaLangenberg

        Issue actions

          Error while optimizing hyperparameters of clustering pipeline · Issue #51 · pyannote/pyannote-pipeline