百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SuperNormal

> 编程语言
开源

[CVPR 2024] "SuperNormal: 通过多视图法向量融合实现神经表面重建"的官方实现

196 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

[CVPR 2024] "SuperNormal: 通过多视图法向量融合实现神经表面重建"的官方实现

SuperNormal: Neural Surface Reconstruction via Multi-View Normal Integration

Xu Cao
·
Takafumi Taketomi

CyberAgent

CVPR 2024

Update

  • 2024/09/30: Real-world raw data and step-by-step data pre-processing instructions are available. See here.

Quick Start

Code was tested on Ubuntu 18.04 (WSL2) using Python 3.8, PyTorch 2.1.0, and CUDA 11.8 on an Nvidia RTX4090Ti (24GB).

Before started, please ensure CUDA is installed in your environment (11.8 can be found here). It is required by tiny-cuda-nn.

You should see something like the following after typing nvcc --version

commandline
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

Clone the repository and prepare the conda environment:

commandline
git clone https://github.com/CyberAgentAILab/SuperNormal.git
cd SuperNormal
. ./create_env.sh

Download data (~1.8GB):

commandline
./download_data.sh

Run on the DiLiGenT-MV benchmark objects or on our captured objects:

commandline
./run_diligent.sh  # Training should take about 50 seconds per object

or

commandline
./run_own_object.sh  # Training should take about 5 minutes per object

Results are saved under ./exp.

NOTE: If RuntimeError like below occurs, apt install ninja-build may resolve the error.

RuntimeError: Ninja is required to load C++ extensions

Hyperparameter tuning tips

Training hyperparameters are defined in ./configs/*.conf. Some important hyperparameters are:

  • dataset.normal_dir: You can choose normal maps estimated by different methods as input for DiLiGenT-MV benchmark objects.
  • train.end_iter: The number of iterations for training. Should be adjusted according to the number of views and normal map resolutions.
  • train.increase_bindwidth_every: A strategy used in Neuralangelo to progressively activate finer hash grid during training. Less than end_iter/model.encoding.n_levels should be fine.
  • train.batch_size: Number of patches in each batch for training. Should be adjusted according to the GPU memory.
  • train.patch_size: Better to be fixed to 3, i.e., each patch is 3x3. Large patch size will cause inaccurate volume rendering results for boudary pixels in a patch.

Modifications to NerfAcc

We add several functions to the original NerfAcc to adapt it to patch-based volume rendering. The key new functions (which are indicated by patch_based in function name) are in third_parties/nerfacc-0.3.5/nerfacc-0.3.5/nerfacc/cuda/csrc/render_weight.cu/ and third_parties/nerfacc-0.3.5/nerfacc-0.3.5/nerfacc/vol_rendering.py.

Acknowledgement

This repo is built up on NeuS and benefits from the amazing tiny-cuda-nn and NerfAcc. We also learned a lot from instant-nsr-pl.

Citation

If you find our work useful in your research, please consider citing:

bibtex
@inproceedings{supernormal2024cao,
  title={SuperNormal: {N}eural Surface Reconstruction via Multi-View Normal Integration},
  author={Cao Xu and Taketomi Takafumi},
  booktitle={CVPR},
  year={2024}
}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言