dacapo.experiments.trainers.gp_augments.augment_config
Classes
Base class for gunpowder augment configurations. Each subclass of a Augment |
Module Contents
- class dacapo.experiments.trainers.gp_augments.augment_config.AugmentConfig
Base class for gunpowder augment configurations. Each subclass of a Augment should have a corresponding config class derived from AugmentConfig.
- _raw_key
Key for raw data. Not used in this implementation. Defaults to None.
- _gt_key
Key for ground truth data. Not used in this implementation. Defaults to None.
- _mask_key
Key for mask data. Not used in this implementation. Defaults to None.
- node(_raw_key=None, _gt_key=None, _mask_key=None)
Get a gp.Augment node.
- abstract node(raw_key: gunpowder.ArrayKey, gt_key: gunpowder.ArrayKey, mask_key: gunpowder.ArrayKey) gunpowder.BatchFilter
Get a gunpowder augment node.
- Parameters:
raw_key (gp.ArrayKey) – Key for raw data.
gt_key (gp.ArrayKey) – Key for ground truth data.
mask_key (gp.ArrayKey) – Key for mask data.
- Returns:
Augmentation node which can be incorporated in the pipeline.
- Return type:
gunpowder.BatchFilter
- Raises:
NotImplementedError – This method is not implemented.
Examples
>>> node = augment_config.node(raw_key, gt_key, mask_key)