FitLoop¶
- class pytorch_lightning.loops.FitLoop(min_epochs=0, max_epochs=None)[source]¶
Bases:
pytorch_lightning.loops.loop.Loop
[None
]This Loop iterates over the epochs to run the training.
- Parameters:
- on_advance_start()[source]¶
Prepares the dataloader for training and calls the hook
on_train_epoch_start
- Return type:
- property running_loss: pytorch_lightning.trainer.supporters.TensorRunningAccum¶
Returns the running loss.
- property skip: bool¶
Whether we should skip the training and immediately return from the call to
run()
.