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

Add ViT-MAE and Refactor ViT(s) #172

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Conversation

anwai98
Copy link
Contributor

@anwai98 anwai98 commented Dec 4, 2023

This PR refactors the vision transformers in models in a separate module, as well as implements the vision transformer from MAEs (to make use of their pretrained models).

@anwai98 anwai98 changed the base branch from main to dev December 4, 2023 12:38
@anwai98 anwai98 changed the base branch from dev to main December 4, 2023 12:38
@anwai98 anwai98 marked this pull request as draft December 4, 2023 13:16
@anwai98 anwai98 marked this pull request as ready for review December 4, 2023 13:23
@anwai98
Copy link
Contributor Author

anwai98 commented Dec 4, 2023

@constantinpape This is now good to go. In short, this addresses:

  • Fixing UNETR for ViT-SAM
  • Adding ViT-MAE to UNETR
  • Refactors ViT in torch_em.model, at:vit.py

torch_em/model/unetr.py Show resolved Hide resolved
torch_em/model/unetr.py Show resolved Hide resolved
@constantinpape constantinpape merged commit 4ba7bd2 into constantinpape:main Dec 5, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants