evonneng ca76f70d49 Added timing logic within trainer class (#37)
* added skeleton for terminal logger

* done skeleton terminal writer logic... todo: actual calls to the write classes

* moved lambda to top function

* added logic to support timing
2022-04-22 17:33:02 -07:00
2022-04-21 14:51:51 -07:00
2022-04-22 03:51:28 +00:00
2022-04-22 18:19:39 +00:00
2022-04-22 18:19:39 +00:00
2022-04-22 18:19:39 +00:00
2022-04-21 11:40:05 -07:00
2022-04-02 21:47:39 +00:00
2022-04-22 18:19:39 +00:00
…

MattPort

Setup the environment

# Clone the repo
git clone --recurse-submodules git@github.com:ethanweber/mattport.git

# Create the python environment
conda create --name mattport python=3.8.13
conda activate mattport
pip install -r environment/requirements.txt

# Install helper library
cd external/goat
python setup.py develop
# then go back, i.e., `cd /path/to/mattport`

# Install mattport as a library
python setup.py develop

# Running the test cases
pytest tests

Getting the data

Download the original NeRF dataset and put it in the following format.

- data/
    - blender/
        - fern/
        - lego/

Training a model

# Run with the default config
python scripts/run_train.py
# Run with config changes
python scripts/run_train.py machine_config.num_gpus=1

Setting up Jupyter

python -m jupyter lab build
bash environments/run_jupyter.sh
Languages
Python 91.2%
JavaScript 6.8%
TypeScript 0.8%
Shell 0.4%
SCSS 0.4%
Other 0.4%