Skip to main content

Tools for cell segmentation

Project description

LACSS

LACSS is a deep-learning model for 2D/3D single-cell segmentation from microscopy images.

   pip install lacss[cuda12]

Models checkpoints

Multi-modality (2D + 3D)

name #params download mAP LiveCell* mAP Cellpose* mAP NIPS* ovule (3D)* platynereis (3D)*
small 60M model 56.3 52.0 54.2 44.4 56.7
base 152M model 57.1 56.0 62.9 47.0 60.8
base-e 304M model 57.4 58.3 65.7 49.8 61.9
  • mAP is the average of APs at IOU threshoulds of 0.5-0.95 (10 segments). Evaluations are on either testing or validation split of the corresponding datasets.

For benchmarking (2D only)

name #params training data download AP50 AP75 mAP
small-2dL 40M LiveCell model 84.3 61.1 57.4
small-2dC 40M Cellpose+Cyto2 model 87.6 62.0 56.4
small-2dN 40M NIPS challenge model 84.6 64.8 57.3

Deployment

You can now deploy the pretrained models as GRPC server:

   python -m lacss.deploy.remote_server --modelpath=<model_file_path>

For a GUI client see the Trackmate-Lacss project, which provides a FIJI/ImageJ plugin to perform cell segmentation/tracking in an interactive manner.

Why LACSS?

  • Multi-modality: works on both 2D (multichannel) images and 3D image stacks.

  • Speed: Inference time of the base model (150M parameters) is < 200 ms on GPU for an 1024x1024x3 image. We achieve this by desigining an end-to-end algorithm and aggressively eliminate CPU-dependent post-processings.

  • Point-supervised training: Lacss is a multi-task model with a separate "localization" head (besides the segmentation head) predicting cell locations. This also means that you can train/fine-tune cell-segmentation using only point labels. See references for details.

Give It A Try:

Gradio Demo: try your own images (2D only)

Colabs

Inference
Train

Documentation

API documentation

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lacss-0.14.3.tar.gz (79.8 kB view details)

Uploaded Source

Built Distribution

lacss-0.14.3-py3-none-any.whl (111.7 kB view details)

Uploaded Python 3

File details

Details for the file lacss-0.14.3.tar.gz.

File metadata

  • Download URL: lacss-0.14.3.tar.gz
  • Upload date:
  • Size: 79.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for lacss-0.14.3.tar.gz
Algorithm Hash digest
SHA256 37dd9fa3df927e0f53d094e4835ab17bf3e399c0a2464d4717439134ccea9167
MD5 fef6ef16fc3c2a6f108b026305a1c009
BLAKE2b-256 e4f11a86c50f767c12eec64f49ce76e3a823ec06a89cb18d993268b637218d06

See more details on using hashes here.

File details

Details for the file lacss-0.14.3-py3-none-any.whl.

File metadata

  • Download URL: lacss-0.14.3-py3-none-any.whl
  • Upload date:
  • Size: 111.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.15 Linux/6.5.0-1025-azure

File hashes

Hashes for lacss-0.14.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d684db6fefc8457059c92e78da4776503abbf080baca6ee50097d1d801c27801
MD5 e0f00759b94b812beac180a39d76713e
BLAKE2b-256 d8e342dc786483194b37a5d5b5ac5827857e8a5c882e5b73d8cd2e38905ca791

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page