FastSurferCNN.train¶
- class FastSurferCNN.train.Trainer(cfg)[source]¶
Trainer for the networks.
Methods
__init__(cfg)Construct Trainer object.
train(train_loader, optimizer, scheduler, ...)Train the network to the given training data.
eval(val_loader, val_meter, epoch)Evaluate model and calculates stats.
run()Transfer the model to devices, create a tensor board summary writer and then perform the training loop.
- run()[source]¶
Transfer the model to devices, create a tensor board summary writer and then perform the training loop.