vadishev commited on
Commit
f693acc
·
verified ·
1 Parent(s): bb68a94

Upload v4/picotrust_v4.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. v4/picotrust_v4.yaml +85 -0
v4/picotrust_v4.yaml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ experiment_name: picotrust_v4
2
+
3
+ model:
4
+ type: picotrust
5
+ encoder_size: 512
6
+ decoder_size: 256
7
+
8
+ data:
9
+ source: folder
10
+ path: ./data/train
11
+ batch_size: 4
12
+
13
+ training:
14
+ num_steps: 200000
15
+ lr: 0.0001
16
+ num_bits: 100
17
+ image_size: 512
18
+ warmup_steps: 500
19
+ no_im_loss_steps: 10000
20
+ generator_grad_clip: 0.25
21
+ stn_lr_scale: 0.01
22
+ borders: black
23
+ rnd_trans: 0.10
24
+ rnd_trans_ramp: 10000
25
+ phase2_step: 60000
26
+ phase2_decoder_lr_scale: 0.1
27
+ residual_strength: 1.0 # Start unbounded — let encoder-decoder bootstrap
28
+ residual_strength_anneal_target: 0.02 # Middle ground: v2=0.03, v3=0.01 → target ~36-37 dB PSNR
29
+ residual_strength_anneal_start: 10000
30
+ residual_strength_anneal_steps: 70000 # Between v2 (60k) and v3 (80k)
31
+
32
+ loss:
33
+ message:
34
+ scale: 5.0
35
+ ramp_steps: 1
36
+ l2:
37
+ scale: 1.5
38
+ ramp_steps: 50000
39
+ lpips:
40
+ scale: 1.0
41
+ ramp_steps: 50000
42
+ ffl:
43
+ scale: 1.0
44
+ ramp_steps: 50000
45
+ delay_steps: 30000
46
+ message_loss_type: mse
47
+ l2_edge_gain: 0.0
48
+ use_border_falloff: true
49
+ gan_config:
50
+ enabled: true
51
+ discriminator_lr: 0.00001
52
+ g_loss_scale: 1.0
53
+ g_loss_ramp_steps: 20000
54
+
55
+ distortion:
56
+ strategy: curriculum
57
+ perspective:
58
+ strength: 0.1
59
+ ramp_steps: 10000
60
+ brightness:
61
+ strength: 0.3
62
+ ramp_steps: 1000
63
+ saturation:
64
+ strength: 1.0
65
+ ramp_steps: 1000
66
+ hue:
67
+ strength: 0.1
68
+ ramp_steps: 1000
69
+ noise:
70
+ strength: 0.02
71
+ ramp_steps: 1000
72
+ jpeg_quality:
73
+ strength: 25
74
+ ramp_steps: 1000
75
+ enable_jpeg: true
76
+ enable_blur: true
77
+
78
+ checkpoint:
79
+ dir: checkpoints
80
+ save_every_steps: 10000
81
+ keep_last: 3
82
+
83
+ logging:
84
+ backends: [console, tensorboard]
85
+ log_every_steps: 100