lazyslide.models.segmentation.NuLite

lazyslide.models.segmentation.NuLite#

class NuLite(variant='H', magnification='20x')#

Bases: SegmentationModel

GitHub Paper Params: 47.9M FLOPs: 48.10G Apache 2.0; CC-BY-NC-SA-4.0 [Tommasino et al., 2024] Nuclei instance segmentation and classification

The output classes are:

  • 0: Background

  • 1: Neoplastic

  • 2: Inflammatory

  • 3: Connective

  • 4: Dead

  • 5: Epithelial

classmethod check_input_tile(tile_spec)#

A helper function to check if the input tile size is valid.

Return True if the input tile size is valid. And the model will be executed. Add a warning here if the input is not optimal but still can be executed.