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