Skip to content
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

How to fit for different input size? #10

Open
mywebinfo65536 opened this issue Nov 19, 2022 · 1 comment
Open

How to fit for different input size? #10

mywebinfo65536 opened this issue Nov 19, 2022 · 1 comment

Comments

@mywebinfo65536
Copy link

Hi good job, could you tell me how to fit your code for input size, such as 128128, 192192, 256*256 ? thanks.

@vztu
Copy link
Collaborator

vztu commented Dec 21, 2022

Due to the nature of windowed attention, our model at 224x224 can only supports multipliers of 224 sizes, eg, 224/448/672/896... You'd have to manually pad the shape to satisfy the requirements. Please see our colab demos on how to inference at higher resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants