From d00ec3bc00ab9d5c4048369db73db28b0ca461ab Mon Sep 17 00:00:00 2001 From: themattinthehatt Date: Mon, 22 Jul 2024 16:55:25 -0400 Subject: [PATCH] copy config file before updating fields in inference --- lightning_pose/utils/predictions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning_pose/utils/predictions.py b/lightning_pose/utils/predictions.py index 6a4fcd64..ada2c829 100644 --- a/lightning_pose/utils/predictions.py +++ b/lightning_pose/utils/predictions.py @@ -392,7 +392,7 @@ def predict_single_video( """ - cfg = get_cfg_file(cfg_file=cfg_file) + cfg = get_cfg_file(cfg_file=cfg_file).copy() # copy because we update imgaug field below delete_model = False if model is None: