File size: 1,158 Bytes
2b2f33a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
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).