"sgl-kernel/vscode:/vscode.git/clone" did not exist on "b6d0ce9f7839bd2e42a915529673fc4797829ae6"
README.md 1.69 KB
Newer Older
Ruilong Li's avatar
readme  
Ruilong Li committed
1
# nerfacc
Matthew Tancik's avatar
Matthew Tancik committed
2
3
[![Core Tests.](https://github.com/KAIR-BAIR/nerfacc/actions/workflows/code_checks.yml/badge.svg)](https://github.com/KAIR-BAIR/nerfacc/actions/workflows/code_checks.yml)
[![Documentation Status](https://readthedocs.com/projects/plenoptix-nerfacc/badge/?version=latest)](https://plenoptix-nerfacc.readthedocs-hosted.com/en/latest/?badge=latest)
Ruilong Li's avatar
readme  
Ruilong Li committed
4

5
This is a **tiny** tootlbox  for **accelerating** NeRF training & rendering using PyTorch CUDA extensions. Plug-and-play for most of the NeRFs!
Ruilong Li's avatar
readme  
Ruilong Li committed
6

Ruilong Li's avatar
Ruilong Li committed
7
## Examples: Instant-NGP NeRF
Ruilong Li's avatar
readme  
Ruilong Li committed
8

Ruilong Li's avatar
Ruilong Li committed
9
``` bash
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
10
python examples/train_ngp_nerf.py --train_split trainval --scene lego
Ruilong Li's avatar
readme  
Ruilong Li committed
11
12
```

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
13
Performance:
14

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
15
| PSNR | Lego | Mic | Materials | Chair | Hotdog |
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
16
| - | - | - | - | - | - |
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
17
18
19
| Papers (5mins) | 36.39 | 36.22 | 29.78 | 35.00 | 37.40 |
| Ours (~5mins)  | 36.61 | 37.62 | 30.11 | 36.09 | 38.09 |
| Exact training time  | 300s  | 274s  | 266s  | 341s  | 277s  |
20
21


Ruilong Li's avatar
Ruilong Li committed
22
23
24
## Examples: Vanilla MLP NeRF

``` bash
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
25
python examples/train_mlp_nerf.py --train_split train --scene lego
Ruilong Li's avatar
Ruilong Li committed
26
27
```

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
28
Performance:
Ruilong Li's avatar
Ruilong Li committed
29

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
30
| PNSR | Lego | Mic | Materials | Chair | Hotdog |
Ruilong Li's avatar
Ruilong Li committed
31
| - | - | - | - | - | - |
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
32
33
| Paper (~2days) | 32.54 | 32.91 | 29.62 | 33.00 | 36.18 |
| Ours (~45mins) | 33.21 | 33.36 | 29.48 | 32.79 | 35.54 |
Ruilong Li's avatar
Ruilong Li committed
34

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
35
## Examples: MLP NeRF on Dynamic objects (D-NeRF)
Ruilong Li's avatar
Ruilong Li committed
36

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
37
38
```bash
python examples/train_mlp_dnerf.py --train_split train --scene lego
39
40
```

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
41
Performance:
42
43
44

|  | Lego | Stand Up |
| - | - | - |
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
45
46
| Paper (~2days) | 21.64 | 32.79 |
| Ours (~45mins) | 24.66 | 33.98 |
Ruilong Li's avatar
readme  
Ruilong Li committed
47

Ruilong Li's avatar
Ruilong Li committed
48

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
49
50
51
52
53
54
55
## Examples: NGP on unbounded scene

On MipNeRF360 Garden scene

```bash
python examples/train_ngp_nerf.py --train_split train --scene garden --aabb="-4,-4,-4,4,4,4" --unbounded --cone_angle=0.004
```
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
56

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
57
Performance:
Ruilong Li's avatar
Ruilong Li committed
58

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
59
60
61
|  | Garden |
| - | - |
| Ours | 25.13 |