Skip to main content

Semi-supervised pose estimation using pytorch lightning

Project description

Discord GitHub Documentation Status 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.0.9.tar.gz (119.6 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.0.9-py3-none-any.whl (148.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightning_pose-2.0.9.tar.gz
  • Upload date:
  • Size: 119.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.4 CPython/3.11.15 Linux/6.17.0-1010-azure

File hashes

Hashes for lightning_pose-2.0.9.tar.gz
Algorithm Hash digest
SHA256 98f4334783278f29a2baa0a8728c788fa6f9ec0dce7c202f809e58c2ab664988
MD5 74de2ad965bc38e8cd97bda057a55537
BLAKE2b-256 266912947f8f2d75b61e4adb43ed4af37616313d9c110f41d06abdd8e6494e28

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lightning_pose-2.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a371c4559d94da3cb17d3c6c5a1a3752a684533567e2ae696dcc87dc93de3b00
MD5 490593e1bbc65662b0553355f5722d0a
BLAKE2b-256 499a757c733cebb93f10b0276fade3d2be0a8b142ab727ae792e9961d9b5256e

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