ngp.rst 2.46 KB
Newer Older
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
1
2
.. _`Instant-NGP Example`:

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
3
4
5
Instant-NGP
====================

Ruilong Li's avatar
Ruilong Li committed
6
See code `examples/train_ngp_nerf.py` at our `github repository`_ for details.
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
7
8
9

Benchmarks
------------
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
10
*updated on 2022-10-12*
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
11

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
12
Here we trained a `Instant-NGP Nerf`_ model on the `Nerf-Synthetic dataset`_. We follow the same
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
13
14
settings with the Instant-NGP paper, which uses train split for training and test split for
evaluation. All experiments are conducted on a single NVIDIA TITAN RTX GPU. The training
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
15
memory footprint is about 3GB.
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
16

Ruilong Li's avatar
Ruilong Li committed
17
18
.. note::
    
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
19
    The Instant-NGP paper makes use of the alpha channel in the images to apply random background
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
20
21
22
23
    augmentation during training. For fair comparision, we rerun their code with a constant white
    background during both training and testing. Also it is worth to mention that we didn't strictly
    follow the training receipe in the Instant-NGP paper, such as the learning rate schedule etc, as
    the purpose of this benchmark is to showcase instead of reproducing the paper.
Ruilong Li's avatar
Ruilong Li committed
24

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
25
26
27
28
29
30
31
32
33
34
35
36
+-----------------------+-------+-------+---------+-------+-------+-------+-------+-------+-------+
| PSNR                  | Lego  | Mic   |Materials| Chair |Hotdog | Ficus | Drums | Ship  | MEAN  |
|                       |       |       |         |       |       |       |       |       |       |
+=======================+=======+=======+=========+=======+=======+=======+=======+=======+=======+
|Instant-NGP 35k steps  | 35.87 | 36.22 | 29.08   | 35.10 | 37.48 | 30.61 | 23.85 | 30.62 | 32.35 |
+-----------------------+-------+-------+---------+-------+-------+-------+-------+-------+-------+
|(training time)        | 309s  | 258s  | 256s    | 316s  | 292s  | 207s  | 218s  | 250s  | 263s  |
+-----------------------+-------+-------+---------+-------+-------+-------+-------+-------+-------+
|Ours 20k steps         | 35.50 | 36.16 | 29.14   | 35.23 | 37.15 | 31.71 | 24.88 | 29.91 | 32.46 |
+-----------------------+-------+-------+---------+-------+-------+-------+-------+-------+-------+
|(training time)        | 287s  | 274s  | 269s    | 317s  | 269s  | 244s  | 249s  | 257s  | 271s  |
+-----------------------+-------+-------+---------+-------+-------+-------+-------+-------+-------+
Ruilong Li's avatar
Ruilong Li committed
37

Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
38
39
.. _`Instant-NGP Nerf`: https://github.com/NVlabs/instant-ngp/tree/51e4107edf48338e9ab0316d56a222e0adf87143
.. _`github repository`: https://github.com/KAIR-BAIR/nerfacc/tree/76c0f9817da4c9c8b5ccf827eb069ee2ce854b75
Ruilong Li(李瑞龙)'s avatar
Ruilong Li(李瑞龙) committed
40
.. _`Nerf-Synthetic dataset`: https://drive.google.com/drive/folders/1JDdLGDruGNXWnM1eqY1FNL9PlStjaKWi