Semi-supervised pose estimation using pytorch lightning
Project description
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:
- Create your first project using the app
- or follow the CLI User Guides (Singleview, Multiview).
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:
- Gatsby Charitable Foundation GAT3708
- NIH R50NS145433
- NIH U19NS123716
- NSF 1707398
- The NSF AI Institute for Artificial and Natural Intelligence
- Simons Foundation
- Wellcome Trust 216324
- Zuckerman Institute (Columbia University) Team Science
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lightning_pose-2.1.1.tar.gz.
File metadata
- Download URL: lightning_pose-2.1.1.tar.gz
- Upload date:
- Size: 120.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fb4116c7b070665dbc2b892a8cf511ef2e4eca47dc965ae34d70cd002759eba
|
|
| MD5 |
5a32f8e694a487ae4c6e2841f1878869
|
|
| BLAKE2b-256 |
4fec4f6a1008534ed7cf0884c58fbb9f7794f06737fdae5f5ccd8d86e4465dfe
|
File details
Details for the file lightning_pose-2.1.1-py3-none-any.whl.
File metadata
- Download URL: lightning_pose-2.1.1-py3-none-any.whl
- Upload date:
- Size: 149.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bef3d137a48db4ebdab2a7d037fd21bafa4c4356d011f9982756647f232eadde
|
|
| MD5 |
ac20a3297cae662cb0042d46a90128df
|
|
| BLAKE2b-256 |
7553dcb83f3626e6ed4651f96ad8b797798a8ea46689b98db597f4ea59dbe5ff
|