Skip to main content

SABER⚔️

License PyPI Python Version

Segment Anything Based Expert Recognition is a robust platform designed for autonomous segmentation of organelles from cryo-electron tomography (cryo-ET) or electron microscopy (EM) datasets.

Introduction

Leveraging foundational models, SABER enables segmentation directly from video-based training translated into effective 3D tomogram analysis. Users can utilize zero-shot inference with morphological heuristics or enhance prediction accuracy through data-driven training.

💫 Key Features

  • 🔍 Zero-shot segmentation: Segment EM/cryo-ET data without explicit retraining, using foundational vision models.
  • 🖼️ Interactive GUI for labeling: Intuitive graphical interface for manual annotation and segmentation refinement.
  • 🧠 Expert-driven classifier training: Fine-tune segmentation results by training custom classifiers on curated annotations.
  • 🧊 3D organelle segmentation: Generate volumetric segmentation masks across tomographic slices.

🚀 Getting Started

Installation

Saber is available on PyPI and can be installed using pip:

pip install saber-em

⚠️ Note:

  • By default, the GUI is not included in the base installation. To enable the graphical interface for manual annotation, install with:
pip install saber-em[gui]
  • One of the current dependencies is currently not working with pip 25.1. We recommend using pip 25.2 or higher when installing saber:
pip install --upgrade "pip>=25.2"

Basic Usage

SABER provides a clean, scriptable command-line interface. Run the following command to view all available subcommands:

saber --help

📚 Documentation

For detailed documentation, tutorials, CLI and API reference, visit our documentation

🤝 Contributing

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@chanzuckerberg.com.

🔒 Security

If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com.

Metadata

Release files for saber-em 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saber-em 1.0.1
File Size Uploaded
saber_em-1.0.1.tar.gz 16.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for saber-em 1.0.1
File Interpreter ABI Platform
saber_em-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.4 MB

Release files / saber_em-1.0.1.tar.gz

Download URL saber_em-1.0.1.tar.gz
Size 16.6 MB
Tags Source
SHA-256 checksum
How to use checksums
c01dd642a05d4c644c3bcbc1f98c1489ba0e63adf213b58f91e1e5f4040cc4f3
BLAKE2b-256 checksum
How to use checksums
1328baf9e46882bf411e39caebc89445c9dc1b3ecd6d696b42e914f5e8158538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Release files / saber_em-1.0.1-py3-none-any.whl

Download URL saber_em-1.0.1-py3-none-any.whl
Size 740.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56d119a800457cd83a800c3a5e7c6b29ffa3f718e2b87da845db4c6c3071dbbd
BLAKE2b-256 checksum
How to use checksums
018908cb53cb5922b5e67bdbce756e7e04378da6e478a9dc24c62ffe05c91c98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.5.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page