NeRF-KPlanes-SemX

An implementation and explanantion of NeRF and K-Planes in PyTorch. This repository contains the code for NeRF and K-Planes for my Semester X Neural Networks and Deep Learning Project. A report has also been generated explaining in detail the models implemented, the metrics and dataset used and the libraries and open-source software leveraged. It is based on the implementation of Maxime Vandegar (@Papers in 100 Lines of Code).

Input Data Pre-Processing (Colmap Based) Output
Preview Preview Preview

Notebook Explaing Full Pipeline

Report

Also check out Maxime’s Course on Udemy.

⚠️ Gifs may Fail to Render, All assets available in img directory.

High Fidelity Outputs (Using NeRFStudio)

Animations made using Blender

Guitar Shoe Model Car
Preview Preview Preview

NeRF Studio Instructions

Models Implemented

NeRF Model

NeRF Code

K-Planes Model

K-Planes Code

Refer to Report for detailed explanation.

Data Used

We have used the lego directory of the blender dataset. Pre-processed dataset can be found here @Papers in 100 Lines of Code.

Custom Data

For custom data, we have used NeRF studio to make our renders. Instructions for creation and processing of custom data can be found here NeRF Studio Instructions as well as detailed explanation for data acquistion can be found here Report.

Results

NeRF K-Planes
Result Result
Result Result
Result Result
Result Result

Averaged Metrics

Metric NeRF K-Planes
MSE 29.92 26.63
PSNR 0.0010 0.0022
SSIM 0.99 0.99
Render Time 10.13s 3.90s

All testing has been performed on synthetic blender data.

Repository Structure

Directories

Scripts