Skip to content

Commit

Permalink
Debug inference on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinpape committed Dec 15, 2024
1 parent 96e174a commit fba6486
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse_net/inference/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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}.")


Expand Down

0 comments on commit fba6486

Please sign in to comment.