Visitar URL original
Add internal helper for batched modelzoo inference from in-memory arrays (inference runner) by deruyter92 · Pull Request #3222 · DeepLabCut/DeepLabCut · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix shallowcopy -> deepcopy
  • Loading branch information
deruyter92 committed Feb 26, 2026
commit 07cc8b16199aafd57d15f8dd5bb9949f4346b6b6
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from __future__ import annotations

import copy
import logging
from pathlib import Path

Expand Down Expand Up @@ -166,7 +167,7 @@ def create_superanimal_inference_runners(
if isinstance(customized_model_config, (str, Path)):
model_cfg = read_config_as_dict(customized_model_config)
else:
model_cfg = customized_model_config.copy()
model_cfg = copy.deepcopy(customized_model_config)
else:
model_cfg = load_super_animal_config(
super_animal=superanimal_name,
Expand Down