Skip to content

Commit

Permalink
Minor change on core
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewf authored Jan 21, 2024
1 parent 866f8c6 commit 632ce60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down

0 comments on commit 632ce60

Please sign in to comment.