Skip to content

Commit 708aec8

Browse files
committed
Fix: ZarrAvgMerger ValueError with zarr_format 3
Signed-off-by: kolasaniv1996 <[email protected]>
1 parent dfe6fc7 commit 708aec8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

monai/inferers/merger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,23 +274,23 @@ def __init__(
274274
shape=self.merged_shape,
275275
chunks=self.chunks,
276276
dtype=self.output_dtype,
277-
compressor=self.compressor,
277+
compressor=None,
278278
store=self.store,
279279
overwrite=True,
280280
)
281281
self.values = zarr.zeros(
282282
shape=self.merged_shape,
283283
chunks=self.chunks,
284284
dtype=self.value_dtype,
285-
compressor=self.value_compressor,
285+
compressor=None,
286286
store=self.value_store,
287287
overwrite=True,
288288
)
289289
self.counts = zarr.zeros(
290290
shape=self.merged_shape,
291291
chunks=self.chunks,
292292
dtype=self.count_dtype,
293-
compressor=self.count_compressor,
293+
compressor=None,
294294
store=self.count_store,
295295
overwrite=True,
296296
)

0 commit comments

Comments
 (0)