Instant-ngp fuse encoding with network (#171)

Instant-ngp fuse encoding with network
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-07-18 15:37:27 -07:00
1 parent 3df29717dd
commit 7c9b837ba9
4 files changed
+19 -25

No files matched your search

+2 -2
View File
@@ -157,8 +157,8 @@ class NGPGraph(Graph):
writer.put_image(name=f"accumulation/image_idx_{image_idx}", image=combined_acc, step=step)
writer.put_image(name=f"depth/image_idx_{image_idx}", image=combined_depth, step=step)
depth = visualization.apply_depth_colormap(outputs["depth_occupancy_grid"])
writer.put_image(name=f"depth_occupancy_grid/image_idx_{image_idx}", image=combined_depth, step=step)
occupancy_depth = visualization.apply_depth_colormap(outputs["depth_occupancy_grid"])
writer.put_image(name=f"depth_occupancy_grid/image_idx_{image_idx}", image=occupancy_depth, step=step)
# Switch images from [H, W, C] to [1, C, H, W] for metrics computations
image = torch.moveaxis(image, -1, 0)[None, ...]