bioRxivAnimal Behavior & CognitionPreprint
On the inference speed and video-compression robustness of DeepLabCut
Abstract
Pose estimation is crucial for many applications in neuroscience, biomechanics, genetics and beyond. We recently presented a highly efficient method for markerless pose estimation based on transfer learning with deep neural networks called DeepLabCut. Current experiments produce vast amounts of video data, which pose challenges for both storage and analysis. Here we improve the inference speed of DeepLabCut by up to tenfold and benchmark these updates on various CPUs and GPUs. In particular, depending on the frame size, poses can be inferred offline at up to 1200 frames per second (FPS). For instance, 278 x 278 images can be processed at 225 FPS on a GTX 1080 Ti graphics card. Furthermore, we show that DeepLabCut is highly robust to standard video compression (ffmpeg). Compression rates of greater than 1,000 only decrease accuracy by about half a pixel (for 640 x 480 frame size). DeepLabCuts speed and robustness to compression can save both time and hardware expenses.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Using DeepLabCut for 3D markerless pose estimation across species and behaviors
Tanmay Nath, Alexander Mathis, … Mackenzie Weygandt Mathis·Nature ProtocolsPeer-reviewed·Jun 21, 2019
- Validation of DeepLabCut as a tool for markerless 3D pose estimation
Veronika Kosourikhina, Diarmuid Kavanagh, … David Michael Kaplan·bioRxiv·Mar 29, 2022
- Real-time, low-latency closed-loop feedback using markerless posture tracking
Gary A. Kane, Gonçalo Lopes, … Mackenzie Weygandt Mathis·eLifePeer-reviewed·Dec 8, 2020
- DeepPoseKit, a software toolkit for fast and robust animal pose estimation using deep learning
J. M. Graving, D. Chae, … I. D. Couzin·bioRxiv·Sep 4, 2019
- Validating marker-less pose estimation with 3D x-ray radiography
D. D. Moore, J. D. Walker, … N. G. Hatsopoulos·bioRxiv·Jun 15, 2021
- Evaluation and primer for using DeepLabCut to track small animals in large spaces
Lata Kalra, Susan Balenger, … Mingzi Xu·bioRxiv·Oct 16, 2026