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

Input size is not a square, what should I do in this line? #76

Open
JerryKingQAQ opened this issue Jan 5, 2023 · 0 comments
Open

Input size is not a square, what should I do in this line? #76

JerryKingQAQ opened this issue Jan 5, 2023 · 0 comments

Comments

@JerryKingQAQ
Copy link

Thanks to your excellent work!
There has a tensor which size is (3, 56, 112), What should I do in this line to modify ?
self.num_patches = (img_size // (4 * 2 * 2)) * (img_size // (4 * 2 * 2)) # there are 3 sfot split, stride are 4,2,2 seperately

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

1 participant