From f467ad114be961f323dbf63a5abdaaccc6d932cd Mon Sep 17 00:00:00 2001 From: vmalefioudakis Date: Sat, 19 Oct 2024 12:37:45 +0300 Subject: [PATCH] update inference_dataloader_histopath.py --- GANDLF/data/inference_dataloader_histopath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GANDLF/data/inference_dataloader_histopath.py b/GANDLF/data/inference_dataloader_histopath.py index ffc3dcd10..8be1c1e3f 100644 --- a/GANDLF/data/inference_dataloader_histopath.py +++ b/GANDLF/data/inference_dataloader_histopath.py @@ -134,7 +134,7 @@ def __getitem__(self, idx): (x_loc, y_loc), self._selected_level, (self._patch_size[0], self._patch_size[1]), - as_array=True, + # as_array=True, ) # this is to ensure that channels come at the beginning