dacapo.experiments.tasks.affinities_task_config
Classes
This is a Affinities task config used for generating and |
Module Contents
- class dacapo.experiments.tasks.affinities_task_config.AffinitiesTaskConfig
This is a Affinities task config used for generating and evaluating voxel affinities for instance segmentations.
- neighborhood
A list of Coordinate objects.
- lsds
Whether or not to train lsds along with your affinities.
- num_lsd_voxels
The number of voxels to use for the lsd center of mass calculation.
- downsample_lsds
The factor by which to downsample the lsds.
- lsds_to_affs_weight_ratio
If training with lsds, set how much they should be weighted compared to affs.
- affs_weight_clipmin
The minimum value for affinities weights.
- affs_weight_clipmax
The maximum value for affinities weights.
- lsd_weight_clipmin
The minimum value for lsds weights.
- lsd_weight_clipmax
The maximum value for lsds weights.
- background_as_object
Whether to treat the background as a separate object.
- verify(self) Tuple[bool, str]
This method verifies the AffinitiesTaskConfig
Notes
This is a subclass of TaskConfig.
- task_type
- neighborhood: List[funlib.geometry.Coordinate]
- lsds: bool
- num_lsd_voxels: int
- downsample_lsds: int
- lsds_to_affs_weight_ratio: float
- affs_weight_clipmin: float
- affs_weight_clipmax: float
- lsd_weight_clipmin: float
- lsd_weight_clipmax: float
- background_as_object: bool