Skip to content
Discussion options

You must be logged in to vote

sliding_window_inferer works on a batch of data, so I can't see a general way to infer each image in the batch with different crop sizes.

It would require a bit of code to be written on your part, but could you not crop your image before passing it to the sliding window inferrer? If you wanted, you could then use the inverse transformation to restore it to its original shape (so that you can combine different regions).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Maxlo24
Comment options

@rijobro
Comment options

rijobro Sep 22, 2021
Collaborator

@Maxlo24
Comment options

@rijobro
Comment options

rijobro Sep 22, 2021
Collaborator

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