Upload folder using huggingface_hub
Browse files- README.md +54 -0
- config.json +43 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- model_hub_mixin
|
| 4 |
+
- pytorch_model_hub_mixin
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
| 8 |
+
- Library: [More Information Needed]
|
| 9 |
+
- Docs: [More Information Needed]
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
license: apache-2.0
|
| 13 |
+
- en
|
| 14 |
+
---
|
| 15 |
+
<div align="center">
|
| 16 |
+
<h1>LAM: Large Avatar Model for One-shot Animatable Gaussian Head</h1>
|
| 17 |
+
|
| 18 |
+
<div align="center" style="display: flex; justify-content: center; flex-wrap: wrap;">
|
| 19 |
+
<!-- <a href='LICENSE'><img src='https://img.shields.io/badge/license-MIT-yellow'></a> -->
|
| 20 |
+
<a href='https://arxiv.org/pdf/2502.17796'><img src='https://img.shields.io/badge/📜-arXiv:2503-10625'></a>
|
| 21 |
+
<a href='https://aigc3d.github.io/projects/LAM/'><img src='https://img.shields.io/badge/🌐-Project_Website-blueviolet'></a>
|
| 22 |
+
<a href='https://huggingface.co/spaces/3DAIGC/LAM'><img src='https://img.shields.io/badge/🤗-HuggingFace_Space-blue'></a>
|
| 23 |
+
<a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/📃-Apache--2.0-929292"></a>
|
| 24 |
+
</div>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
## Overview
|
| 29 |
+
|
| 30 |
+
This repository contains the models of the paper [LAM](https://arxiv.org/pdf/2502.17796).
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
## Quick Start
|
| 35 |
+
|
| 36 |
+
Please refer to our [Github Repo](https://github.com/aigc3d/LAM)
|
| 37 |
+
|
| 38 |
+
### Download Model
|
| 39 |
+
```python
|
| 40 |
+
from huggingface_hub import snapshot_download
|
| 41 |
+
# LAM-20K Model
|
| 42 |
+
model_dir = snapshot_download(repo_id='3DAIGC/LAM-20K', cache_dir='./exps/releases/lam/lam-20k/step_045500/')
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
## Citation
|
| 47 |
+
```
|
| 48 |
+
@article{he2025lam,
|
| 49 |
+
title={LAM: Large Avatar Model for One-shot Animatable Gaussian Head},
|
| 50 |
+
author={He, Yisheng and Gu, Xiaodong and Ye, Xiaodan and Xu, Chao and Zhao, Zhengyi and Dong, Yuan and Yuan, Weihao and Dong, Zilong and Bo, Liefeng},
|
| 51 |
+
journal={arXiv preprint arXiv:2502.17796},
|
| 52 |
+
year={2025}
|
| 53 |
+
}
|
| 54 |
+
```
|
config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_teeth": false,
|
| 3 |
+
"encoder_feat_dim": 1024,
|
| 4 |
+
"encoder_freeze": false,
|
| 5 |
+
"encoder_grad_ckpt": true,
|
| 6 |
+
"encoder_model_name": "dinov2_vitl14_reg",
|
| 7 |
+
"encoder_type": "dinov2_fusion",
|
| 8 |
+
"expr_param_dim": 10,
|
| 9 |
+
"fix_opacity": false,
|
| 10 |
+
"fix_rotation": false,
|
| 11 |
+
"flame_subdivide_num": 1,
|
| 12 |
+
"flame_type": "flame",
|
| 13 |
+
"gs_clip_scaling": 0.01,
|
| 14 |
+
"gs_mlp_network_config": {
|
| 15 |
+
"activation": "silu",
|
| 16 |
+
"n_hidden_layers": 2,
|
| 17 |
+
"n_neurons": 512
|
| 18 |
+
},
|
| 19 |
+
"gs_query_dim": 1024,
|
| 20 |
+
"gs_sh": 3,
|
| 21 |
+
"gs_use_rgb": true,
|
| 22 |
+
"gs_xyz_offset_max_step": 0.2,
|
| 23 |
+
"has_disc": false,
|
| 24 |
+
"human_model_path": "./pretrained_models/human_model_files",
|
| 25 |
+
"latent_query_points_type": "e2e_flame",
|
| 26 |
+
"oral_mesh_flag": false,
|
| 27 |
+
"pcl_dim": 1024,
|
| 28 |
+
"scale_sphere": false,
|
| 29 |
+
"shape_param_dim": 10,
|
| 30 |
+
"teeth_bs_flag": false,
|
| 31 |
+
"tf_grad_ckpt": true,
|
| 32 |
+
"transformer_dim": 1024,
|
| 33 |
+
"transformer_heads": 16,
|
| 34 |
+
"transformer_layers": 10,
|
| 35 |
+
"transformer_type": "sd3_cond",
|
| 36 |
+
"use_32d": false,
|
| 37 |
+
"use_conf_map": false,
|
| 38 |
+
"use_dual_attention": false,
|
| 39 |
+
"use_gag": false,
|
| 40 |
+
"use_projection_enhancement": false,
|
| 41 |
+
"use_sr": false,
|
| 42 |
+
"use_sym_proj": false
|
| 43 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f527e6e78fd9743aad95cb15b221b864d8b6d356c1d174c0ffad5d74b9a95925
|
| 3 |
+
size 2356556212
|