From c4fc71e637f3c7068f2d47d538c17916a8bf0556 Mon Sep 17 00:00:00 2001 From: MingzheYang Date: Fri, 23 Jan 2026 13:09:55 +0800 Subject: [PATCH] update --- example/run_ablation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/run_ablation.py b/example/run_ablation.py index f2b3e75..43302e6 100644 --- a/example/run_ablation.py +++ b/example/run_ablation.py @@ -7,7 +7,7 @@ import subprocess import sys from pathlib import Path -from platform_utils import safe_path, is_windows +from platform_utils import safe_path, is_windows, resolve_path def run(cmd): @@ -68,7 +68,7 @@ def main(): cfg["vocab_path"] = str(results_dir / f"disc_vocab_{tag}.json") cfg["out_dir"] = str(results_dir / f"ablation_{tag}") # ensure data paths are absolute for Windows - cfg["data_glob"] = str(Path(args.data_glob).resolve()) + cfg["data_glob"] = str(resolve_path(base_dir, args.data_glob)) cfg["data_path"] = str((repo_dir / "dataset" / "hai" / "hai-21.03" / "train1.csv.gz").resolve()) temp_cfg = results_dir / f"config_{tag}.json"