jwheo commited on
Commit
409362f
·
verified ·
1 Parent(s): be0bf0d

Upload photo100k Stage 3 v2 diffusion checkpoint

Browse files
configs/hf/diffusion_photo100k_v2.yaml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ project:
2
+ name: diffusion_photo100k_v2_hf
3
+
4
+ autoencoder:
5
+ config: autoencoder_stage1.yaml
6
+ checkpoint: ../../checkpoints/stage1_autoencoder_best_eval_recon.pt
7
+
8
+ condition_encoder:
9
+ config: latent_pretrain_stage2.yaml
10
+ checkpoint: ../../checkpoints/stage2_photo100k_v2_b64_best_eval_latent.pt
11
+ trainable: false
12
+
13
+ data:
14
+ hr_size: 512
15
+ scale: 4
16
+ degradation_preset: photo_v2
17
+ domains:
18
+ photo: 0
19
+ anime: 1
20
+
21
+ model:
22
+ type: conditional_unet
23
+ latent_channels: 16
24
+ condition_channels: 16
25
+ out_channels: 16
26
+ base_channels: 128
27
+ channel_multipliers: [1, 2, 3, 4]
28
+ num_res_blocks: 2
29
+ norm_groups: 32
30
+ num_heads: 4
31
+ attention_resolutions: [32, 16]
32
+ base_resolution: 128
33
+ num_domains: 2
34
+
35
+ diffusion:
36
+ num_train_timesteps: 1000
37
+ beta_schedule: linear
38
+ beta_start: 0.0001
39
+ beta_end: 0.02
40
+ sample_timestep: 500
41
+
42
+ train:
43
+ dtype: bf16
44
+
45
+ inference:
46
+ checkpoint: ../../checkpoints/stage3_photo100k_v2_b32_best_eval_noise.pt
47
+ init: condition
48
+ steps: 32