napari_cellseg3d.code_models.worker_inference#

Contains the InferenceWorker class, which is a custom worker to run inference jobs in.

Module Attributes

EXPERIMENTAL_AUTO_DISCARD_EMPTY_REGIONS

Whether to automatically discard erroneously over-labeled empty regions from semantic segmentation or not.

EXPERIMENTAL_AUTO_DISCARD_FRACTION_THRESHOLD

The fraction of pixels above which a region is considered wrongly labeled.

EXPERIMENTAL_AUTO_DISCARD_VALUE

The value above which a pixel is considered to contribute to over-labeling.

Classes

InferenceWorker(worker_config)

A custom worker to run inference jobs in.