-
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
[CodeCamp2023-584]Support DINO self-supervised learning in project #1756
Conversation
mean=[123.675, 116.28, 103.53], | ||
std=[58.395, 57.12, 57.375], | ||
bgr_to_rgb=True), | ||
backbone=dict(type='mmcls.VisionTransformer', arch='b', patch_size=16), |
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.
backbone=dict(type='mmcls.VisionTransformer', arch='b', patch_size=16), | |
backbone=dict(type='mmpretrain.VisionTransformer', arch='b', patch_size=16), |
please use model in mmpretrain
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.
done
sampler=dict(type='DefaultSampler', shuffle=True), | ||
collate_fn=dict(type='default_collate'), | ||
dataset=dict( | ||
type='mmcls.ImageNet', |
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.
type='mmcls.ImageNet', | |
type='mmpretrain.ImageNet', |
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.
done
collate_fn=dict(type='default_collate'), | ||
dataset=dict( | ||
type='mmcls.ImageNet', | ||
data_root='/home/liushi_22151211/imagenet/classification', |
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.
data_root='/home/liushi_22151211/imagenet/classification', | |
data_root='data/imagenet/', |
after your experiment. please change back to original path
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.
done
global_crops_scale=(0.4, 1.0), | ||
local_crops_scale=(0.05, 0.4), | ||
local_crops_number=8), | ||
dict(type='PackInputs', meta_keys=['img_path']) |
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.
dict(type='PackInputs', meta_keys=['img_path']) | |
dict(type='PackInputs') |
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.
done
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1756 +/- ##
===========================================
- Coverage 85.22% 65.16% -20.07%
===========================================
Files 229 362 +133
Lines 17243 26181 +8938
Branches 2707 4165 +1458
===========================================
+ Hits 14696 17060 +2364
- Misses 2046 8501 +6455
- Partials 501 620 +119
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Hi @LALBJ, We'd like to express our appreciation for your valuable contributions to the mmpretrain. Your efforts have significantly aided in enhancing the project's quality. If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID". Thanks again for your awesome contribution, and we're excited to have you as part of our community! |
* [CodeCamp2023-584]Support DINO self-supervised learning in project (#1756) * feat: impelemt DINO * chore: delete debug code * chore: impplement pre-commit * fix: fix imported package * chore: pre-commit check * [CodeCamp2023-340] New Version of config Adapting MobileNet Algorithm (#1774) * add new config adapting MobileNetV2,V3 * add base model config for mobile net v3, modified all training configs of mobile net v3 inherit from the base model config * removed directory _base_/models/mobilenet_v3 * [Feature] Implement of Zero-Shot CLIP Classifier (#1737) * zero-shot CLIP * modify zero-shot clip config * add in1k_sub_prompt(8 prompts) for improvement * add some annotations doc * clip base class & clip_zs sub-class * some modifications of details after review * convert into and use mmpretrain-vit * modify names of some files and directories * ram init commit * [Fix] Fix pipeline bug in image retrieval inferencer * [CodeCamp2023-341] 多模态数据集文档补充-COCO Retrieval * Update OFA to compat with latest huggingface. * Update train.py to compat with new config * Bump version to v1.1.0 * Update __init__.py --------- Co-authored-by: LALBJ <40877073+LALBJ@users.noreply.github.com> Co-authored-by: DE009 <57087096+DE009@users.noreply.github.com> Co-authored-by: mzr1996 <mzr1996@163.com> Co-authored-by: 飞飞 <102729089+ASHORE1225@users.noreply.github.com>
Support DINO self-supervised learning in project, based on open-mmlab/OpenMMLabCamp#584
Motivation
To support DINO in MMpretrain, migrate DINO from MMSelSup.
Modification
Add DINO python files in mmpretrain/project
Checklist
Before PR:
After PR: