bioRxiv Science⌕ Search

bioRxiv · 10.1101/457242

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Mathis, A., Warren, R. A.. 2018-10-30. On the inference speed and video-compression robustness of DeepLabCut. https://doi.org/10.1101/457242

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Can a Tiny Brain Plan? Reconstructing a Predatory Detour inthe Jumping Spider Portia labiata

Planning is the process of evaluating alternative futures to predict outcomes and guide action. Evidence for this process exists in several vertebrates, but remains contested in in-vertebrates. Jumping spiders in the genus Portia show planning-like behavior in lab studies, but how this translates to the wild is unclear, where hunts of potentially lethal spider prey occur over durations of more than an hour in dense foliage. We present the first fully video-recorded wild hunt of any Portia species, with a 3D reconstruction of its forty-two minute long route to attack an orb-weaving spider. The reconstruction suggests P. labiata may have planned its approach, avoiding a route half as long but potentially more conspicuous to the prey's sensory systems.

animal behavior and cognition↗

Assessing Enclosure Modifications to Enhance Accessibility for Zoo-Housed Meerkats (Suricata suricatta)

Scientific advancements have contributed to increased longevity of animals in zoos and aquariums, creating a growing need for environments that remain accessible to geriatric animals and animals with disabilities. However, few empirical studies have evaluated whether accessibility-focused enclosure modifications impact species-appropriate behavior. We evaluated the effects of accessibility modifications on a group of four adult zoo-housed meerkats (Suricata suricatta), including one individual with a forelimb amputation and one geriatric individual. Low-level logs and steps were added to the enclosure to provide intermediate heights and facilitate access to elevated areas. Following the introduction of these enclosure modifications, sentry behavior increased, with all individuals engaging in this behavior compared with only one individual during baseline. The meerkats also increased their overall use of low-elevated areas following modification, although individual responses varied. Posture differed between study phases, with meerkats more frequently adopting tri/quadrupedal postures following modification. Together, these findings suggest that relatively simple accessibility-focused modifications can expand opportunities for geriatric animals and animals with disabilities to engage in species-appropriate behavior. More broadly, this case study highlights the importance of empirically evaluating accessibility interventions and incorporating universal design principles into animal spaces to accommodate individuals with diverse physical abilities and promote positive animal welfare.

animal behavior and cognition↗

Hide and seek in a rainforest canopy : when a fruit-eating carnivore (almost) met its top predator carnivore

Prey-predator interactions in the wild are spectacular. Common reported cases come from ground-dwelling animals, in open areas and by daylight. Here, we report, for the first time, a sequence with the nocturnal arboreal kinkajou (Potos flavus), being followed ca. 20 minutes apart by one of its predators, the puma (Puma concolor), 33 m aboveground in a rainforest in French Guiana.

animal behavior and cognition↗