I am using tqdm progress bar on an iterator of length more than 100000.
So it looks something like this:
from tqdm import tqdm
for _, i in tqdm(enumerate(range(100000)), total=100000):
print(i)
Since it prints the progress bar 100000 times in the log file, it overwhelms and makes important information hard to find.
How can I make the tqdm progress bar be printed less frequently in the log file, say, every 10%?
Thank you!