The outputs of sliding window inference aren't discrete values? #5904
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
yes, |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
yes, |
Beta Was this translation helpful? Give feedback.
yes,
post_pred = AsDiscrete(argmax=False, threshold=0.5)
as a postprocessing will do a voxel-wise thresholding at 0.5 to make them binary predictions.post_pred = AsDiscrete(argmax=True)
will return the integer class labels as you described.