mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
13 lines
313 B
Python
13 lines
313 B
Python
_base_ = ['./resnet50_32xb64-warmup_in1k.py']
|
|
model = dict(
|
|
head=dict(
|
|
type='LinearClsHead',
|
|
num_classes=1000,
|
|
in_channels=2048,
|
|
loss=dict(
|
|
type='LabelSmoothLoss',
|
|
loss_weight=1.0,
|
|
label_smooth_val=0.1,
|
|
num_classes=1000),
|
|
))
|