Giter Site home page Giter Site logo

nerf's Introduction

Hash NeRF

This is an implementation of HasHNerf in Pytorch. The fundational paper is NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis and this implementation is based on Instant Neural Graphics Primitives with a Multiresolution Hash Encoding.

The code is based on the code of HashNeRF-pytorch and Instant ngp.

Configuration

Dependencies

The dependencies for this project are managed by Poetry. To install them, run

poetry install

Some of the dependencies are:

  • Pytorch 2.0
  • Python 3.10

Docker

A Dockerfile is provided to run the code in a container. To build the image, run

./build_docker_image.sh

The image name is $HOSTNAME/nerf. To run the container, run

./docker.sh python -m nerf.main --help

Hardware

This code was developed and tested on the Nvidia 4090 GPU with 24GB of memory.

Usage

Dataset

In order to download the dataset, run

./docker.sh python -m nerf.main dataset download

and it will dowloaded under -./data.

Training

In order to train a model, run

./docker.sh python -m nerf.main train data/nerf_synthetic/lego blender 

Validation and metrics

TODO

Inference

TODO

nerf's People

Contributors

jorgemf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.