MCPcopy Index your code
hub / github.com/LeapLabTHU/ActiveNeRF

github.com/LeapLabTHU/ActiveNeRF @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
39 symbols 108 edges 4 files 8 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ActiveNeRF: Learning where to See with Uncertainty Estimation (ActiveNeRF)

This repo contains the official PyTorch code for ActiveNeRF [paper].

Introduction

main

We present a novel learning framework, ActiveNeRF, aiming to model a 3D scene with a constrained input budget. We first incorporate uncertainty estimation into a NeRF model, which ensures robustness under few observations and provides an interpretation of how NeRF understands the scene. On this basis, we propose to supplement the existing training set with newly captured samples based on an active learning scheme. By evaluating the reduction of uncertainty given new inputs, we select the samples that bring the most information gain. In this way, the quality of novel view synthesis can be improved with minimal additional resources.

Visualizations

Installation

git clone https://github.com/LeapLabTHU/ActiveNeRF.git
cd ActiveNeRF
pip install -r requirements.txt

Quick Start

Download data for example dataset: hotdog

bash download_example_data.sh

Train ActiveNeRF:

python run_nerf.py --config configs/hotdog_active.txt --expname active_hotdog --datadir ./data/hotdog

Contact

If you have any question, please feel free to contact the authors. Xuran Pan: pxr18@mails.tsinghua.edu.cn.

Acknowledgement

Our code is based on NeRF-Pytorch, and NeRF-Tensorflow.

Citation

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

@inproceedings{pan2022activenerf,
  title={ActiveNeRF: Learning Where to See with Uncertainty Estimation},
  author={Pan, Xuran and Lai, Zihang and Song, Shiji and Huang, Gao},
  booktitle={Computer Vision--ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23--27, 2022, Proceedings, Part XXXIII},
  pages={230--246},
  year={2022},
  organization={Springer}
}

Core symbols most depended-on inside this repo

normalize
called by 12
load_llff.py
render
called by 3
run_nerf.py
render_path
called by 3
run_nerf.py
_minify
called by 3
load_llff.py
poses_avg
called by 3
load_llff.py
get_embedder
called by 2
run_nerf_helpers.py
get_rays
called by 2
run_nerf_helpers.py
get_rays_np
called by 2
run_nerf_helpers.py

Shape

Function 31
Method 6
Class 2

Languages

Python100%

Modules by API surface

run_nerf_helpers.py13 symbols
run_nerf.py12 symbols
load_llff.py12 symbols
load_blender.py2 symbols

For agents

$ claude mcp add ActiveNeRF \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact