NeAR-Face / e /config.json
luh0502's picture
Release 8-channel and 24-channel face inference checkpoints
2b2f33a verified
Raw History Blame Contribute Delete
2.83 kB
{
"variant": "e",
"models": {
"decoder": {
"name": "ElasticSLatGaussianDecoder",
"args": {
"resolution": 64,
"model_channels": 768,
"latent_channels": 8,
"cond_channels": 768,
"num_blocks": 12,
"num_register_tokens": 16,
"num_heads": 12,
"mlp_ratio": 4,
"attn_mode": "swin",
"window_size": 8,
"use_fp16": true,
"pretrained_decoder_path": null
}
},
"renderer": {
"name": "ElasticSLatGaussianRenderer",
"args": {
"resolution": 64,
"model_channels": 768,
"latent_channels": 768,
"cond_channels": 768,
"num_blocks": 6,
"num_register_tokens": 16,
"pretrained_decoder_path": null,
"num_heads": 12,
"mlp_ratio": 4,
"attn_mode": "swin",
"window_size": 8,
"use_fp16": true,
"representation_config": {
"lr": {
"_xyz": 1.0,
"_base_color": 1.0,
"_roughness": 1.0,
"_metallic": 1.0,
"_scaling": 1.0,
"_scaling_view": 1.0,
"_rotation": 0.2,
"_opacity": 1.0,
"_shadow": 0.5,
"_brightness": 0.5,
"_pbr1": 0.5,
"_hdri1": 0.5,
"_hdri2": 0.5,
"_rgb": 1.0
},
"perturb_offset": true,
"voxel_size": 1.5,
"num_gaussians": 32,
"2d_filter_kernel_size": 0.1,
"3d_filter_kernel_size": 0.0009,
"scaling_bias": 0.004,
"opacity_bias": 0.1,
"scaling_activation": "softplus"
}
}
},
"hdri_encoder": {
"name": "Hdri_Encoder",
"args": {
"output_dim": 768,
"num_tokens": 4096,
"cnn_out_channels": 256,
"n_heads": 12,
"num_transformer_layers": 3,
"rope_base": 10000.0,
"pretrained_path": null
}
},
"neural_basis": {
"name": "NeuralBasis",
"args": {
"input_dim": 32,
"output_dim": 13,
"hidden_dim": 64,
"num_layers": 3,
"use_normal": true,
"activation": "relu",
"normal_dim": 3,
"num_frequencies": 4,
"use_residual": false,
"pretrained_path": null
}
},
"refiner": {
"name": "RenderRefiner",
"args": {
"in_channels": 12,
"out_channels": 3,
"base_channels": 32,
"num_scales": 2,
"cond_dim": 0,
"max_gain": 2.0,
"use_fp16": false
}
}
},
"step": 20000,
"refiner_buffers": [
[
"color",
3
],
[
"feature",
-1
],
[
"alpha",
1
]
],
"image_size": 512,
"radius": 2.0,
"fov": 40.0,
"max_voxels": 32768
}