diff --git a/config/config.yaml b/config/config.yaml index 22812fdeb7b4caa6c725456964d0d03d5a599aa7..2ef3fc019666164d439d6ef30b412777c8da15dd 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 c8effb1af15d11e441a814f537bf1ed1aa7b9033..05d1a6d7a32bb4c365af58898e76393d7803de45 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):