Skip to content

Commit 340e1d8

Browse files
committed
update
1 parent 1dcfbbf commit 340e1d8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lightning/pytorch/callbacks/progress/rich_progress.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,6 @@ def _add_task(self, total_batches: Union[int, float], description: str, visible:
448448
)
449449

450450
def _initialize_progress_bar_id(self) -> None:
451-
# Initialize the training progress bar here because
452-
# `on_train_epoch_start` is not called when resuming from a mid-epoch restart
453451
total_batches = self.total_train_batches
454452
train_description = self._get_train_description(self.trainer.current_epoch)
455453
assert self.progress is not None

0 commit comments

Comments
 (0)