Skip to content

Commit

Permalink
update readme (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
daili0015 authored Aug 31, 2022
1 parent 8f4d329 commit 200f0e9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN cd pytorch3d && pip install -e . && \
pip cache purge

# Install tcnn
RUN git clone --recurse-submodules https://github.com/NVlabs/tiny-cuda-nn.git
RUN git clone --recursive https://github.com/nvlabs/tiny-cuda-nn
RUN cd tiny-cuda-nn/bindings/torch
RUN python setup.py install

2 changes: 1 addition & 1 deletion docs/en/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ conda activate xrnerf

* Install ```tcnn``` using
```shell
git clone --recurse-submodules https://gitclone.com/github.com/NVlabs/tiny-cuda-nn.git
git clone --recursive https://github.com/nvlabs/tiny-cuda-nn
cd tiny-cuda-nn/bindings/torch
python setup.py install
```
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ conda activate xrnerf

* 通过以下命令,安装 ```tcnn```
```shell
git clone --recurse-submodules https://gitclone.com/github.com/NVlabs/tiny-cuda-nn.git
git clone --recursive https://github.com/nvlabs/tiny-cuda-nn
cd tiny-cuda-nn/bindings/torch
python setup.py install
```
Expand Down
3 changes: 0 additions & 3 deletions xrnerf/models/networks/nerf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ def val_step(self, data, optimizer=None, **kwargs):
for i in tqdm(range(poses.shape[0])):
start = time.time()
data = self.val_pipeline({'pose': poses[i]})
for k in data:
print(k, data[k].shape)
exit(0)
ret = self.batchify_forward(
data, is_test=True) # 测试时 raw_noise_std=False
end = time.time()
Expand Down

0 comments on commit 200f0e9

Please sign in to comment.