diff --git a/folktexts/cli/launch_experiments_htcondor.py b/folktexts/cli/launch_experiments_htcondor.py index 6e7a475..d6e08dc 100755 --- a/folktexts/cli/launch_experiments_htcondor.py +++ b/folktexts/cli/launch_experiments_htcondor.py @@ -204,7 +204,7 @@ def main(): # Prepare command-line arguments models = args.model or LLM_MODELS tasks = args.task or ACS_TASKS - executable_path = Path(args.executable_path) + executable_path = Path(args.executable_path).resolve() if not executable_path.exists() or not executable_path.is_file(): raise FileNotFoundError(f"Executable script not found at '{executable_path}'.") @@ -218,7 +218,7 @@ def main(): else: all_experiments = [ make_llm_clf_experiment( - executable_path=executable_path, + executable_path=executable_path.as_posix(), model_name=model, task=task, results_root_dir=args.results_root_dir,