Skip to content
Snippets Groups Projects
Commit 015acb21 authored by Pierre LOTTE's avatar Pierre LOTTE
Browse files

Fix regex for dataset search

parent 35a0e455
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ class BaseTrainer(): ...@@ -45,7 +45,7 @@ class BaseTrainer():
pwd = __exec('pwd')[0] pwd = __exec('pwd')[0]
path = f"{pwd}/{self.data_path}" path = f"{pwd}/{self.data_path}"
for file in __exec(f"find -L {self.data_path} -regex '^.*dataset[_0-9]*\(_auto_split\)*.csv'"): for file in __exec(f"find -L {self.data_path} -regex '^.*dataset[-_0-9]*\(_auto_split\)*.csv'"):
file_name = file.split("/")[-1][:-4] file_name = file.split("/")[-1][:-4]
args = { args = {
"executionType": task, "executionType": task,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment