From 632ce6075fd880cb4913bc93fe53a761a532f45d Mon Sep 17 00:00:00 2001 From: Blaise <133521603+blaise-tk@users.noreply.github.com> Date: Sun, 21 Jan 2024 10:25:11 +0100 Subject: [PATCH] Minor change on core --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 27449e14..31542486 100644 --- a/core.py +++ b/core.py @@ -169,7 +169,7 @@ def run_preprocess_script(model_name, dataset_path, sampling_rate): str(per), ] - os.mkdir(os.path.join(logs_path, str(model_name))) + os.makedirs(os.path.join(logs_path, str(model_name)), exist_ok=True) subprocess.run(command) return f"Model {model_name} preprocessed successfully."