Skip to content

bbbbby-99/InsertNeRF

Repository files navigation

InsertNeRF: Instilling Generalizability into NeRF with HyperNet Modules

Installation

Setup

Clone this repository:

git clone https://github.com/bbbbby-99/InsertNeRF.git
cd InsertNeRF
pip install -r requirements.txt

Train generalization model

Train the model with NeuRay initialized from estimated depth of COLMAP:

python run_training.py --cfg configs/train/gen/insert_gen_depth_train.yaml

Models will be saved at data/model.

Render with trained models

python render.py --cfg configs/gen/insert_gen_depth_train.yaml

Evaluation

Evaluation on all scenes in datasets, psnr/ssim/lpips will be printed on screen.

python eval.py

Results

InsertNeRF

Results for all scenes are obtained through our InsertNeRF rendering following Setting I, without any retraining in testing scenes.

Lego GIF Chair GIF Ficus GIF Mic GIF
hotdog GIF ship GIF drums GIF materials GIF
hornsrgb GIF fernrgb GIF orchidsrgb GIF leavesrgb GIF
hornsdepth GIF ferndepth GIF orchidsdepth GIF leavesdepth GIF
birdsrgb GIF bricksrgb GIF snowmanrgb GIF toolsrgb GIF

Insert-NeRF++

Truckrgb GIF Trainrgb GIF Playgroundrgb GIF M60rgb GIF

Insert-mip-NeRF

It will be released soon.

Acknowledgements

In this repository, we build our codes based on the NeuRay. We thank all the authors for sharing great codes.

About

[ICLR 2024] The CODE of InsertNeRF.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages