Skip to content

Commit bae8f59

Browse files
author
staydelight
committed
fix-issue-6366
Signed-off-by: staydelight <[email protected]>
1 parent 074974b commit bae8f59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monai/transforms/post/array.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,8 @@ def __call__(self, img: Sequence[NdarrayOrTensor] | NdarrayOrTensor) -> NdarrayO
694694
total_weight += weight
695695

696696
out_pt /= total_weight
697-
return post_convert(out_pt, img)
697+
return self.post_convert(out_pt, img)
698+
698699

699700
class VoteEnsemble(Ensemble, Transform):
700701
"""

0 commit comments

Comments
 (0)