Update Instant-NGP & Density Grid with CUDA supports. Much faster and better PSNR. (#193)

This commit is contained in:
Ruilong Li(李瑞龙) authored and GitHub committed 2022-07-24 22:22:44 -07:00
1 parent 31b52ae186
commit 12cd321e1a
39 files changed
+1721 -650

No files matched your search

+1 -1
View File
@@ -43,4 +43,4 @@ class Callback:
step (int): current iteration step
"""
if step % self.update_every_num_iters == 0:
self.func(*self.args, **self.kwargs)
self.func(*self.args, **self.kwargs, step=step)
+1
View File
@@ -15,6 +15,7 @@
""" Helper functions for visualizing outputs """
from typing import Optional
import torch
from matplotlib import cm
from torchtyping import TensorType