ignite icon indicating copy to clipboard operation
ignite copied to clipboard

[Cleanup] Remove redundant pbar initialization in examples

Open TahaZahid05 opened this issue 9 months ago • 0 comments

Hi there!

In mnist_with_tqdm_logger.py, and HandlersTimeProfiler_MNIST.ipynb there is a line explicitly setting pbar = 0 before the engine runs.

This initialization is redundant. The Ignite ProgressBar handler manages its own internal state and display logic. Removing these lines cleans up the example code and prevents potential confusion for users regarding manual state management of the progress bar.

TahaZahid05 avatar Feb 07 '26 23:02 TahaZahid05