• Stars
    star
    246
  • Rank 163,726 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NeRD: Neural Reflectance Decomposition from Image Collections - ICCV 2021

NeRD: Neural Reflectance Decomposition from Image Collections

Project Page | Video | Paper | Dataset

Implementation for NeRD. A novel method which decomposes multiple images into shape, BRDF and illumination.

NeRD: Neural Reflectance Decomposition from Image Collections
Mark Boss1, Raphael Braun1, Varun Jampani2, Jonathan T. Barron2, Ce Liu2, Hendrik P. A. Lensch1
1University of Tübingen, 2Google Research

Also check our follow-up work: Neural-PIL

Setup

A conda environment is used for dependency management

conda env create -f environment.yml
conda activate nerd

Running

Replace the specific [] placeholders:

python train_nerd.py --datadir [DIR_TO_DATASET_FOLDER] --basedir [TRAIN_DIR] --expname [EXPERIMENT_NAME] --gpu [COMMA_SEPARATED_GPU_LIST]

Specific Arguments per Dataset

Most setup is handled by configurations files located in configs/nerd/.

Our Synthethic Scenes

--config configs/nerd/blender.txt

NeRF Synthethic Scenes

--config configs/nerd/nerf_blender.txt

Real-World

--config configs/nerd/real_world.txt 

Often objects are captured in a spherical manner and the flag --spherify should be applied for those scenes.

Datasets

All datasets are uploaded in individual git repositories. We have created a download script which automatically fetches all datasets and downloads them to a specified folder. Usage:

python download_datasets.py /path/to/dataset/root

Run Your Own Data

Mainly camera poses and segmentation masks are required. For the poses the scripts from NeRF are used to prepare the scenes. The dataset then needs to be put in the following file structure:

images/
    [IMG_NAME_1].jpg
    [IMG_NAME_2].jpg
    ...
masks/
    [IMG_NAME_1].jpg
    [IMG_NAME_2].jpg
    ...
poses_bounds.npy

The poses_bounds.npy is generated from the LLFF script.

Evaluation

The train_nerd.py can be called with a --render_only flag and the --config flag pointing to the args.txt of the experiments folder. The SGs can be converted to regular environment maps with the visualize_fit function in nn_utils/sg_rendering.py (Example in train_nerd.py).

Citation

@inproceedings{boss2021nerd,
  title         = {NeRD: Neural Reflectance Decomposition from Image Collections},
  author        = {Boss, Mark and Braun, Raphael and Jampani, Varun and Barron, Jonathan T. and Liu, Ce and Lensch, Hendrik P.A.},
  booktitle     = {IEEE International Conference on Computer Vision (ICCV)},
  year          = {2021},
}

More Repositories

1

ggnn

GGNN: State of the Art Graph-based GPU Nearest Neighbor Search
Cuda
141
star
2

Flex-Convolution

Source code for: Flex-Convolution (Million-Scale Point-Cloud Learning Beyond Grid-Worlds), accepted at ACCV 2018
C++
115
star
3

SIGNeRF

SIGNeRF: Scene Integrated Generation for Neural Radiance Fields
Python
112
star
4

learning-blind-motion-deblurring

Multiframe Image Deconvolution (ICCV17)
Python
106
star
5

Neural-PIL

Neural-PIL: Neural Pre-Integrated Lighting for Reflectance Decomposition - NeurIPS2021
Python
99
star
6

Product-Quantization-Tree

GPU-based large scale Approx. Nearest Neighbor Search, accepted at CVPR 2016
Cuda
93
star
7

pointcloud-viewer

Efficient Large-Scale Point-Cloud Viewer based on OpenGL
C++
79
star
8

will-people-like-your-image

Image Aesthetics Estimation (WACV18)
Python
61
star
9

SpatialDETR

Official implementation of SpatialDETR. The paper will be presented at ECCV 2022
Python
55
star
10

tf_custom_op

Boilerplate template for adding custom operations to TensorFlow
C++
14
star
11

emca

EMCA: Explorer of Monte Carlo based Algorithms
Python
12
star
12

low-poly-painter

Python
11
star
13

LearningToSynchronizeVideos

Implementation of our Video Synchronization paper in TensorFlow (ICMLA 2017)
C
7
star
14

infomark-ui

Front-end for the Infomark online platform
Elm
6
star
15

MedicalAnnotationFramework

Python
4
star
16

shinobi

SHINOBI: Shape and Illumination using Neural Object Decomposition via BRDF Optimization In-the-wild
TypeScript
3
star
17

DualQueryMIL

Dual-Query Multiple Instance Learning for Dynamic Meta-Embedding based Tumor Classification
Python
3
star
18

hyperrealistic_indoor_streetview

🗺️🏠 Software Project SS24 | Hyperrealistic Indoor Street-View
TypeScript
3
star
19

infomark-backend

scalable, modern and open-source online course management system with auto testing of programming assignments (RESTful API Server)
Go
2
star
20

praktikum-ws16-funfair

praktikum-ws16-funfair created by GitHub Classroom
JavaScript
2
star
21

InfoMark-deprecated

A online platform for distributing exercise sheets and testing exercise submission within Docker
Ruby
2
star
22

mitsuba-emca

Integration of EMCA https://github.com/cgtuebingen/emca into Mitsuba
C++
2
star
23

jannik-hofmann-master-thesis

DNN Visualization in the Unreal Engine for Interactive Fly-through Exploration, an extensible framework for visualizing feed-forward TensorFlow/Keras DNNs. It calculates a force-based layout and displays kernels, kernel activations, saliency maps, and integrated gradients. Published under GNU GPLv3.
C
2
star
24

fastsync

C++
1
star
25

hybrid_zoom

This is the simulation of the hybrid zoom based on the SLM-camera.
Python
1
star
26

snapshot_multispectral_imaging

MATLAB
1
star
27

spatial_xr

🥽🌐 Software Project SS24 | SpatialXR
C#
1
star