Skip to content

Is it expected that larger roi_size in Sliding Window Inferer typically improves outcome #7613

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

You must be logged in to vote

Hi @dyollb,

The roi_size parameter in the Sliding Window Inferer refers to the spatial window size for inferences. This size stands for the region of interest that the model will evaluate during the sliding window operation.
If roi_size is the same as your training patches (in your case, [96, 96, 96]), it means your inference operation happens exactly on the same spatial scales as during training.
Increasing the roi_size to a larger dimension (like [160, 160, 160]) expands the context that the model sees during the inference operation. This can often improve the model's performance because it is considering a larger region of the image and can therefore make better predictions, especially…

Replies: 1 comment 1 reply

Comment options

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

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