Giter Club home page Giter Club logo

efficientnerf's Introduction

The official code for "EfficientNeRF: Efficient Neural Radiance Fields" in CVPR2022.

Environment (Tested)

  • Ubuntu 18.04
  • Python 3.7
  • CUDA 11.x
  • Pytorch 1.9.1
  • Pytorch-Lightning 1.6.4

Install via Anaconda

$ conda create -n EfficientNeRF python=3.8
$ conda activate EfficientNeRF
$ pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
$ pip install -r requirements.txt

Training

$ DATA_DIR=/path/to/lego
$ python train.py \
   --dataset_name blender \
   --root_dir $DATA_DIR \
   --N_samples 128 \
   --N_importance 5 --img_wh 800 800 \
   --num_epochs 16 --batch_size 4096 \
   --optimizer radam --lr 2e-3 \
   --lr_scheduler poly \
   --coord_scope 3.0 \
   --warmup_step 5000\
   --sigma_init 30.0 \
   --weight_threashold 1e-5 \
   --exp_name lego_coarse128_fine5_V384

Visualization

$ tensorboard --logdir=./logs

Question

  • Q1. Different hyperparameters from the original paper
  • A1. There are many combinations between these hyperparameters. You are free to balance the training speed and accuracy by modify them.
  • Q2. When will NeRF-Tree released?
  • A2. Hard to say a specific date. The data structure NeRF-Tree is closed to Octree.

Progress

More scenes and applications will be suported soon. Stay tune!

Acknowledgement

Our initial code was borrowed from

Citation

If you find our code or paper helps, please cite our paper:

@InProceedings{Hu_2022_CVPR,
    author    = {Hu, Tao and Liu, Shu and Chen, Yilun and Shen, Tiancheng and Jia, Jiaya},
    title     = {EfficientNeRF  Efficient Neural Radiance Fields},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2022},
    pages     = {12902-12911}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.