jwheo commited on
Commit
656955c
·
verified ·
1 Parent(s): c37fef2

Upload photo100k Stage 2 v2 condition encoder

Browse files
configs/diffusion_photo100k_b32_v2.yaml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ project:
2
+ name: diffusion_photo100k_b32_v2
3
+ output_dir: /home/jwheojjang/scratch/sr-diffusion/runs/diffusion_photo100k_b32_v2
4
+
5
+ logging:
6
+ wandb:
7
+ enabled: true
8
+ project: sr-diffusion
9
+ name: diffusion_photo100k_b32_v2
10
+ mode: online
11
+ dir: /home/jwheojjang/scratch/sr-diffusion/wandb
12
+ tags: [stage3, diffusion, photo100k, degradation-v2, b32, init-stage3-photo100k]
13
+ watch: false
14
+ samples:
15
+ enabled: true
16
+ split: val
17
+ fallback_split: train
18
+ count: 4
19
+ indices: [0, 1, 2, 3]
20
+
21
+ seed: 1337
22
+
23
+ autoencoder:
24
+ config: configs/autoencoder_photo10k.yaml
25
+ checkpoint: /home/jwheojjang/scratch/sr-diffusion/runs/autoencoder_photo10k_b16_eval_online/checkpoints/best_eval_recon.pt
26
+
27
+ condition_encoder:
28
+ config: configs/latent_pretrain_photo100k_v2.yaml
29
+ checkpoint: /home/jwheojjang/scratch/sr-diffusion/runs/latent_pretrain_photo100k_v2_b64/checkpoints/best_eval_latent.pt
30
+ trainable: false
31
+
32
+ data:
33
+ manifest: /home/jwheojjang/scratch/sr-diffusion/data/manifest_photo100k.csv
34
+ split: train
35
+ hr_size: 512
36
+ scale: 4
37
+ degradation_preset: photo_v2
38
+ domains:
39
+ photo: 0
40
+ anime: 1
41
+ num_workers: 8
42
+
43
+ model:
44
+ type: conditional_unet
45
+ latent_channels: 16
46
+ condition_channels: 16
47
+ out_channels: 16
48
+ base_channels: 128
49
+ channel_multipliers: [1, 2, 3, 4]
50
+ num_res_blocks: 2
51
+ norm_groups: 32
52
+ num_heads: 4
53
+ attention_resolutions: [32, 16]
54
+ base_resolution: 128
55
+ num_domains: 2
56
+
57
+ diffusion:
58
+ num_train_timesteps: 1000
59
+ beta_schedule: linear
60
+ beta_start: 0.0001
61
+ beta_end: 0.02
62
+ sample_timestep: 500
63
+
64
+ train:
65
+ device: auto
66
+ dtype: bf16
67
+ batch_size: 32
68
+ max_steps: 20000
69
+ lr: 0.00003
70
+ weight_decay: 0.0
71
+ grad_accum_steps: 1
72
+ log_every: 25
73
+ save_every: 1000
74
+ sample_every: 1000
75
+
76
+ eval:
77
+ enabled: true
78
+ split: val
79
+ limit: 100
80
+ batch_size: 32
81
+ num_workers: 8
82
+ every: 1000
83
+ run_at_start: true
84
+ timestep: 500