dicee.trainer.torch_trainer
Classes
TorchTrainer for using single GPU or multi CPUs on a single node |
Module Contents
- class dicee.trainer.torch_trainer.TorchTrainer(args, callbacks)[source]
Bases:
dicee.abstracts.AbstractTrainer
TorchTrainer for using single GPU or multi CPUs on a single node
Arguments
callbacks: list of Abstract callback instances
- loss_function = None
- optimizer = None
- model = None
- train_dataloaders = None
- training_step = None
- process
- fit(*args, train_dataloaders, **kwargs) None [source]
Training starts
Arguments
- kwargs:Tuple
empty dictionary
- Return type:
batch loss (float)