mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 02:19:47 +08:00
improve memory consumption by clearing cache + move image to cpu (#412)
* reduced mem on train; figuring out memory leak on visualizer * steadily below 10G memory * cpu loading image * update docstrings * added scrolling * Revert "update docstrings" This reverts commita914387cf8. * Revert "Revert "update docstrings"" This reverts commit177c3dd6f1. * Revert "added scrolling" This reverts commitf37351ee7f.
This commit is contained in:
1 parent
54f7affe02
commit
4801a99b2a
11 files changed
+22
-12
No files matched your search
@@ -196,7 +196,7 @@ class TensoRFModel(Model):
|
||||
return loss_dict
|
||||
|
||||
def log_test_image_outputs(self, image_idx, step, batch, outputs):
|
||||
image = batch["image"]
|
||||
image = batch["image"].to(outputs["rgb"].device)
|
||||
rgb = outputs["rgb"]
|
||||
acc = visualization.apply_colormap(outputs["accumulation"])
|
||||
depth = visualization.apply_depth_colormap(
|
||||
|
||||
Reference in new issue
Block a user