Upload photo100k Stage 3 v2 diffusion checkpoint
Browse files
configs/hf/diffusion_photo100k_stage4_condition.yaml
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
project:
|
| 2 |
+
name: diffusion_photo100k_stage4_condition_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_b64_best_eval_latent.pt
|
| 11 |
+
trainable: false
|
| 12 |
+
|
| 13 |
+
data:
|
| 14 |
+
hr_size: 512
|
| 15 |
+
scale: 4
|
| 16 |
+
degradation_preset: mild
|
| 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: 50
|
| 41 |
+
train_min_timestep: 25
|
| 42 |
+
train_max_timestep: 100
|
| 43 |
+
train_init: condition
|
| 44 |
+
|
| 45 |
+
sampling:
|
| 46 |
+
init: condition
|
| 47 |
+
start_timestep: 25
|
| 48 |
+
steps: 32
|
| 49 |
+
|
| 50 |
+
train:
|
| 51 |
+
dtype: bf16
|
| 52 |
+
|
| 53 |
+
inference:
|
| 54 |
+
checkpoint: ../../checkpoints/stage4_photo100k_condition_b32_best_eval_condition_decoded.pt
|
| 55 |
+
init: condition
|
| 56 |
+
steps: 32
|
| 57 |
+
start_timestep: 25
|