mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
added logger ability to log everything without erasing
This commit is contained in:
1 parent
1817d1cf9d
commit
bbfe815504
5 files changed
+72
-36
No files matched your search
@@ -212,4 +212,4 @@ class NerfWGraph(NeRFGraph):
|
||||
row2 = torch.cat([depth_fine, depth_fine_static, depth_coarse], dim=-2)
|
||||
combined_image = torch.cat([row0, row1, row2], dim=-3)
|
||||
|
||||
writer.put_scalar(name="image_idx_{image_idx}-nerfw", image=combined_image, step=step, group="img")
|
||||
writer.put_image(name="image_idx_{image_idx}-nerfw", image=combined_image, step=step, group="img")
|
||||
@@ -251,6 +251,6 @@ class NeRFGraph(Graph):
|
||||
writer.put_scalar(name=f"val_{image_idx}", scalar=float(fine_ssim), step=step, group="ssim")
|
||||
writer.put_scalar(name=f"val_{image_idx}", scalar=float(fine_lpips), step=step, group="lpips")
|
||||
|
||||
writer.put_scalar(name="Test PSNR", scalar=float(fine_psnr), step=step)
|
||||
writer.put_scalar(name=writer.EventName.CURR_TEST_PSNR, scalar=float(fine_psnr), step=step)
|
||||
|
||||
return fine_psnr.item()
|
||||
Reference in new issue
Block a user