Adios mattport

This commit is contained in:
Matt Tancik committed 2022-05-30 09:24:12 -07:00
1 parent 9d2b34ab60
commit b26408eb7a
86 files changed
+176 -176

No files matched your search

+9 -9
View File
@@ -1,4 +1,4 @@
# MattPort
# Radiance
# Quickstart
@@ -6,14 +6,14 @@
```
# Clone the repo
git clone --recurse-submodules git@github.com:ethanweber/mattport.git
git clone --recurse-submodules git@github.com:ethanweber/radiance.git
# Create the python environment
conda create --name mattport python=3.8.13
conda activate mattport
conda create --name radiance python=3.8.13
conda activate radiance
pip install -r environment/requirements.txt
# Install mattport as a library
# Install radiance as a library
pip install -e .
# Install library with CUDA support. Change setup.py to `USE_CUDA = True` and then
@@ -69,7 +69,7 @@ bash environments/run_jupyter.sh
# Tooling
1. One can use [autoenv](https://github.com/hyperupcall/autoenv) to make setting up the environment and environment variables easier. This will run the `.envrc` file upon entering the `/path/to/mattport` folder. It will also remove the environment parameters upon leaving.
1. One can use [autoenv](https://github.com/hyperupcall/autoenv) to make setting up the environment and environment variables easier. This will run the `.envrc` file upon entering the `/path/to/radiance` folder. It will also remove the environment parameters upon leaving.
```
# Install direnv.
@@ -79,7 +79,7 @@ sudo apt install direnv
eval "$(direnv hook bash)"
# Populate your .envrc with commands you want to run. Then, run the following to allow updates.
cd /path/to/mattport
cd /path/to/radiance
direnv allow .
```
@@ -125,12 +125,12 @@ python scripts/benchmarking/run_benchmark.py
```
# nerf-pytorch
cd external
python run_nerf.py --config configs/chair.txt --datadir /path/to/mattport/data/blender/chair
python run_nerf.py --config configs/chair.txt --datadir /path/to/radiance/data/blender/chair
# jaxnerf
cd external
conda activate jaxnerf
python -m jaxnerf.train --data_dir=/path/to/mattport/data/blender/chair --train_dir=/path/to/mattport/outputs/blender_chair_jaxnerf --config=/path/to/mattport/external/jaxnerf/configs/demo --render_every 100
python -m jaxnerf.train --data_dir=/path/to/radiance/data/blender/chair --train_dir=/path/to/radiance/outputs/blender_chair_jaxnerf --config=/path/to/radiance/external/jaxnerf/configs/demo --render_every 100
```
# Speeding up the code