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 deploy the models as an GRPC server using the biopb.image protocol:

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

Public server

The Lacss public GRPC server is available here: lacss.biopb.org:443

The server is running the base model supporting both 2d and 3d segmentation.

For end user

  • Trackmate-Lacss is the recommended GUI client for FIJI users. This plugin integrate with TrackMate for interactive cell segmentation and cell tracking.
  • napari-biopb is recommended for napari users.
  • For setting up your analysis pipeline programmatically, see this example notebook.

Why LACSS?

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

  • Speed: optimized for GPU due to the end-to-end design and the elimination of 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.9.4.tar.gz (73.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lacss-0.9.4-py3-none-any.whl (98.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lacss-0.9.4.tar.gz
  • Upload date:
  • Size: 73.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for lacss-0.9.4.tar.gz
Algorithm Hash digest
SHA256 cc4c924ce7b738f96f571b96093c94b5d34c34058c88db96c9633f2d35e585f0
MD5 fd384a5b1287cbd5dcc0f1a3f006a9f0
BLAKE2b-256 55503948c640325d971dacdfe06cc3233e788a75039f9b8187d3b7f67c06b81c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lacss-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 98.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for lacss-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 92484e719a57d9d0bf8405f9b4b7e85ceb3891300e2fe1819841a9d55c327696
MD5 17c5b90a80d28558cf3a66f11dd8a0dc
BLAKE2b-256 9ace03e6a8a505f9252907a9b80abea9aa3d30e9bccffb5c4bb307771daf4244

See more details on using hashes here.

Supported by

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