-
test_transforms = Compose(
) def sgmt(r_img, l_img): This is my code and r_img and l_img are png images. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @JuAnYoO, could you please remove |
Beta Was this translation helpful? Give feedback.
You could specify
channel_dim
inEnsureChannelFirst
.MONAI/monai/transforms/utility/array.py
Lines 184 to 187 in 4c22a27