Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/chiehwangs/gaussian-head
19 May 2025, 14:27:30 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    No releases to show
  • e1067bc
  • /
  • README.md
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:2fc520825470e28936828a36af71928101471e73
origin badgedirectory badge
swh:1:dir:e1067bca5561b5e3b419f3abfab1ee4ea1b4c254
origin badgerevision badge
swh:1:rev:b6b130c6413777cb75150498c9de95d424057086
origin badgesnapshot badge
swh:1:snp:357e4040d5ee98f26ed85da2c50cecc512901df4

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: b6b130c6413777cb75150498c9de95d424057086 authored by chiehwangs on 16 April 2025, 02:26:24 UTC
Rename teaser_v2.png to teaser-v2.png
Tip revision: b6b130c
README.md
# GaussianHead: High-fidelity Head Avatars with Learnable Gaussian Derivation [TVCG 2025]
### | [Paper](http://arxiv.org/abs/2312.01632) | [Project Page](https://chiehwangs.github.io/gaussian-head-page/) |
![](assets/teaser-v2.png)


## Getting Started
* Git clone this repo, note using `--recursive` to get submodules;
* Create a conda or python environment and activate. For e.g.,`conda create -n gaussian-head python=3.8`, `source(or conda) activate gaussian-head`;
* [PyTorch](https://pytorch.org/get-started/previous-versions/) >= 2.0.0 is necessary as geoopt requires, for e.g., `pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118`;
* install all requirements in `requirements.txt`;
* [geoopt](https://github.com/geoopt/geoopt) is necessary for Riemannian ADAM, refer to it and install in pypi by `pip install geoopt`.

## Riemannian ADAM
Please refer to [here](https://github.com/geoopt/geoopt) to download it, and please consider citing '*Riemannian Adaptive Optimization Methods*' in ICLR2019 if used.

## Preparing Dataset
All our data is sourced from publicly available datasets. To create your custom datasets, try using [AD-NeRF](https://github.com/YudongGuo/AD-NeRF#train-ad-nerf); it works well.

Download [our datasets](https://drive.google.com/file/d/1vriFnMGsXPVTWRsHQ37SmMNZxU17nICT/view?usp=sharing) for train and render, store it in the following directory.

```
gaussian-head
    ├── data
       ├── id1
           ├── ori_imgs    # rgb frames
           ├── mask    # binary masks
           └── transforms.json    # camera params and expressions
       ├── id2
           ......
```

## Pre-trained Model
Download the [id1 pre-trained model](https://drive.google.com/file/d/1VV3Ru27KcP29DgvcZzGd5e28AyjiRPcZ/view?usp=sharing) (training on RTX 2080ti) to quickly view the results, and store the training model according to `./gaussian-head/output/id1`

## Training[soon...]
Store the training data according to the format and cd to `./gaussian-head`, run:
```
python ./train.py -s ./data/${id} -m ./output/${id} --eval
```

## Rendering
Use your own trained model or the pre-trained model we provide, cd to `./gaussian-head` and run next command, output results will save in `./gaussian-head/output/${id}`
```
python render.py -m ./output/${id}
```

## Additional Tools
>- Set `--is_debug` used to quickly load a small amount of training data for debug;
>- After training, set `--novel_view`, and then run  `render.py` to get the novel perspective result rotated by the y-axis;
>- Set `--only_head` will only perform head training and rendering. Before this, face_parsing needs to be performed to obtain the segmentation, this can be easily obtained at [here](https://drive.google.com/drive/folders/1OiUvo7vHekVpy67Nuxnh3EuJQo7hlSq1?usp=sharing);

## Citation
If anything useful, a star is best and please cite as:
```
@misc{wang2024gaussianhead,
      title={GaussianHead: High-fidelity Head Avatars with Learnable Gaussian Derivation}, 
      author={Jie Wang and Jiu-Cheng Xie and Xianyan Li and Feng Xu and Chi-Man Pun and Hao Gao},
      year={2024},
      eprint={2312.01632},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}
```

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API