lightning
LightningTrainerBaseSetup(log_every_n_steps=1)
¶
Bases: Callback
Custom callback used to setup a lightning trainer with default options.
Parameters:
-
log_every_n_steps
(
int
, default:1
) –Default value for trainer.log_every_n_steps if the dataloader is too small.
Source code in quadra/callbacks/lightning.py
17 18 |
|
on_fit_start(trainer, pl_module)
¶
Called on every stage.
Source code in quadra/callbacks/lightning.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|