Skip to content
/ osf Public

Learning Object-centric Neural Scattering Functions for Free-viewpoint Relighting and Scene Composition

License

Notifications You must be signed in to change notification settings

michguo/osf

Repository files navigation

Learning Object-Centric Neural Scattering Functions for Free-Viewpoint Relighting and Scene Composition

By Hong-Xing Yu*, Michelle Guo*, Alireza Fathi, Yen-Yu Chang, Eric Ryan Chan, Ruohan Gao, Thomas Funkhouser, Jiajun Wu

arXiv link: https://arxiv.org/abs/2303.06138

Setup

git clone https://github.com/michguo/osf.git
cd osf
conda env create -f environment.yml

Data and Models

You can download the data and pretrained models from the following Google Drive links:

Training and Evaluation

Configuration files can be found in the configs folder. To train an OSF, run the following command:

python run_osf.py --config ${CONFIG_PATH}

For testing, you can run

python run_osf.py --config ${CONFIG_PATH} --render_only --render_test

Composing OSFs

After training individual OSFs, you can compose them together into arbitrary scene arrangements at test time. This example composes the checkers background and the ObjectFolder objects together into a scene:

python run_osf.py --config=configs/compose.txt

KiloOSF

For the extension of KiloOSF where we distill a trained OSF model to accelerate rendering, please refer to KiloOSF.

Citation

@article{yu2023osf,
    title={Learning Object-centric Neural Scattering Functions for Free-viewpoint Relighting and Scene Composition},
    author={Yu, Hong-Xing and Guo, Michelle and Fathi, Alireza and Chang, Yen-Yu and Chan, Eric Ryan and Gao, Ruohan and Funkhouser, Thomas and Wu, Jiajun},
    journal={Transactions on Machine Learning Research},
    year={2023}
}

Acknowledgements

Our code framework is adapted from nerf-pytorch.

About

Learning Object-centric Neural Scattering Functions for Free-viewpoint Relighting and Scene Composition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages