New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to adapt to different resolution #12
Comments
HI, did you solve that? I have also encountered this problem |
No. However, the Swin model itself requires an input size of 224. It also cannot adapt to resolutions other than 224. I choose to crop the original image for training. |
Ok, thanks for your replay. |
Hi @KruskalLin, you may try other resolutions that are dividable by 28 (patch_size=4 * window_size=7) such as 252, 280, 308, 336, etc. |
Hi, thanks for your contribution. The model is unable to adapt to different resolutions except for 224 for both height and width. The error often occurs as
The text was updated successfully, but these errors were encountered: