enhancesd-v6-model / training_config.json
matthewcodes's picture
EnhanceSD v6: 23M bodycam-style restyle network
073a7e0 verified
Raw History Blame Contribute Delete
2.12 kB
{
"run_name": "bodycam_v6",
"mode": "distill",
"seed": 0,
"device": "cuda",
"bf16": true,
"sequences_root": "captures",
"holdout_tail_frames": 40,
"holdout_levels": [
"thank_you_come_again"
],
"eval_max_frames": 120,
"min_format_version": 2,
"k": 3,
"batch": 2,
"style_index": 1,
"unroll_gradient": false,
"g_spectral_norm": true,
"koniq_root": "datasets/koniq10k",
"min_mos": 3.0,
"max_photos": 0,
"photo_width": 512,
"crops_per_photo": 3,
"crops_per_frame_for_matching": 24,
"match_k": 8,
"pool_path": "datasets/matched_pool_supervised_v1.npz",
"width": 32,
"depth": 5,
"steps": 6000,
"lr_g": 0.0001,
"lr_d": 5e-05,
"beta1": 0.5,
"beta2": 0.999,
"d_steps_per_g": 1,
"log_every": 250,
"ckpt_every": 1500,
"w_content": 1.0,
"w_temporal": 1.0,
"w_anchor": 0.5,
"w_adv": 0.8,
"w_range": 4.0,
"grad_clip": 1.0,
"ema_decay": 0.999,
"r1_gamma": 0.0,
"r1_every": 16,
"rollback_grad_threshold": 50.0,
"rollback_range_threshold": 0.5,
"lr_backoff": 0.7,
"min_lr_g": 1e-05,
"rollback_snapshot_every": 100,
"max_rollbacks": 6,
"spike_window": 200,
"spike_rate_limit": 0.35,
"max_consecutive_spikes": 8,
"targets_root": "datasets/teacher/bodycam_v6",
"w_l1": 0.0,
"w_fm": 1.0,
"adv_loss": "rpgan",
"d_r_weight": 1.0,
"d_r_sigma": 0.01,
"init_from": "runs/bodycam_cam/BEST_003000.pt",
"d_spectral_norm": true,
"width0": 64,
"arch": "student",
"coord_channels": false,
"attn_levels": [],
"attn_heads": 4,
"w_struct_depth": 0.25,
"w_struct_normal": 0.25,
"w_l1_low": 0.0,
"w_l1_high": 0.25,
"w_flat": 2.5,
"struct_model": "datasets/weights/depth-anything-v2-small",
"d_crops_per_frame": 2,
"content_layers": [
"relu3_3",
"relu4_3"
],
"d_augment": true,
"history": {
"p_replace_with_raw": 0.15,
"p_noise": 0.5,
"noise_std": 0.03,
"p_blur": 0.3,
"p_color_shift": 0.3,
"color_shift_max": 0.05,
"p_warp_jitter": 0.3,
"warp_jitter_px": 2.0
},
"eval_crops_per_frame": 12,
"embed_device": "cpu",
"kid_subset": 100,
"kid_subsets": 50
}