File size: 985 Bytes
7e2a2a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
common:
  name: "sp2pII-phase1"
  model: "style_based_pix2pixII"
  gpu_ids: [0]
  option_group:
    - gpu_ids: [0]
    - gpu_ids: [1]
    - gpu_ids: [2]

model:
  ngf: 64

dataset:
  unpaired_trainA_folder: # source domain folder path(FFHQ)
  unpaired_trainB_folder: # target domain folder path(AAHQ)
  preprocess: ["resize"]
  batch_size: 8
  crop_size: 512
  drop_last: true
  load_size: 512

training:
  epoch_as_iter: true
  n_epochs: 100000
  n_epochs_decay: 10
  print_freq: 1000
  pretrained_model: "pretrained_models/ffhq_pretrain_res512_200000.pt"
  save_epoch_freq: 5000
  style_mixing_prob: 0.5
  lambda_GAN: 1.0
  lambda_ST: 1.0
  lambda_L1: 1.0
  option_group:
    - lambda_Feat: 4.0
    - lambda_Feat: 2.0
    - lambda_Feat: 1.0
  lr: 0.001
  lr_policy: "linear"
  beta1: 0.1

testing:
  num_test: 100000
  preprocess: ["resize"]
  load_size: 512
  crop_size: 512
  results_dir: "./results/sp2pII"
  visual_names: ["fake_B"]
  image_format: "png"
  which_epoch: "latest"