diff --git a/docs/tutorials/quickstart.md b/docs/tutorials/quickstart.md index 26f176670..5f60bc2f2 100644 --- a/docs/tutorials/quickstart.md +++ b/docs/tutorials/quickstart.md @@ -5,16 +5,16 @@ This repository is tested with CUDA 11.3. Make sure to install [Conda](https://d
Installing Conda - This step is fairly self-explanatory, but here are the basic steps. You can also find countless tutorials online. +This step is fairly self-explanatory, but here are the basic steps. You can also find countless tutorials online. - ```bash - cd /path/to/install/miniconda +```bash +cd /path/to/install/miniconda - mkdir -p miniconda3 - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3/miniconda.sh - bash miniconda3/miniconda.sh -b -u -p miniconda3 - rm -rf miniconda/miniconda.sh - ``` +mkdir -p miniconda3 +wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3/miniconda.sh +bash miniconda3/miniconda.sh -b -u -p miniconda3 +rm -rf miniconda/miniconda.sh +```
@@ -29,6 +29,7 @@ Clone the repo ```bash git clone git@github.com:plenoptix/nerfactory.git +cd nerfactory ``` Install dependencies and nerfactory as a library @@ -38,9 +39,10 @@ python -m pip install --upgrade pip pip install -e . ``` -Install tiny-cuda-nn (tcnn) to use with the graph_instant_ngp.yaml config +Install tiny-cuda-nn (tcnn) to run instant_ngp ```bash +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 ``` @@ -115,7 +117,7 @@ While installing tiny-cuda, you run into: `The detected CUDA version mismatches **Solution**: ``` -pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html +pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html ``` * [Installation errors, File "setup.py" not found](pip-install-error) diff --git a/nerfactory/utils/writer.py b/nerfactory/utils/writer.py index 2de5e7665..79d17dd48 100644 --- a/nerfactory/utils/writer.py +++ b/nerfactory/utils/writer.py @@ -345,8 +345,8 @@ class LocalWriter(Writer): if step > 0: if not self.has_printed and self.max_log_size: logging.info( - "\x1b[33;20mPrinting max of %d lines. Set flag `--logging.writer.2.max-log-size=0` \ - to disable line wrapping.\x1b[0m", + "\x1b[33;20mPrinting max of %d lines. Set flag `--logging.writer.2.max-log-size=0` " + "to disable line wrapping.\x1b[0m", self.max_log_size, ) latest_map, new_key = self._consolidate_events()