From 259b4d5b000af18061efc38fc83433149d142314 Mon Sep 17 00:00:00 2001 From: Baptiste Bauvin <baptiste.bauvin@lis-lab.fr> Date: Thu, 28 Nov 2019 11:07:17 -0500 Subject: [PATCH] Simplified dataset serching --- .../mono_multi_view_classifiers/utils/execution.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/multiview_platform/mono_multi_view_classifiers/utils/execution.py b/multiview_platform/mono_multi_view_classifiers/utils/execution.py index 5165cb4f..8bec9645 100644 --- a/multiview_platform/mono_multi_view_classifiers/utils/execution.py +++ b/multiview_platform/mono_multi_view_classifiers/utils/execution.py @@ -308,9 +308,6 @@ def gen_direcorties_names(directory, stats_iter): def find_dataset_names(path, type, names): """This function goal is to browse the dataset directory and extrats all the needed dataset names.""" - config_path = os.path.dirname(os.path.abspath(__file__)) - config_path = os.path.join(config_path, "../..") - path = os.path.join(config_path, path) available_file_names = [file_name.strip().split(".")[0] for file_name in os.listdir(path) -- GitLab