JADGardner / ns_reni

Nerfstudio Implementation of RENI++: A Rotation-Equivariant, Scale-Invariant, Natural Illumination Prior

Home Page:https://arxiv.org/abs/2311.09361

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RENI++

Official Nerfstudio Implementation of RENI++

Paper: RENI++: A Rotation-Equivariant, Scale-Invariant, Natural Illumination Prior

NeuSky Teaser

Installation

We build on top of Nerfstudio. However, since Nerfstudio is still in very active development with fairly large codebase changes still occurring compatibility might be an issue. Pull requests and issues are very welcome.

Prerequisites

You must have an NVIDIA video card with CUDA installed on the system. This library has been tested with version 11.8 of CUDA. You can find more information about installing CUDA here

Create Environment

Nerfstudio requires python >= 3.8. We recommend using conda to manage dependencies. Make sure to install Conda before proceeding.

Install nerfstudio

conda create --name nerfstudio -y python=3.8

conda activate nerfstudio

pip install --upgrade pip

pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118

conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit

pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

git clone https://github.com/nerfstudio-project/nerfstudio.git

cd nerfstudio

pip install --upgrade pip setuptools

pip install -e .

Install RENI++

a. Clone repo and install RENI++

git clone https://github.com/JADGardner/ns_reni.git

sudo apt install libopenexr-dev

conda install -c conda-forge openexr

cd ns_reni

pip install -e .

b. Setup Nerfstudio CLI

ns-install-cli

c. Close and reopen your terminal and source conda environment again:

conda activate nerfstudio

Download Data and Pretrained Models

python3 scripts/download_data.py output/data/path/

python3 scripts/download_models.py output/model/path/

About

Nerfstudio Implementation of RENI++: A Rotation-Equivariant, Scale-Invariant, Natural Illumination Prior

https://arxiv.org/abs/2311.09361

License:Apache License 2.0


Languages

Language:Jupyter Notebook 97.1%Language:Python 2.9%Language:Shell 0.0%Language:Dockerfile 0.0%