mirror of
https://github.com/open-mmlab/mmclassification.git
synced 2025-06-03 17:54:43 +08:00
* [Refactor] Move transforms in mmselfsup to mmpretrain. * Update transform docs and configs. And register some mmcv transforms in mmpretrain. * Fix missing transform wrapper. * update selfsup transforms * Fix UT * Fix UT * update gaussianblur inconfigs --------- Co-authored-by: fangyixiao18 <fangyx18@hotmail.com>
16 lines
427 B
Python
16 lines
427 B
Python
_base_ = [
|
|
'../../_base_/models/resnet50.py',
|
|
'../../_base_/datasets/imagenet_bs32_pil_resize.py',
|
|
'../../_base_/schedules/imagenet_lars_coslr_90e.py',
|
|
'../../_base_/default_runtime.py',
|
|
]
|
|
|
|
model = dict(backbone=dict(frozen_stages=4))
|
|
|
|
# dataset summary
|
|
train_dataloader = dict(batch_size=512)
|
|
|
|
# runtime settings
|
|
default_hooks = dict(
|
|
checkpoint=dict(type='CheckpointHook', interval=10, max_keep_ckpts=3))
|