Skip to content
Discussion options

You must be logged in to vote

Agreed, it is not "truly" flexible to arbitrary image sizes. Image resolutions still need to be a multiple of the patch size. My strategy for this is zero-padding to multiples of the patch size, which seems to be a reasonable workaround, but if done on the fly (i.e. inside the torch Dataset getitem) it can add some overhead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sann5
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