improved handling of animal names when analyzing videos by n-poulsen · Pull Request #2884 · DeepLabCut/DeepLabCut
Navigation Menu
{{ message }}
DeepLabCut / DeepLabCut Public
- Notifications You must be signed in to change notification settings
- Fork 1.8k
Merged
improved handling of animal names when analyzing videos#2884
improved handling of animal names when analyzing videos#2884
Conversation
Copy link
Contributor
n-poulsen
commented
Feb 17, 2025
n-poulsen
commented
Closes #2877
This pull request address video analysis and labeled video creation for multi-animal projects.
- adds an
animal_namesparameter todeeplabcut.analyze_videosanddeeplabcut.stitch_tracklets, allowing users to pass custom animal names when analyzing novel videos - when users ask to track fewer animals than the number defined in the project
config.yaml, the firstnnames are taken instead of replacing the names with["ind0", "ind1", ...] - fixes the use of the
displayedindividualsparameter increate_labeled_videowhen the names of the individuals in the analysis DataFrame don't match the name of the individuals in the projectconfig.yaml
n-poulsen
requested review from
MMathisLab and
maximpavliv
maximpavliv approved these changes Feb 17, 2025
Copy link
Contributor
maximpavliv
left a comment
maximpavliv
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @n-poulsen !!
n-poulsen
deleted the
niels/individual_naming
branch
This was referenced
Feb 17, 2025This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment