Skip to content

Commit 6bd4bca

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 692e9df commit 6bd4bca

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/lightning/pytorch/loops/fit_loop.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,6 @@
3434
_request_dataloader,
3535
_resolve_overfit_batches,
3636
)
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
5337
from lightning.pytorch.trainer.connectors.logger_connector.result import _ResultCollection
5438
from lightning.pytorch.trainer.states import RunningStage, TrainerFn
5539
from lightning.pytorch.utilities.combined_loader import _SUPPORTED_MODES, CombinedLoader
@@ -231,6 +215,7 @@ def setup_data(self) -> None:
231215
232216
This method checks if the data loader needs to be reloaded based on the current epoch and the specified
233217
conditions. It initializes the combined loader for training and handles overfitting scenarios.
218+
234219
"""
235220
if self._combined_loader is not None and not self._should_reload_train_dl:
236221
return # No need to reload if already set up and not required

0 commit comments

Comments
 (0)