4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00
nerfstudio/docs/quickstart/installation.md
Matthew Tancik d7c34ca2bd
Reorganize documentation (#631)
restructure_docs
2022-10-03 12:59:46 -07:00

1.1 KiB

Installation

Create environment

We reccomend using conda to manage dependencies. Make sure to install Conda before preceding.

conda create --name nerfstudio -y python=3.8.13
conda activate nerfstudio
python -m pip install --upgrade pip

Dependencies

Install pytorch with CUDA (this repo has been tested with CUDA 11.3) and tiny-cuda-nn

pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

Installing nerfstudio

Easy option:

pip install nerfstudio

If you would want the latest and greatest:

git clone git@github.com:plenoptix/nerfstudio.git
cd nerfstudio
pip install -e .

Optional Installs

Tab completion (bash & zsh)

This needs to be rerun when the CLI changes, for example if nerfstudio is updated.

ns-install-cli

Development packages

pip install -e.[dev]
pip install -e.[docs]