Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrankin committed Apr 16, 2020
1 parent 34b6044 commit 90ddaf2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,23 @@ Optimizing a NeRF takes between a few hours and a day or two (depending on resol

## How to train your NeRF super-quickly!

To train a "full" NeRF model (i.e., using 3D coordinates as well as ray directions, and the hierarchical sampling procedure), first setup dependencies. In a new `conda` or `virtualenv` environment, run
To train a "full" NeRF model (i.e., using 3D coordinates as well as ray directions, and the hierarchical sampling procedure), first setup dependencies.

### Using pip
In a new `conda` or `virtualenv` environment, run
using pip
```bash
pip install -r requirements.txt
```

**Importantly**, install [torchsearchsorted](https://github.com/aliutkus/torchsearchsorted) by following instructions from their `README`.

### Alternatively, using conda
```bash
cd nerf-pytorch
conda env create
conda activate nerf
```

Once everything is setup, to run experiments, first edit `config/lego.yml` to specify your own parameters.

The training script can be invoked by running
Expand Down

0 comments on commit 90ddaf2

Please sign in to comment.