NeAR-Face / README.md
luh0502's picture
Release 8-channel and 24-channel face inference checkpoints
2b2f33a verified
|
Raw History Blame Contribute Delete
1.16 kB
---
language:
- en
tags:
- 3d
- relighting
- face-rendering
library_name: pytorch
---
# NeAR Face
Inference checkpoints for the facial neural asset renderer in Chapter 5 of Hong Li's doctoral dissertation. A sparse face latent, a camera pose and a lat-long HDR environment specify a 512 × 512 image.
| Folder | Latent | Optimizer step of exported weights |
|---|---|---:|
| `e` | 8 channels, homogeneous-light appearance (LH) | 20,000 |
| `ebr` | 24 channels, LH, base color and reflectance material features | 34,000 |
Each folder contains a JSON architecture configuration and five PyTorch state dictionaries for the intrinsic decoder, light-aware renderer, HDR environment encoder, neural shading basis and image-space refiner. Load state dictionaries with `weights_only=True` and strict key matching. Use the face inference code and synthetic examples distributed with the thesis code archive.
```bash
hf download luh0502/NeAR-Face --include 'e/*' --local-dir weights
hf download luh0502/NeAR-Face --include 'ebr/*' --local-dir weights
```
The general-object NeAR project is available in the [upstream repository](https://github.com/Luh1124/NeAR).