updated small nits (#392)

This commit is contained in:
evonneng authored and GitHub committed 2022-09-11 17:28:30 -07:00
1 parent de2cdb6cca
commit 455d7796d0
2 files changed
+14 -12

No files matched your search

+12 -10
View File
@@ -5,16 +5,16 @@ This repository is tested with CUDA 11.3. Make sure to install [Conda](https://d
<details> <details>
<summary>Installing Conda</summary> <summary>Installing Conda</summary>
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 ```bash
cd /path/to/install/miniconda cd /path/to/install/miniconda
mkdir -p miniconda3 mkdir -p miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3/miniconda.sh wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3/miniconda.sh
bash miniconda3/miniconda.sh -b -u -p miniconda3 bash miniconda3/miniconda.sh -b -u -p miniconda3
rm -rf miniconda/miniconda.sh rm -rf miniconda/miniconda.sh
``` ```
</details> </details>
@@ -29,6 +29,7 @@ Clone the repo
```bash ```bash
git clone git@github.com:plenoptix/nerfactory.git git clone git@github.com:plenoptix/nerfactory.git
cd nerfactory
``` ```
Install dependencies and nerfactory as a library Install dependencies and nerfactory as a library
@@ -38,9 +39,10 @@ python -m pip install --upgrade pip
pip install -e . 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 ```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 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**: **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) * [Installation errors, File "setup.py" not found](pip-install-error)
+2 -2
View File
@@ -345,8 +345,8 @@ class LocalWriter(Writer):
if step > 0: if step > 0:
if not self.has_printed and self.max_log_size: if not self.has_printed and self.max_log_size:
logging.info( logging.info(
"\x1b[33;20mPrinting max of %d lines. Set flag `--logging.writer.2.max-log-size=0` \ "\x1b[33;20mPrinting max of %d lines. Set flag `--logging.writer.2.max-log-size=0` "
to disable line wrapping.\x1b[0m", "to disable line wrapping.\x1b[0m",
self.max_log_size, self.max_log_size,
) )
latest_map, new_key = self._consolidate_events() latest_map, new_key = self._consolidate_events()