forked from VDIGPKU/CMUA-Watermark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setting.json
124 lines (115 loc) · 3.37 KB
/
setting.json
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"global_settings":{
"data_path":"./data/img_align_celeba",
"attr_path":"./data/list_attr_celeba.txt",
"results_path":"/data/huanghao/disrupting-deepfakes-results/",
"img_size":256,
"num_test":128,
"gpu":1,
"universal_perturbation_path":"./perturbation.pt",
"batch_size":64
},
"attacks":{
"momentum":0.5,
"epsilon":0.05,
"k":10,
"universal":1,
"a":0.01,
"star_factor": 1,
"attention_factor": 1,
"att_factor": 1,
"HiSD_factor": 1
},
"AttGAN":{
"attgan_experiment_name":"256_shortcut1_inject0_none",
"attgan_test_int":1.0,
"attgan_load_epoch":"latest",
"attgan_multi_gpu":0
},
"stargan":{
"c_dim":5,
"c2_dim":8,
"celeba_crop_size":178,
"rafd_crop_size":256,
"image_size":256,
"g_conv_dim":64,
"d_conv_dim":64,
"g_repeat_num":6,
"d_repeat_num":6,
"lambda_cls":1,
"lambda_rec":10,
"lambda_gp":10,
"resume_iters":"",
"dataset":"CelebA",
"batch_size":1,
"num_iters":200000,
"num_iters_decay":100000,
"g_lr":0.0001,
"d_lr":0.0001,
"n_critic":5,
"beta1":0.5,
"beta2":0.999,
"selected_attrs":["Black_Hair", "Blond_Hair", "Brown_Hair", "Male", "Young"],
"test_iters":200000,
"num_workers":1,
"mode":"test",
"use_tensorboard":0,
"model_save_dir":"./stargan/stargan_celeba_256/models",
"result_dir":"./stargan/stargan_celeba_256/results_test",
"log_step":10,
"sample_step":1000,
"model_save_step":5000,
"lr_update_step":1000,
"data_path":"./data/img_align_celeba",
"attr_path":"./data/list_attr_celeba.txt",
"img_size":256,
"num_test":10,
"gpu":1,
"universal":1,
"log_dir":"./stargan/stargan/logs",
"sample_dir":"./stargan/stargan/samples"
},
"AttentionGAN":{
"c_dim":5,
"c2_dim":8,
"celeba_crop_size":178,
"rafd_crop_size":256,
"image_size":256,
"g_conv_dim":64,
"d_conv_dim":64,
"g_repeat_num":6,
"d_repeat_num":6,
"lambda_cls":1,
"lambda_rec":10,
"lambda_gp":10,
"resume_iters":"",
"dataset":"CelebA",
"batch_size":1,
"num_iters":200000,
"num_iters_decay":100000,
"g_lr":0.0001,
"d_lr":0.0001,
"n_critic":5,
"beta1":0.5,
"beta2":0.999,
"selected_attrs":["Black_Hair", "Blond_Hair", "Brown_Hair", "Male", "Young"],
"test_iters":200000,
"num_workers":1,
"mode":"test",
"use_tensorboard":0,
"model_save_dir":"./AttentionGAN/AttentionGAN_v1_multi/checkpoints/celeba_256_pretrained",
"result_dir":"./AttentionGAN/AttentionGAN_v1_multi//stargan_celeba_256/results_test",
"log_step":10,
"sample_step":1000,
"model_save_step":5000,
"lr_update_step":1000,
"data_path":"./data/img_align_celeba",
"attr_path":"./data/list_attr_celeba.txt",
"img_size":256,
"num_test":10,
"gpu":1,
"universal":1,
"log_dir":"./attentiongan/attentiongan/logs",
"sample_dir":"./attentiongan/attentiongan/samples"
}
}