1
This commit is contained in:
73
configs/vae/slat_vae_dec_mesh_swin8_B_64l8_fp16.json
Normal file
73
configs/vae/slat_vae_dec_mesh_swin8_B_64l8_fp16.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"models": {
|
||||
"decoder": {
|
||||
"name": "ElasticSLatMeshDecoder",
|
||||
"args": {
|
||||
"resolution": 64,
|
||||
"model_channels": 768,
|
||||
"latent_channels": 8,
|
||||
"num_blocks": 12,
|
||||
"num_heads": 12,
|
||||
"mlp_ratio": 4,
|
||||
"attn_mode": "swin",
|
||||
"window_size": 8,
|
||||
"use_fp16": true,
|
||||
"representation_config": {
|
||||
"use_color": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dataset": {
|
||||
"name": "Slat2RenderGeo",
|
||||
"args": {
|
||||
"image_size": 512,
|
||||
"latent_model": "dinov2_vitl14_reg_slat_enc_swin8_B_64l8_fp16",
|
||||
"min_aesthetic_score": 4.5,
|
||||
"max_num_voxels": 32768
|
||||
}
|
||||
},
|
||||
"trainer": {
|
||||
"name": "SLatVaeMeshDecoderTrainer",
|
||||
"args": {
|
||||
"max_steps": 1000000,
|
||||
"batch_size_per_gpu": 4,
|
||||
"batch_split": 4,
|
||||
"optimizer": {
|
||||
"name": "AdamW",
|
||||
"args": {
|
||||
"lr": 1e-4,
|
||||
"weight_decay": 0.0
|
||||
}
|
||||
},
|
||||
"ema_rate": [
|
||||
0.9999
|
||||
],
|
||||
"fp16_mode": "inflat_all",
|
||||
"fp16_scale_growth": 0.001,
|
||||
"elastic": {
|
||||
"name": "LinearMemoryController",
|
||||
"args": {
|
||||
"target_ratio": 0.75,
|
||||
"max_mem_ratio_start": 0.5
|
||||
}
|
||||
},
|
||||
"grad_clip": {
|
||||
"name": "AdaptiveGradClipper",
|
||||
"args": {
|
||||
"max_norm": 1.0,
|
||||
"clip_percentile": 95
|
||||
}
|
||||
},
|
||||
"i_log": 500,
|
||||
"i_sample": 10000,
|
||||
"i_save": 10000,
|
||||
"lambda_ssim": 0.2,
|
||||
"lambda_lpips": 0.2,
|
||||
"lambda_tsdf": 0.01,
|
||||
"lambda_depth": 10.0,
|
||||
"lambda_color": 0.1,
|
||||
"depth_loss_type": "smooth_l1"
|
||||
}
|
||||
}
|
||||
}
|
||||
65
configs/vae/ss_vae_conv3d_16l8_fp16.json
Normal file
65
configs/vae/ss_vae_conv3d_16l8_fp16.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"models": {
|
||||
"encoder": {
|
||||
"name": "SparseStructureEncoder",
|
||||
"args": {
|
||||
"in_channels": 1,
|
||||
"latent_channels": 8,
|
||||
"num_res_blocks": 2,
|
||||
"num_res_blocks_middle": 2,
|
||||
"channels": [32, 128, 512],
|
||||
"use_fp16": true
|
||||
}
|
||||
},
|
||||
"decoder": {
|
||||
"name": "SparseStructureDecoder",
|
||||
"args": {
|
||||
"out_channels": 1,
|
||||
"latent_channels": 8,
|
||||
"num_res_blocks": 2,
|
||||
"num_res_blocks_middle": 2,
|
||||
"channels": [512, 128, 32],
|
||||
"use_fp16": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"dataset": {
|
||||
"name": "SparseStructure",
|
||||
"args": {
|
||||
"resolution": 64,
|
||||
"min_aesthetic_score": 4.5
|
||||
}
|
||||
},
|
||||
"trainer": {
|
||||
"name": "SparseStructureVaeTrainer",
|
||||
"args": {
|
||||
"max_steps": 1000000,
|
||||
"batch_size_per_gpu": 4,
|
||||
"batch_split": 1,
|
||||
"optimizer": {
|
||||
"name": "AdamW",
|
||||
"args": {
|
||||
"lr": 1e-4,
|
||||
"weight_decay": 0.0
|
||||
}
|
||||
},
|
||||
"ema_rate": [
|
||||
0.9999
|
||||
],
|
||||
"fp16_mode": "inflat_all",
|
||||
"fp16_scale_growth": 0.001,
|
||||
"grad_clip": {
|
||||
"name": "AdaptiveGradClipper",
|
||||
"args": {
|
||||
"max_norm": 1.0,
|
||||
"clip_percentile": 95
|
||||
}
|
||||
},
|
||||
"i_log": 500,
|
||||
"i_sample": 10000,
|
||||
"i_save": 10000,
|
||||
"loss_type": "dice",
|
||||
"lambda_kl": 0.001
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user