Skip to main content

A collection of NeRF baselines for benchmarking

Project description

NerfBaselines

The goal of this project is to provide a simple uniform way to benchmark different NeRF methods on standard datasets to allow for an easy comparison. The implemented methods use the original code published by the authors and, therefore, the resulting performance matches the original implementation. DISCLAIMER: This project is at a very early stage of its development. Stay tuned!

Getting started

Start by installing the nerfbaselines pip package on your host system.

pip install nerfbaselines

Now you can use the nerfbaselines cli to interact with NerfBaselines.

The next step is to choose the backend which will be used to install different methods. At the moment there are the following backends implemented:

  • docker: Offers good isolation, requires docker to be installed and the user to have access to it (being in the docker user group).
  • apptainer: Similar level of isolation as docker, but does not require the user to have privileged access.
  • conda (not recommended): Does not require docker/apptainer to be installed, but does not offer the same level of isolation and some methods require additional dependencies to be installed. Also, some methods are not implemented for this backend because they rely on dependencies not found on conda.
  • python (not recommended): Will run everything directly in the current environment. Everything needs to be installed in the environment for this backend to work.

The backend can be set as the --backend <backend> argument or using the NB_DEFAULT_BACKEND environment variable.

Training

To start the training use the nerfbaselines train --method <method> command. Use --help argument to learn about all implemented methods and supported features.

Rendering

The nerfbaselines render --checkpoint <checkpoint> command can be used to render images from a trained checkpoint. Again, use --help to learn about the arguments.

Implementation status

Methods:

  • Nerfacto
  • Instant-NGP
  • Gaussian Splatting
  • Tetra-NeRF
  • Mip-NeRF 360
  • NeRF
  • Mip-NeRF
  • Zip-NeRF

Datasets/features:

  • Mip-NeRF 360
  • any COLMAP datasets
  • HDR images support
  • RAW images support
  • handling large datasets
  • Tanks and Temples
  • Blender
  • any NerfStudio datasets

Contributing

Contributions are very much welcome. Please open a PR with a dataset/method/feature that you want to contribute. The goal of this project is to slowly expand by implementing more and more methods.

License

This project is licensed under the MIT license.

Thanks

A big thanks to the authors of all implemented methods for the great work they have done.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nerfbaselines-0.0.2.tar.gz (58.9 kB view details)

Uploaded Source

Built Distribution

nerfbaselines-0.0.2-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

Details for the file nerfbaselines-0.0.2.tar.gz.

File metadata

  • Download URL: nerfbaselines-0.0.2.tar.gz
  • Upload date:
  • Size: 58.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for nerfbaselines-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4582923345f883d4b39f86f0c342c01ae2bc1c551c2d5ef4ce66f55c2a8d012e
MD5 ad303c0b95cb5d131a5ab1b729a7cacc
BLAKE2b-256 fb274b4414ff44ab42abeeceb290639cbde62c272942bfc2f24c262db0000015

See more details on using hashes here.

File details

Details for the file nerfbaselines-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nerfbaselines-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74eecf54b12870c8c7869268b7d4d412092f86bc6daaa0d13661f30b532b7087
MD5 78fb93a5aa179a4f5512cee91b76946f
BLAKE2b-256 1be8a097925c86d751faace522cd0e9c860af3d590e1d944d86b708a900d3416

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page