Skip to content

Commit fba6486

Browse files
Debug inference on windows
1 parent 96e174a commit fba6486

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

synapse_net/inference/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ def inference_helper(
344344
assert len(input_files) == len(mask_files)
345345

346346
for i, img_path in tqdm(enumerate(input_files), total=len(input_files), desc="Processing files"):
347+
print("!!!!!!!!!!!!!!!!!1 start segmentation for", img_path)
347348
# Determine the output file name.
348349
input_folder, input_name = os.path.split(img_path)
349350

@@ -396,6 +397,7 @@ def inference_helper(
396397
with open_file(output_path, "a") as f:
397398
f.create_dataset(output_key, data=segmentation, compression="gzip")
398399

400+
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 segmentation done")
399401
print(f"Saved segmentation to {output_path}.")
400402

401403

0 commit comments

Comments
 (0)