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
As I need to sample the posterior on a very large sample of 1M rows, I have batched the operation and run it in groups of 10k
To monitor the progress, I put a tqdm progress bar on the bach loop.
This used to behave as expected, but since 5.13.1 this produces the following:
Reproduceable code example:
importpymcaspm# Define and sample any model you like into idatafromtqdmimporttqdmwithmodel:
foriintqdm(list(range(10))):
pm.sample_posterior_predictive(
idata,
progressbar=False,
)
Error message:
No response
PyMC version information:
5.13.1
Context for the issue:
No response
The text was updated successfully, but these errors were encountered:
I think @tomicapretto also noticed that. And he mentioned (?) it's an open issue in the progressbar library
May need an if/else statement somewhere.
ricardoV94
changed the title
BUG: model.sample_posterior_predictive not playing nice with tqdm
BUG: new progressar adds empty spaces when progressbar=False
Apr 22, 2024
Describe the issue:
As I need to sample the posterior on a very large sample of 1M rows, I have batched the operation and run it in groups of 10k
To monitor the progress, I put a tqdm progress bar on the bach loop.
This used to behave as expected, but since 5.13.1 this produces the following:
Reproduceable code example:
Error message:
No response
PyMC version information:
5.13.1
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: