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

fix inconsistent patch size in dofa huge model #2627

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

mdchuc
Copy link
Contributor

@mdchuc mdchuc commented Mar 4, 2025

Fix the inconsistent patch size of DOFA huge model, specifically:

docs/api/models.rst:.. autofunction:: dofa_huge_patch16_224, changed to autofunction:: dofa_huge_patch14_224
tests/models/test_dofa.py: dofa_huge_patch16_224, changed to dofa_huge_patch14_224
tests/models/test_dofa.py: dofa_huge_patch16_224() changed to dofa_huge_patch14_224()
torchgeo/models/init.py: dofa_huge_patch16_224, changed to dofa_huge_patch14_224
torchgeo/models/init.py: 'dofa_huge_patch16_224', changed to dofa_huge_patch14_224
torchgeo/models/dofa.py: def dofa_huge_patch16_224(*args: Any, **kwargs: Any) -> DOFA: changed to dofa_huge_patch14_224(*args: Any, **kwargs: Any)

Closes #2618

@github-actions github-actions bot added documentation Improvements or additions to documentation models Models and pretrained weights testing Continuous integration testing labels Mar 4, 2025
@adamjstewart adamjstewart added this to the 0.6.3 milestone Mar 4, 2025
@adamjstewart adamjstewart added the backwards-incompatible Changes that are not backwards compatible label Mar 9, 2025
@adamjstewart
Copy link
Collaborator

Not too worried about breaking backwards compatibility here since the previous huge model definition never worked. Should be ready to go now, thanks again for reporting this bug!

@adamjstewart adamjstewart modified the milestones: 0.6.3, 0.7.0 Mar 9, 2025
@adamjstewart adamjstewart merged commit 597abcf into microsoft:main Mar 12, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompatible Changes that are not backwards compatible documentation Improvements or additions to documentation models Models and pretrained weights testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent patch size of DOFA huge model
2 participants