From 98d01c39b47d88ea4eeae20f2f6adacadd9e2b3d Mon Sep 17 00:00:00 2001 From: Pavankumar Videm Date: Mon, 7 Apr 2025 14:34:06 +0200 Subject: [PATCH] bioimage_inference change output format from tif to tiff --- tools/bioimaging/bioimage_inference.xml | 16 ++++++++-------- tools/bioimaging/main.py | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/bioimaging/bioimage_inference.xml b/tools/bioimaging/bioimage_inference.xml index da673b1db5..291f04b3e1 100644 --- a/tools/bioimaging/bioimage_inference.xml +++ b/tools/bioimaging/bioimage_inference.xml @@ -2,7 +2,7 @@ with PyTorch 2.4.1 - 1 + 2 @@ -44,7 +44,7 @@ - + @@ -53,7 +53,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -85,7 +85,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -117,7 +117,7 @@ - + @@ -133,7 +133,7 @@ - + diff --git a/tools/bioimaging/main.py b/tools/bioimaging/main.py index 68399e5bf9..4c31fefeb0 100644 --- a/tools/bioimaging/main.py +++ b/tools/bioimaging/main.py @@ -141,4 +141,4 @@ def dynamic_resize(image: torch.Tensor, target_shape: tuple): pred_numpy = pred_data.detach().numpy() # write predicted TIF image to file - imageio.v3.imwrite("output_predicted_image.tif", pred_numpy, extension=".tif") + imageio.v3.imwrite("output_predicted_image.tiff", pred_numpy, extension=".tiff")