Skip to content

problem with number of input channels, using spleen_segmentation_3d.ipynb with own dataset #1443

Answered by KumoLiu
esther1262 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @esther1262, could you please try LoadImaged(keys=["image", "label"], ensure_channel_first=True) in your code and see what comes out? Seems you didn't add a channel dim in the transform chain.
Hope it can help you.
Thanks!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@esther1262
Comment options

@KumoLiu
Comment options

Answer selected by esther1262
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