SLEAP-NN¶

SLEAP-NN is the PyTorch backend for SLEAP, providing neural network training and inference for multi-animal pose estimation. It offers an end-to-end workflow from labeled data to tracked predictions, with seamless integration into SLEAP's GUI and command-line tools.
✨ Features¶
- Multiple model types – Single instance, top-down, bottom-up, and centroid models
- Modern backbones – UNet, ConvNeXt, and Swin Transformer architectures
- Multi-GPU training – PyTorch Lightning with DDP support
- Production export – ONNX and TensorRT for fast deployment
- Flexible config – Hydra/OmegaConf for reproducible experiments
Let's start SLEAP-NNing! 🐭🐭
📚 Explore the Docs¶
-
🚀 Quick Start
Install and train your first model in 5 minutes.
-
📖 Tutorials
Quick start, first model tutorial, and example notebooks.
-
📚 Guides
Training, inference, and tracking workflows.
-
⚙️ Configuration
Customize your training config.
-
💻 CLI Reference
Command-line interface documentation.
-
🎛️ Config Picker
Generate training configs interactively in your browser.
🔄 Coming from SLEAP < v1.5?¶
Load legacy models for inference
| SLEAP < v1.5 | SLEAP-NN |
|---|---|
| TensorFlow/Keras | PyTorch/Lightning |
| Single GPU | Multi-GPU (DDP) |
| Limited export | ONNX + TensorRT |
Get Help¶
-
FAQ
Common questions answered. View FAQ
-
Report Issues
Found a bug? Create an issue
-
Discussions
Questions? Start a discussion