mirror of
https://github.com/open-mmlab/mmpretrain.git
synced 2025-06-03 14:59:18 +08:00
* rearrange config files * rearrange config files * add README.md in configs * Revert "add README.md in configs" This reverts commit 68ff996f9157843ae9d188c067db8ee86c4b387d. * rename
13 lines
306 B
Python
13 lines
306 B
Python
_base_ = ['./resnet50_imagenet_bs256.py']
|
|
model = dict(
|
|
head=dict(
|
|
type='LinearHead',
|
|
num_classes=1000,
|
|
in_channels=2048,
|
|
loss=dict(
|
|
type='LabelSmoothLoss',
|
|
loss_weight=1.0,
|
|
label_smooth_val=0.1,
|
|
num_classes=1000),
|
|
))
|