hydrax.tqdm.tbatches#
- hydrax.tqdm.tbatches(dataloader: Dataloader[D], report_interval: int = 0, description: str = 'train', **kwargs) Iterable[Batch[D]]#
- Wraps a - Dataloaderwith tqdm progress bars, yielding each- Batch.- Parameters:
- dataloader – The - Dataloaderto wrap. It must be- deterministic, and not have been started via- with.
- report_interval – Interval, in batches, to check for issues and report. 0 by default, which means reporting is disabled. 
- description – A description for the progress bar. Defaults to “train”. 
- kwargs – Additional keyword arguments passed to tqdm. 
 
- Returns:
- An iterator over each - Batchproduced by the Dataloader.