forked from mindspore-lab/mindcv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
edgenext_base_ascend.yaml
66 lines (60 loc) · 1.03 KB
/
edgenext_base_ascend.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# system
mode: 0
distribute: True
num_parallel_workers: 8
val_while_train: True
seed: 1
# dataset
dataset: 'imagenet'
data_dir: '/path/to/imagenet'
shuffle: True
dataset_download: False
batch_size: 256
drop_remainder: True
val_split: val
# augmentation
image_resize: 256
scale: [0.08, 1.0]
ratio: [0.75, 1.333]
hflip: 0.5
interpolation: 'bicubic'
crop_pct: 0.875
color_jitter: 0.4
re_prob: 0.0
mixup: 0.2
cutmix: 1.0
cutmix_prob: 1.0
auto_augment: 'randaug-m9-mstd0.5-inc1'
ema: True
ema_decay: 0.9995
# model
model: 'edgenext_base'
num_classes: 1000
pretrained: False
ckpt_path: ''
keep_checkpoint_max: 10
val_interval: 2
ckpt_save_dir: './ckpt'
epoch_size: 350
dataset_sink_mode: True
amp_level: 'O2'
val_amp_level: 'O2'
drop_path_rate: 0.1
# loss
loss: 'CE'
label_smoothing: 0.1
# lr scheduler
scheduler: 'cosine_decay'
min_lr: 1e-6
lr: 4.5e-3
warmup_epochs: 20
decay_rate: 0.1
decay_epochs: 330
# optimizer
opt: 'adamw'
filter_bias_and_bn: True
momentum: 0.9
weight_decay: 0.05
loss_scale: 1024
drop_overflow_update: True
use_nesterov: False