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

Update ViT for feature extraction, support elative positional embedding and layer scale #733

Closed
wants to merge 4 commits into from

Conversation

SamitHuang
Copy link
Collaborator

@SamitHuang SamitHuang commented Aug 31, 2023

Thank you for your contribution to the MindCV repo.
Before submitting this PR, please make sure:

Motivation

Previous ViT mainly aimed at image classification, which is not convenient to extend for unsupervised learning or detection. This PR makes ViT more extendable.

Test Plan

python infer.py --model vit_b_32_224 --image two_cats.jpg

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)

@SamitHuang SamitHuang changed the title Refractor ViT for easy feature extraction and support of relative positional embedding Update ViT for feature extraction, support elative positional embedding and layer scale Aug 31, 2023
@SamitHuang
Copy link
Collaborator Author

TODO: upload the checkpoints with the new param names

@SamitHuang
Copy link
Collaborator Author

TODO: upload the checkpoints with the new param names

done

@SamitHuang
Copy link
Collaborator Author

closed. Progress will be continued in #707

@SamitHuang SamitHuang closed this Sep 25, 2023
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.

1 participant