Skip to content

Commit

Permalink
copy config file before updating fields in inference
Browse files Browse the repository at this point in the history
  • Loading branch information
themattinthehatt committed Jul 22, 2024
1 parent b22c239 commit d00ec3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning_pose/utils/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d00ec3b

Please sign in to comment.