Skip to main content

Semi-supervised pose estimation using pytorch lightning

Project description

Discord GitHub Documentation Status codecov PyPI PyPI Downloads

Lightning Pose is an end-to-end toolkit designed for robust multi-view and single-view animal pose estimation using advanced transformer architectures. It leverages Multi-View Transformers and patch-masking training to learn geometric relationships between views, resulting in strong performance on occlusions Aharon, Whiteway et al. 2026. For single-view datasets it leverages temporal context and learned plausibility constraints for strong performance in challenging scenarios Biderman, Whiteway et al. 2024, Nature Methods. It has a rich GUI that supports the end-to-end workflow: labeling, model management, and evaluation.

Installation

Lightning-pose requires a Linux or WSL environment with an NVIDIA GPU.

For users without access to a local NVIDIA GPU, it is highly recommended to use the Lightning AI cloud environment, which provides persistent, browser-based "Studios" with on-demand access to powerful GPUs and pre-configured CUDA environments.

Install dependencies:

sudo apt install ffmpeg

# Verify nvidia-driver with CUDA 12+
nvidia-smi

In a clean python virtual environment (conda or other virtual environment manager), run:

pip install lightning-pose lightning-pose-app

That's it! To run the app:

litpose run_app

Please see the installation guide for more detailed instructions, and feel free to reach out to us on Discord in case of any hiccups.

Getting Started

To get started with Lightning Pose, follow the guides on our documentation:

Community

The Lightning Pose team also actively develops the Ensemble Kalman Smoother (EKS), a simple and performant post-processor that works with any pose estimation package including Lightning Pose, DeepLabCut, and SLEAP.

Lightning Pose is primarily maintained by Karan Sikka (Columbia University) and Matt Whiteway (Columbia University).

Lightning Pose is under active development and we welcome community contributions. Whether you want to implement some of your own ideas or help out with our development roadmap, please get in touch with us on Discord (see contributing guidelines here).

Funding

We are grateful for support from the following:

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

lightning_pose-2.2.0.tar.gz (135.9 kB view details)

Uploaded Source

Built Distribution

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

lightning_pose-2.2.0-py3-none-any.whl (166.6 kB view details)

Uploaded Python 3

File details

Details for the file lightning_pose-2.2.0.tar.gz.

File metadata

  • Download URL: lightning_pose-2.2.0.tar.gz
  • Upload date:
  • Size: 135.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Linux/6.17.0-1013-azure

File hashes

Hashes for lightning_pose-2.2.0.tar.gz
Algorithm Hash digest
SHA256 9ac512c29acb656dc98346b7987ee3c56e3cfcc6f0f52f8e26643ada0944275e
MD5 8fbcd439ebb30e90a15880bfe8b99cde
BLAKE2b-256 37306071c515c582febb04a13f602d5de171c38bcbaaa69835d6f244483cbb4c

See more details on using hashes here.

File details

Details for the file lightning_pose-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: lightning_pose-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 166.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Linux/6.17.0-1013-azure

File hashes

Hashes for lightning_pose-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09edc01b05cc0a6db1dee1fda0b8134d8ad3e8b0707878ee04ec09d3fff9332d
MD5 756bef6c76c2fc33db9de005f3465685
BLAKE2b-256 80a0a4933777e83f2bd046e37e33d927c69ca3ba2e15a2027d233726b4f79f7c

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