credit.trainers.trainerLES#
Attributes#
Classes#
Helper class that provides a standard way to create an ABC using |
Module Contents#
- credit.trainers.trainerLES.logger#
- class credit.trainers.trainerLES.TrainerLES(model: torch.nn.Module, rank: int, conf: dict)#
Bases:
credit.trainers.base_trainer.BaseTrainerHelper class that provides a standard way to create an ABC using inheritance.
- train_one_epoch(epoch, trainloader, optimizer, criterion, scaler, scheduler, metrics)#
- validate(epoch, valid_loader, criterion, metrics)#