Add internal helper for batched modelzoo inference from in-memory arrays (inference runner) by deruyter92 · Pull Request #3222 · DeepLabCut/DeepLabCut

added 3 commits

February 26, 2026 15:09
Introduce a modelzoo helper that resolves configs and checkpoints via build_weight_init, then constructs pose/detector runners for future in-memory batched APIs.

C-Achard

@deruyter92

Instead of several definitions of the persons class in the coco dataset, a single constant is placed in modelzoo.utils. This reduces code duplication improves maintainability and promotes centralized logic, rather than implying that the argument is intented to be tuned by the callers.

@deruyter92

C-Achard