-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Feature] Support EVA #1239
[Feature] Support EVA #1239
Conversation
Codecov ReportBase: 0.02% // Head: 88.61% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev-1.x #1239 +/- ##
============================================
+ Coverage 0.02% 88.61% +88.58%
============================================
Files 121 151 +30
Lines 8217 11811 +3594
Branches 1368 1893 +525
============================================
+ Hits 2 10466 +10464
+ Misses 8215 1043 -7172
- Partials 0 302 +302
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
the official repo https://github.com/baaivision/EVA has released MAE style EVA model, Could you convert them all together? |
@Ezra-Yu I thought this convert script was fine for its, any improvements? |
this https://github.com/baaivision/EVA/tree/master/eva#eva-l-learning-better-mim-representations-from-eva-clip; |
I got it. |
@Ezra-Yu Done! |
@okotaku Hello, I have uploaded the checkpoints and added some pre-trained models in the metafile. For those pre-trained models, I named the config files as >>> import mmcls
>>> import torch
>>> extractor = mmcls.get_model('eva-l-p14_3rdparty-mim_in21k', pretrained=True)
>>> inputs = torch.rand(1, 3, 224, 224)
>>> outs = extractor.extract_feat(inputs) # Or `extractor(inputs)`
>>> print(outs[0].shape)
torch.Size([1, 1024]) What do you think about it? |
@mzr1996 It looks good, thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Motivation
paper: https://arxiv.org/abs/2211.07636
code: https://github.com/baaivision/EVA
issue: #1219
Modification
In addition, I fixed a bug in BEiT that caused ffn's add_identity to be True.fixed in #1234And fixed sklearn deprecated error.
Checklist
Before PR:
After PR: