ishandutta commited on
Commit
ed6caf6
·
verified ·
1 Parent(s): 152e2c4

Upload face_reenactment/thin_plate_spline/config/ted-384.yaml with huggingface_hub

Browse files
face_reenactment/thin_plate_spline/config/ted-384.yaml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_params:
2
+ root_dir: ../TED384-v2
3
+ frame_shape: null
4
+ id_sampling: True
5
+ augmentation_params:
6
+ flip_param:
7
+ horizontal_flip: True
8
+ time_flip: True
9
+ jitter_param:
10
+ brightness: 0.1
11
+ contrast: 0.1
12
+ saturation: 0.1
13
+ hue: 0.1
14
+
15
+ model_params:
16
+ common_params:
17
+ num_tps: 10
18
+ num_channels: 3
19
+ bg: True
20
+ multi_mask: True
21
+ generator_params:
22
+ block_expansion: 64
23
+ max_features: 512
24
+ num_down_blocks: 3
25
+ dense_motion_params:
26
+ block_expansion: 64
27
+ max_features: 1024
28
+ num_blocks: 5
29
+ scale_factor: 0.25
30
+ avd_network_params:
31
+ id_bottle_size: 128
32
+ pose_bottle_size: 128
33
+
34
+
35
+ train_params:
36
+ num_epochs: 100
37
+ num_repeats: 150
38
+ epoch_milestones: [70, 90]
39
+ lr_generator: 2.0e-4
40
+ batch_size: 12
41
+ scales: [1, 0.5, 0.25, 0.125]
42
+ dataloader_workers: 6
43
+ checkpoint_freq: 50
44
+ dropout_epoch: 35
45
+ dropout_maxp: 0.5
46
+ dropout_startp: 0.0
47
+ dropout_inc_epoch: 10
48
+ bg_start: 0
49
+ transform_params:
50
+ sigma_affine: 0.05
51
+ sigma_tps: 0.005
52
+ points_tps: 5
53
+ loss_weights:
54
+ perceptual: [10, 10, 10, 10, 10]
55
+ equivariance_value: 10
56
+ warp_loss: 10
57
+ bg: 10
58
+
59
+ train_avd_params:
60
+ num_epochs: 30
61
+ num_repeats: 500
62
+ batch_size: 256
63
+ dataloader_workers: 24
64
+ checkpoint_freq: 10
65
+ epoch_milestones: [20, 25]
66
+ lr: 1.0e-3
67
+ lambda_shift: 1
68
+ random_scale: 0.25
69
+
70
+ visualizer_params:
71
+ kp_size: 5
72
+ draw_border: True
73
+ colormap: 'gist_rainbow'