File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
src/lightning/pytorch/loops Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 3434 _request_dataloader ,
3535 _resolve_overfit_batches ,
3636)
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
5337from lightning .pytorch .trainer .connectors .logger_connector .result import _ResultCollection
5438from lightning .pytorch .trainer .states import RunningStage , TrainerFn
5539from 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
You can’t perform that action at this time.
0 commit comments