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

ParameterTuner contains python3.9+ only code #389

Closed
tias opened this issue Jul 8, 2023 · 0 comments
Closed

ParameterTuner contains python3.9+ only code #389

tias opened this issue Jul 8, 2023 · 0 comments

Comments

@tias
Copy link
Collaborator

tias commented Jul 8, 2023

     82 params_dict = self._np_to_params(params_np)
     83 # set fixed params
---> 84 params_dict |= fix_params
     85 timeout = self.best_runtime
     86 # set timeout depending on time budget

TypeError: unsupported operand type(s) for |=: 'dict' and 'dict'

should be params_dict.update(fix_params) I think

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