mmpretrain/configs/hrnet/hrnet-w48_4xb32_in1k.py

12 lines
390 B
Python
Raw Normal View History

_base_ = [
'../_base_/models/hrnet/hrnet-w48.py',
'../_base_/datasets/imagenet_bs32_pil_resize.py',
'../_base_/schedules/imagenet_bs256_coslr.py',
'../_base_/default_runtime.py'
]
2022-07-14 19:15:49 +08:00
2022-07-15 15:20:17 +08:00
# NOTE: `auto_scale_lr` is for automatically scaling LR
# based on the actual training batch size.
2022-07-14 19:15:49 +08:00
# base_batch_size = (4 GPUs) x (32 samples per GPU)
auto_scale_lr = dict(base_batch_size=128)