Update Batch_Inference.py
Browse files- Batch_Inference.py +1 -1
Batch_Inference.py
CHANGED
|
@@ -116,7 +116,7 @@ def main():
|
|
| 116 |
mask_image.save(output_path)
|
| 117 |
|
| 118 |
except Exception as e:
|
| 119 |
-
print(f"\n
|
| 120 |
|
| 121 |
print(f"\n Done! Masks saved in '{OUTPUT_MASK_DIR}' with same names as input images.")
|
| 122 |
|
|
|
|
| 116 |
mask_image.save(output_path)
|
| 117 |
|
| 118 |
except Exception as e:
|
| 119 |
+
print(f"\n Could not process {filename}. Error: {e}")
|
| 120 |
|
| 121 |
print(f"\n Done! Masks saved in '{OUTPUT_MASK_DIR}' with same names as input images.")
|
| 122 |
|