Skip to main content

Segment Anything Based Electron Recognition

Project description

SABER⚔️

License PyPI Python Version

Segment Anything Based Electron tomography 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.

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

saber_em-0.9.0.tar.gz (16.6 MB view details)

Uploaded Source

Built Distribution

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

saber_em-0.9.0-py3-none-any.whl (712.0 kB view details)

Uploaded Python 3

File details

Details for the file saber_em-0.9.0.tar.gz.

File metadata

  • Download URL: saber_em-0.9.0.tar.gz
  • Upload date:
  • Size: 16.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for saber_em-0.9.0.tar.gz
Algorithm Hash digest
SHA256 6069095d2df27dc46b382dd9c8d04586d714f00dd722bb8bf71d546d0d3dd29b
MD5 8cf8249138ecae0a09005ff3ed7ad4d7
BLAKE2b-256 93210dbf669e212f9b2943700971a6c7e295654ba80ae63504d2e28986bece73

See more details on using hashes here.

Provenance

The following attestation bundles were made for saber_em-0.9.0.tar.gz:

Publisher: release-please.yml on chanzuckerberg/saber

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file saber_em-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: saber_em-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 712.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for saber_em-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c540b1eb774e5a09968a9ad58e30d1cad26b3e772af6848eab4fa4508fd6ca
MD5 3fc954a970c5838ee1b1adfe7f89bb03
BLAKE2b-256 2d004f1418a9bc7d7713f7f0c648a3c3d08b8f3ba4531b38afcfc6592d0e21d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for saber_em-0.9.0-py3-none-any.whl:

Publisher: release-please.yml on chanzuckerberg/saber

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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