Skip to content
Discussion options

You must be logged in to vote

Hi @bxdgit, oh I got it. An additional issue is that SqueezeDimd(keys=['image'], dim=-1), in the pre_transforms, it changes your input spacing. You could remove this line and update EnsureChannelFirstd with the specified channel dim.

EnsureChannelFirstd(keys=["image"], channel_dim=-1),

Hope it can help you, thanks! Just move it to the discussion.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bxdgit
Comment options

Answer selected by KumoLiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6042 on February 22, 2023 09:41.