All_config.yml 742 Bytes
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