We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running an optimization, the tqdm progress bar is started regardless of the way the optimization is started.
tqdm
Is there a way to decrease the verbosity?
The text was updated successfully, but these errors were encountered:
Hello @23pointsNorth,
I was able to reproduce this by running the following code:
import numpy as np from hyperactive import Hyperactive def objective_function(para): x, y = para["x"], para["y"] return -(x * x + y * y) search_space = { "x": list(np.arange(-10, 10, 0.01)), "y": list(np.arange(-10, 10, 0.01)), } hyper = Hyperactive(verbosity=["print_results"]) hyper.add_search(objective_function, search_space, n_iter=100) hyper.run()
Thank you for bringing this bug to my attention :-)
I will look into this. (it's probably because of the progress-bar rework/redesign)
Sorry, something went wrong.
I fixed this in 9afa1fe, did some basic manual testing and released the fix in v4.4.2. This version should be live in a few minutes.
You can close this issue if the fix was successful for your code.
until next time ;-)
The current state is nearly there! However, setting
hyper = Hyperactive(verbosity=False) # or hyper = Hyperactive(verbosity=[])
still results in an empty line being printed.
No branches or pull requests
When running an optimization, the
tqdm
progress bar is started regardless of the way the optimization is started.Is there a way to decrease the verbosity?
The text was updated successfully, but these errors were encountered: