Is it possible to get the progress bar in Spyder IDE? #897
Replies: 2 comments 1 reply
-
Yeah it would be really nice if this could work! I haven't tried since moving from ProgressBars.jl (old) to ProgressMeters.jl (current), but I have an old issue about this: #31. If you feel like getting your hands dirty, you could try disabling that behavior around sr.py:2774 and seeing if it works? I feel like the proper solution (assuming the above doesn't work) might be to hide the Julia progress bar, and somehow pipe the information from the backend asynchronously to Python, and then have Python display it using tqdm which has proper support for Jupyter. This should all be possible because the global interpreter lock is released once the Line 2085 in cd055a6 So this means that if you set up https://docs.python.org/3/library/threading.html, you could theoretically run a tqdm progress bar in parallel with the search taking place. Though I'm not sure if this would work or not. |
Beta Was this translation helpful? Give feedback.
-
P.S., you can also set up tensorboard logging: https://ai.damtp.cam.ac.uk/pysr/api/#pysr.TensorBoardLoggerSpec. If you open up tensorboard in your IDE, you can monitor progress in real-time. A little bit nicer than the text printouts but still not as nice as the IPython progress bars. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I Love this package and I'm blown away by the speed of it. I have a small issue though which in no way is impacting the outcome of the model. When using Spyder I get the warning below:
I'm not using Jupyter but I'm getting this warning. It would be nice to see a progress bar if it's possible.
python: 3.13.2
pysr: 1.5.3
Spyder 6.0.4:
Spyder Kernels: 3.0.3
Has anyone been able to get the progress bar to work in Spyder? Moving to more developer focused like Ipython or PyCharm isn't worth it just for a progress bar so if anyone knows how to get this working that would be awesome. Otherwise I can easily live without it.
Thanks!
A. Rose
Beta Was this translation helpful? Give feedback.
All reactions