wav2lip.yaml 1.0 KB
Newer Older
L
lijianshe02 已提交
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
total_iters: 200000000
output_dir: output
checkpoints_dir: checkpoints

model:
  name: Wav2LipModel
  syncnet_wt: 0.0
  max_eval_steps: 700
  generator:
    name: Wav2Lip
  discriminator:
    name: SyncNetColor

dataset:
  train:
    name: Wav2LipDataset
    dataroot: data/lrs2_preprocessed
    filelists_path: ./
    img_size: 96
    split: train
    batch_size: 8
    num_workers: 4
    use_shared_memory: False
  test:
    name: Wav2LipDataset
    dataroot: data/lrs2_preprocessed
    filelists_path: ./
    img_size: 96
    split: val
    batch_size: 16
    num_workers: 4
    use_shared_memory: False

optimizer:
  optimizer_G:
    name: Adam
    net_names:
      - netG
    beta1: 0.5
  optimizer_D:
    name: Adam
    net_names:
      - netD
    beta1: 0.5

validate:
  interval: 3000
  save_img: false

lr_scheduler:
  name: LinearDecay
  learning_rate: 0.0001
  start_epoch: 2000000
  decay_epochs: 2000000
  # will get from real dataset
  iters_per_epoch: 1

log_config:
  interval: 10
  visiual_interval: 500

snapshot_config:
  interval: 3000