From 908e6706ce2a208599b5ebc203b60e05da56d967 Mon Sep 17 00:00:00 2001 From: Maciej Wielgosz <maciej.wielgosz@nibio.no> Date: Tue, 9 May 2023 12:12:46 +0200 Subject: [PATCH] update to put to the oracle cloud --- config/config.yaml | 4 ++-- nibio_preprocessing/add_ground_to_inst_seg_folders.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.yaml b/config/config.yaml index 22812fd..2ef3fc0 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -1,6 +1,6 @@ general: - input_folder: './maciek' - output_folder: './maciek_results' + input_folder: './local_input_folder' + output_folder: './local_output_folder' clean_output_folder: true run_sematic_segmentation: true run_instance_segmentation: true diff --git a/nibio_preprocessing/add_ground_to_inst_seg_folders.py b/nibio_preprocessing/add_ground_to_inst_seg_folders.py index c8effb1..05d1a6d 100644 --- a/nibio_preprocessing/add_ground_to_inst_seg_folders.py +++ b/nibio_preprocessing/add_ground_to_inst_seg_folders.py @@ -25,7 +25,7 @@ class AddGroundToInstSegFolders(): # check if same amount of files if not throw an exception and abort the programm if len(sem_seg_files) != len(inst_seg_files): - raise Exception("The amount of files in the semantic segmentation folder and the instance segmentation folder is not the same. Please check the input folders.") + print("The amount of files in the semantic segmentation folder and the instance segmentation folder is not the same. Please check the input folders.") # if output folder does not exist create it if not os.path.isdir(self.output_folder): -- GitLab