baby.training

Utilities for training the steps of BABY separately or sequentially.

The training module combines all of the utilities and structures needed to train a BABY segmentation framework from scratch. It includes the following trainers * SmoothingModelTrainer: hyper-parameters for smooth data augmentation * FlattenerTrainer: hyper-parameters for distinguishing CNN outputs * HyperParameterTrainer: CNN hyper-parameters * CNNTrainer: CNN using gradient descent to optimize for a given loss * SegmentationTrainer: hyper-parameters for post-processing of CNN Output into cell instances and attributes

Given the appropriate inputs, each of these can be trained separately. This is useful for fine-tuning or re-training parts separately.

For training the entire framework at once, it is recommended to use the BabyTrainer class, which is also aliased as Nursery.

Modules

baby.training.cnn_trainer

baby.training.flattener_trainer

Optimising the hyper-parameters of the SegmentationFlattener

baby.training.hyper_parameter_trainer

baby.training.hypermodels

baby.training.smoothing_model_trainer

baby.training.tracker

baby.training.training

baby.training.utils

baby.training.v1_hyper_parameter_trainer