dacapo.experiments.trainers.gunpowder_trainer_config

Module Contents

Classes

GunpowderTrainerConfig

This class is used to configure a Gunpowder Trainer. It contains attributes related to trainer type,

class dacapo.experiments.trainers.gunpowder_trainer_config.GunpowderTrainerConfig

This class is used to configure a Gunpowder Trainer. It contains attributes related to trainer type, number of data fetchers, augmentations to apply, snapshot interval, minimum masked value, and a boolean value indicating whether to clip raw or not.

trainer_type

This is the type of the trainer which is set to GunpowderTrainer by default.

Type:

class

num_data_fetchers

This is the number of CPU workers who will be dedicated to fetch and process the data.

Type:

int

augments

This is the list of augments to apply during the training.

Type:

List[AugmentConfig]

snapshot_interval

This is the number of iterations after which a new snapshot should be saved.

Type:

Optional[int]

min_masked

This is the minimum masked value.

Type:

Optional[float]

clip_raw

This is a boolean value indicating if the raw data should be clipped to the size of the GT data or not.

Type:

bool

trainer_type
num_data_fetchers: int
augments: List[dacapo.experiments.trainers.gp_augments.AugmentConfig]
snapshot_interval: int | None
min_masked: float | None
clip_raw: bool