makeup.yaml 880 字节
Newer Older
1
epochs: 100
L
lijianshe02 已提交
2
output_dir: tmp
L
lijianshe02 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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
19
    norm_type: spectral
L
lijianshe02 已提交
20 21 22 23 24 25
  gan_mode: lsgan

dataset:
  train:
    name: MakeupDataset
    trans_size: 256
L
LielinJiang 已提交
26
    dataroot: data/MT-Dataset
L
lijianshe02 已提交
27 28 29 30 31 32
    cls_list: [non-makeup, makeup]
    phase: train
    pool_size: 16
  test:
    name: MakeupDataset
    trans_size: 256
L
LielinJiang 已提交
33
    dataroot: data/MT-Dataset
L
lijianshe02 已提交
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
    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