mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-06 15:59:16 +08:00
Instant-ngp fuse encoding with network (#171)
Instant-ngp fuse encoding with network
This commit is contained in:
1 parent
3df29717dd
commit
7c9b837ba9
4 files changed
+19
-25
No files matched your search
@@ -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, ...]
|
||||
|
||||
Reference in new issue
Block a user