mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
* add hornet * add hornet * add hornet * add hornet * add hornet * add hornet * add hornet * fix test for torch before 1.7.0 * del timm * fix readme * fix readme * Update mmcls/models/backbones/hornet.py Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com> * fix docs * fix docs * s -> scale * fix dims and dpr impl * fix layer scale * refactor gnconv * add dw_cfg * add convert tools * update code * update docs * update readme * update URLs Co-authored-by: Ezra-Yu <18586273+Ezra-Yu@users.noreply.github.com>
14 lines
415 B
Python
14 lines
415 B
Python
_base_ = [
|
|
'../_base_/models/hornet/hornet-tiny.py',
|
|
'../_base_/datasets/imagenet_bs64_swin_224.py',
|
|
'../_base_/schedules/imagenet_bs1024_adamw_swin.py',
|
|
'../_base_/default_runtime.py',
|
|
]
|
|
|
|
data = dict(samples_per_gpu=128)
|
|
|
|
optimizer = dict(lr=4e-3)
|
|
optimizer_config = dict(grad_clip=dict(max_norm=100.0), _delete_=True)
|
|
|
|
custom_hooks = [dict(type='EMAHook', momentum=4e-5, priority='ABOVE_NORMAL')]
|