Skip to content

Improve DLCLoader.to_coco() and add force_multi_animal argument to dlc_torch.evaluate() - #2995

Merged
maximpavliv merged 7 commits into
mainfrom
maxim/stcs_superanimal_benchmarking
Aug 27, 2025
Merged

Improve DLCLoader.to_coco() and add force_multi_animal argument to dlc_torch.evaluate()#2995
maximpavliv merged 7 commits into
mainfrom
maxim/stcs_superanimal_benchmarking

Conversation

@maximpavliv

Copy link
Copy Markdown
Contributor

This Pull Request:

  1. Improves the DLCLoader.to_coco() method by:

    • Adding a pseudo-GT "bbox" key-value pair to each annotation.
    • Replacing NaN values in keypoints by annotations with visibility set to 0.0
  2. Adding a force_multi_animal argument to the dlc_torch.evaluate() method, which enables evaluating a model in multi-animal mode even when only a single animal is annotated in the dataset.

@maximpavliv
maximpavliv requested review from AlexEMG and MMathisLab May 26, 2025 10:13
@MMathisLab
MMathisLab requested review from yeshaokai and removed request for MMathisLab June 14, 2025 12:43
@maximpavliv
maximpavliv merged commit 12f3083 into main Aug 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants