dacapo.experiments.trainers.gp_augments.simple_config

Classes

SimpleAugmentConfig

This class is an implementation of AugmentConfig that applies simple augmentations.

Module Contents

class dacapo.experiments.trainers.gp_augments.simple_config.SimpleAugmentConfig

This class is an implementation of AugmentConfig that applies simple augmentations.

Parameters:
  • _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.SimpleAugment node.

Note

This class is a subclass of AugmentConfig.

node(_raw_key=None, _gt_key=None, _mask_key=None)

Get a gp.SimpleAugment node.

Parameters:
  • _raw_key ([type], optional) – Specific key for raw data, not used in this implementation. Defaults to None.

  • _gt_key ([type], optional) – Specific key for ground truth data, not used in this implementation. Defaults to None.

  • _mask_key ([type], optional) – Specific key for mask data, not used in this implementation. Defaults to None.

Returns:

Simple augmentation node which can be incorporated in the pipeline.

Return type:

gunpowder.SimpleAugment

Raises:

NotImplementedError – This method is not implemented.

Examples

>>> node = simple_augment_config.node()