-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Show sampling progress bars by forcing console behaviour in fastprogress #4349
Comments
You are right. It is indeed the same for PyCharm as described in #4090 and your solution works in this case as well. The files that require changes are:
|
This post gave me a solution. |
Thank you for sharing, that worked for me. However, I am not getting the iterations per second. I am doing a clean installation in a new computer so I am not sure if this feature has been removed. |
Can we fix this on the |
Would it be possible to add the import (not replace it), and then add a parameter to the
I'm not familiar enough with the code base to know how feasible this is though |
|
Hi @fohria and @sfo I tried your solution using Spyder and I still don't see a progress bar, would you have any ideas?
commenting out the original progress_bar import and inserting:
python 3.9.2, spyder 5.0.0, pymc3 3.11.2 |
Does anyone still have this problem? I use PyMC through VSCode all the time without any progress bar problems. |
I havent seen this problem. I vote we close and if it appears again someone can reopen |
Closing as stale, feel free to reopen if still relevant |
I'm using Atom + Hydrogen plugin and progress bars are not shown when sampling.
Probably the same issue as #4090 but there it's Pycharm.
fastprogress library has a
force_console_behavior
functionality which enabled me to see fastprogress progress bar, a la this issueTried adding that fix after import of pymc3 but didn't work, I suspect because the objects are already created on import.
so i replaced the import in pymc3/sampling.py and pymc3/parallel_sampling.py:
...and voila!
Maybe an option can be added somewhere to change to this progress bar behaviour for those editors that require it?
Versions and main components
The text was updated successfully, but these errors were encountered: