diff --git a/deeplabcut/pose_estimation_pytorch/data/ctd.py b/deeplabcut/pose_estimation_pytorch/data/ctd.py index 4bb9b46323..5bc5303d71 100644 --- a/deeplabcut/pose_estimation_pytorch/data/ctd.py +++ b/deeplabcut/pose_estimation_pytorch/data/ctd.py @@ -477,7 +477,7 @@ def __init__( ) -> None: if config_path is not None and snapshot_path is not None: config_path = Path(config_path) - snapshot_path = Path(config_path) + snapshot_path = Path(snapshot_path) elif "config" in kwargs and "shuffle" in kwargs: bu_loader, snapshot = self.get_loader_and_snapshot(**kwargs) config_path = bu_loader.model_config_path