From fba64861c1f5307adcf1ff820511664c94e133f8 Mon Sep 17 00:00:00 2001 From: Constantin Pape Date: Sun, 15 Dec 2024 09:12:23 +0100 Subject: [PATCH] Debug inference on windows --- synapse_net/inference/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse_net/inference/util.py b/synapse_net/inference/util.py index ea92f29..66b6a3a 100644 --- a/synapse_net/inference/util.py +++ b/synapse_net/inference/util.py @@ -344,6 +344,7 @@ def inference_helper( assert len(input_files) == len(mask_files) for i, img_path in tqdm(enumerate(input_files), total=len(input_files), desc="Processing files"): + print("!!!!!!!!!!!!!!!!!1 start segmentation for", img_path) # Determine the output file name. input_folder, input_name = os.path.split(img_path) @@ -396,6 +397,7 @@ def inference_helper( with open_file(output_path, "a") as f: f.create_dataset(output_key, data=segmentation, compression="gzip") + print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 segmentation done") print(f"Saved segmentation to {output_path}.")