makeup.yaml 884 字节
Newer Older
1 2
epochs: 100
isTrain: True
L
lijianshe02 已提交
3
output_dir: tmp
L
lijianshe02 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
checkpoints_dir: checkpoints
lambda_A: 10.0
lambda_B: 10.0
lambda_identity: 0.5

model:
  name: MakeupModel
  generator:
    name: GeneratorPSGANAttention
    conv_dim: 64
    repeat_num: 6
  discriminator:
    name: NLayerDiscriminator
    ndf: 64
    n_layers: 3
    input_nc: 3
20
    norm_type: spectral
L
lijianshe02 已提交
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
  gan_mode: lsgan

dataset:
  train:
    name: MakeupDataset
    trans_size: 256
    dataroot: MT-Dataset
    cls_list: [non-makeup, makeup]
    phase: train
    pool_size: 16
  test:
    name: MakeupDataset
    trans_size: 256
    dataroot: MT-Dataset
    cls_list: [non-makeup, makeup]
    phase: test
    pool_size: 16

optimizer:
  name: Adam
  beta1: 0.5

lr_scheduler:
  name: linear
  learning_rate: 0.0002
  start_epoch: 100
  decay_epochs: 100

log_config:
  interval: 10
  visiual_interval: 500

snapshot_config:
  interval: 1