LACSS
LACSS is a deep-learning model for 2D/3D single-cell segmentation from microscopy images.
pip install lacss
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
References
Metadata
Release files for lacss 0.15.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lacss-0.15.2.tar.gz | 75.1 kB | Without provenance | Details for lacss-0.15.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lacss-0.15.2-py3-none-any.whl | Python 3 | none | any | Details for lacss-0.15.2-py3-none-any.whl |
Total release size: 174.6 kB
Release files / lacss-0.15.2.tar.gz
| Download URL | lacss-0.15.2.tar.gz |
|---|---|
| Size | 75.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75f75e46140c5c0f723802be64fd625926035621715b9719c5a9f5076c6ba767
|
|
BLAKE2b-256 checksum How to use checksums |
f7c0797b8489de2e1b41142f5d089104d51da8e676b87210a98c239daa074904
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Release files / lacss-0.15.2-py3-none-any.whl
| Download URL | lacss-0.15.2-py3-none-any.whl |
|---|---|
| Size | 99.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40fab56314e1dbadfe2c88dfb1025fcfde598a1126f8f8af3a72449527af3fa0
|
|
BLAKE2b-256 checksum How to use checksums |
fb1434c0465648ec233b158fed47cbe75e2993f7340a6bfe816a000d2b4fcf73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Security for lacss 0.15.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.