Open arxaqapi opened 2 months ago
The following error is encountered Trial.should_prune() takes 1 positional argument but 2 were given when running an Optimizer instance created using a pruner like seen below:
Trial.should_prune() takes 1 positional argument but 2 were given
optimizer = Optimizer(pipeline, sampler="TPESampler", pruner="SuccessiveHalvingPruner")
Here is a MRE to display the error: MRE_pyannote_pipeline_optuna.ipynb
The optuna version used in the MRE is optuna==3.6.1
optuna==3.6.1
I think the changes in your repository fully fix this issue, you should submit a pull request ! EDIT: nevermind i'm blind
The following error is encountered
Trial.should_prune() takes 1 positional argument but 2 were given
when running an Optimizer instance created using a pruner like seen below:Here is a MRE to display the error: MRE_pyannote_pipeline_optuna.ipynb
The optuna version used in the MRE is
optuna==3.6.1