Skip to content

bbbbby-99/WaH-NeRF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

WaH-NeRF:Where and How: Mitigating Confusion in Neural Radiance Fields from Sparse Inputs

The official implementation of ACM MM 2023 paper. [Paper]

Yanqi Bao, Yuxin Li, Jing Huo, Tianyu Ding, Xinyue Liang, Wenbin Li and Yang Gao

Introduction

Neural Radiance Fields from Sparse inputs (NeRF-S) have shown great potential in synthesizing novel views with a limited number of observed viewpoints. However, due to the inherent limitations of sparse inputs and the gap between non-adjacent views, rendering results often suffer from over-fitting and foggy surfaces, a phenomenon we refer to as "CONFUSION" during volume rendering. In this paper, we analyze the root cause of this confusion and attribute it to two fundamental questions: "WHERE" and "HOW". To this end, we present a novel learning framework, WaH-NeRF, which effectively mitigates confusion by tackling the following challenges: (i) “WHERE” to Sample? in NeRF-S---we introduce a Deformable Sampling strategy and a Weight-based Mutual Information Loss to address sample-position confusion arising from the limited number of viewpoints; and (ii) “HOW” to Predict? in NeRF-S---we propose a Semi-Supervised NeRF learning Paradigm based on pose perturbation and a Pixel-Patch Correspondence Loss to alleviate prediction confusion caused by the disparity between training and testing viewpoints. By integrating our proposed modules and loss functions, WaH-NeRF outperforms previous methods under the NeRF-S setting. Pipeline in WaHNeRF

Installation

Clone this repository:

git clone https://github.com/bbbbby-99/WaH-NeRF.git
cd WaH-NeRF
conda env create -f mipNeRF.yml

Dataset

|--->WaH-NeRF
    |--->data
        |--->nerf_synthetic

Usage

Training

python train.py

Rendering

python visualize.py

Evaluation

python eval_metrics_script.py

Results

Lego GIF

Cite this work

If you find our work / code implementation useful for your own research, please cite our paper.

  @article{bao2023and,
  title={Where and How: Mitigating Confusion in Neural Radiance Fields from Sparse Inputs},
  author={Bao, Yanqi and Li, Yuxin and Huo, Jing and Ding, Tianyu and Liang, Xinyue and Li, Wenbin and Gao, Yang},
  journal={arXiv preprint arXiv:2308.02908},
  year={2023}
}

About

The CODE of WaH-NeRF (ACM MM 23).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published