You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting verbosity to the algo doesn't not lead to print the convergence. I am working in Notebooks, not sure if that is the cause of it.
To Reproduce
Running the first optimizer in the docs here on a different fitness function. Adding print(something) inside the class prints, but algo.set_verbosity(1) doesn't do anything.
Expected behavior
Would be nice to be able to print.
Environment (please complete the following information):
OS: Linux
Installation method: conda
Version: 2.18.0
The text was updated successfully, but these errors were encountered:
@matteoettam09 this is the expected behaviour, as the algorithms' screen output happens at the C++ level. I.e., you should see the screen output appearing in the console from which you started jupyter.
There's no easy solution for this issue. I think at one point the jupyter developers added automatic redirection of console output into the notebook GUI, but in my experience that can lead to deadlocks and I would thus warn against making use of this feature.
Describe the bug
Setting verbosity to the algo doesn't not lead to print the convergence. I am working in Notebooks, not sure if that is the cause of it.
To Reproduce
Running the first optimizer in the docs here on a different fitness function. Adding print(something) inside the class prints, but algo.set_verbosity(1) doesn't do anything.
Expected behavior
Would be nice to be able to print.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: