All_config.yml
742 Bytes
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
task: All
modelname: MobilenetV3
output: output
checkpoint: "output/All/14835_model=MobilenetV3-ep=3000-block=6/model_best.pth.tar"
gpu: [2]
data:
train: ../data/Fifth_data/All
val: ../data/Fifth_data/All
test: ../data/Fifth_data/All
train:
epochs: 3000
start-epoch: 0
batch-size: 256
worker: 16
resume: ''
augment: True
size: 224
confidence: False
weight: [1., 1., 1., 1., 1., 1., 1., 1.] #Crack, Double, Empty, Flip, Leave, Normal, Pollute, Scratch
predict:
batch-size: 256
worker: 16
cam: False
normalize: True
save: False
optimizer:
type: 'Adam'
lr: 0.001
momentum: 0.9
weight_decay: 0.0001
loss:
gamma: 2.
alpha: 0.8
model:
blocks: 6
class: 8
etc:
tensorboard: False
print_freq: 10