Skip to content

ariG23498/nerf-keras-jax

Repository files navigation

Neural Radiance Fields in Keras with JAX backend

Open In Colab

In this repository, we present a minimal JAX implementation of the research paper NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis by Ben Mildenhall et. al. using the Keras 3 API with JAX backend.

loss-nerf-jax-resized

Here we do the following:

  • Port the existing NeRF Keras tutorial (in TensorFlow backend) from Keras-2 to Keras-3 ✨
  • Utilise JAX as a backend in place of TensorFlow
  • Achieve a 4X speed-up in training compared to the TensorFlow implementation
  • Completely stateless API design

Usage

To get started you can directly open the notebooks/nerf.ipynb notebook or get started with train.py.

Additional Resources

If anyone is interested in going deeper into NeRF, we have built a 3-part blog series at PyImageSearch.

Reference

About

Implement the nerf tutorial with keras and jax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages