mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 18:44:21 +08:00
* working data loader code * adding gitignore * fixing linting errors * set black line length in settings file * update * fixed filepath * black format * tqdm
38 lines
638 B
Markdown
38 lines
638 B
Markdown
# 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
|
|
```
|
|
|
|
# Training a model
|
|
|
|
```
|
|
python scripts/run_train_nerf.py
|
|
```
|
|
|
|
# Setting up Jupyter
|
|
|
|
```
|
|
python -m jupyter lab build
|
|
bash environments/run_jupyter.sh
|
|
``` |