Skip to content
Discussion options

You must be logged in to vote

Hi again,
So I got it to work as intended. But know I have run into a problem and I could need some help.
As standard before validation and inference I am doing the transform:

inf_transforms = [
LoadImaged(keys=["image", "label"]),
EnsureChannelFirstd(keys=["image"]),
ScaleIntensityRanged(
keys=["image"],
a_min=conf.model.ScaleIntensityRanged_a_min,
a_max=conf.model.ScaleIntensityRanged_a_max,
b_min=conf.model.ScaleIntensityRanged_b_min,
b_max=conf.model.ScaleIntensityRanged_b_max,
clip=conf.model.ScaleIntensityRanged_clip,
)]

I cant figure out how to apply this as a standard transform before the data enters the test time augmentation module. I dont think I can put in the test time transf…

Replies: 5 comments 3 replies

Comment options

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

@KumoLiu
Comment options

Comment options

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

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
0 replies
Answer selected by wyli
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