vadishev commited on
Commit
2f146e9
·
verified ·
1 Parent(s): 40ca4b6

Upload b72s20m85_mirflickr/picotrust_b72s20m85.yaml with huggingface_hub

Browse files
b72s20m85_mirflickr/picotrust_b72s20m85.yaml ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PicoTrust b72s20m85 — 72 bits, strength 0.020, Sobel mask floor 0.85
2
+ #
3
+ # No blur at all. Sobel texture mask applied to
4
+ # the residual during training. The mask directly enforces content-
5
+ # adaptivity — encoder learns to concentrate in textured regions.
6
+ #
7
+ # Hypothesis: Sobel mask replaces blur for content-adaptivity.
8
+ # The encoder gets direct spatial feedback instead of indirect
9
+ # perceptual pressure from blurred LPIPS.
10
+
11
+ experiment_name: picotrust_b72s20m85
12
+
13
+ model:
14
+ type: picotrust
15
+ encoder_size: 512
16
+ decoder_size: 512
17
+
18
+ data:
19
+ source: folder
20
+ path: ./data/mirflickr_train
21
+ batch_size: 4
22
+
23
+ training:
24
+ num_steps: 140000
25
+ lr: 0.0001
26
+ num_bits: 72
27
+ image_size: 512
28
+ warmup_steps: 500
29
+ no_im_loss_steps: 10000
30
+ generator_grad_clip: 0.25
31
+ stn_lr_scale: 0.01
32
+ borders: black
33
+ rnd_trans: 0.10
34
+ rnd_trans_ramp: 10000
35
+ phase2_step: 60000
36
+ phase2_decoder_lr_scale: 0.1
37
+ residual_strength: 1.0
38
+ residual_strength_anneal_target: 0.020
39
+ residual_strength_anneal_start: 10000
40
+ residual_strength_anneal_steps: 90000
41
+ anneal_schedule: exponential
42
+ decoder_blur_sigma: 0.0
43
+ perceptual_blur_sigma: 0.0
44
+ use_sobel_mask: true
45
+ sobel_blur_sigma: 5.0
46
+ sobel_mask_floor: 0.85
47
+
48
+ loss:
49
+ message:
50
+ scale: 5.0
51
+ ramp_steps: 1
52
+ l2:
53
+ scale: 1.5
54
+ ramp_steps: 50000
55
+ lpips:
56
+ scale: 1.5
57
+ ramp_steps: 50000
58
+ ffl:
59
+ scale: 1.0
60
+ ramp_steps: 50000
61
+ delay_steps: 0
62
+ message_loss_type: mse
63
+ l2_edge_gain: 0.0
64
+ use_border_falloff: true
65
+ gan_config:
66
+ enabled: true
67
+ discriminator_lr: 0.000015
68
+ g_loss_scale: 1.5
69
+ g_loss_ramp_steps: 20000
70
+
71
+ distortion:
72
+ strategy: curriculum
73
+ perspective:
74
+ strength: 0.1
75
+ ramp_steps: 10000
76
+ brightness:
77
+ strength: 0.3
78
+ ramp_steps: 1000
79
+ saturation:
80
+ strength: 1.0
81
+ ramp_steps: 1000
82
+ hue:
83
+ strength: 0.1
84
+ ramp_steps: 1000
85
+ noise:
86
+ strength: 0.02
87
+ ramp_steps: 1000
88
+ jpeg_quality:
89
+ strength: 25
90
+ ramp_steps: 1000
91
+ enable_jpeg: true
92
+ enable_blur: true
93
+
94
+ checkpoint:
95
+ dir: checkpoints
96
+ save_every_steps: 10000
97
+ keep_last: 3
98
+
99
+ logging:
100
+ backends: [console, tensorboard]
101
+ log_every_steps: 100