Skip to content
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