dacapo.experiments.trainers.gp_augments.simple_config

Module Contents

Classes

SimpleAugmentConfig

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

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.

Returns:

A node that can be included in a pipeline to perform simple data augmentations.

Return type:

Gunpowder SimpleAugment Node

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