Skip to content

strange and bad results from training 3d segmentation model #1448

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

You must be logged in to vote

Hi @esther1262,

Thanks for the details.
You are trying to scale the intensity of the image and the label (arguments keys=["image", "label"] in the RandScaleIntensityd transform). The label only has values of zeros and ones. That's why the error.

When scaling intensities, you don't usually apply those transforms to the label.

Hope it makes sense,

Replies: 1 comment 9 replies

Comment options

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

@diazandr3s
Comment options

@esther1262
Comment options

@diazandr3s
Comment options

Answer selected by wyli
@esther1262
Comment options

@diazandr3s
Comment options

@esther1262
Comment options

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