Shortcuts
reg. user 1.5

If

Then

Ref

used trainer.fit(train_dataloaders=...)

use trainer.fit(dataloaders=...)

PR7431

used trainer.validate(val_dataloaders...)

use trainer.validate(dataloaders=...)

PR7431

passed num_nodes to DDPPlugin and DDPSpawnPlugin

remove them since these parameters are now passed from the Trainer

PR7026

passed sync_batchnorm to DDPPlugin and DDPSpawnPlugin

remove them since these parameters are now passed from the Trainer

PR7026

didn’t provide a monitor argument to the EarlyStopping callback and just relied on the default value

pass monitor as it is now a required argument

PR7907

used every_n_val_epochs in ModelCheckpoint

change the argument to every_n_epochs

PR8383

used Trainer’s flag reload_dataloaders_every_epoch

use pass reload_dataloaders_every_n_epochs

PR5043

used Trainer’s flag distributed_backend

use strategy

PR8575


© Copyright Copyright (c) 2018-2023, Lightning AI et al...

Built with Sphinx using a theme provided by Read the Docs.