I am using the following code to generate a progress bar which I will update using the update function.
tqdm::Params params;
params.desc="recursive_bisection";
params.leave = true;
params.dynamic_ncols = true;
auto progress = tqdm::tqdm(forward_index.begin(), forward_index.size(), params);
Until I call the update function for the first time it will pass few minutes, until then the progress bar is not shown at all. I have tried to call update(0) but it does not work.
Is there a better way to show the bar just after its initialization?
I am using the following code to generate a progress bar which I will update using the
updatefunction.tqdm::Params params; params.desc="recursive_bisection"; params.leave = true; params.dynamic_ncols = true; auto progress = tqdm::tqdm(forward_index.begin(), forward_index.size(), params);Until I call the
updatefunction for the first time it will pass few minutes, until then the progress bar is not shown at all. I have tried to callupdate(0)but it does not work.Is there a better way to show the bar just after its initialization?