mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-06 15:59:16 +08:00
added psnr to the local writer prints of ngp
This commit is contained in:
1 parent
201f85a175
commit
fb63bb543f
1 file changed
+2
@@ -162,4 +162,6 @@ class NGPGraph(Graph):
|
|||||||
writer.put_scalar(name=f"ssim/val_{image_idx}", scalar=float(ssim), step=step)
|
writer.put_scalar(name=f"ssim/val_{image_idx}", scalar=float(ssim), step=step)
|
||||||
writer.put_scalar(name=f"lpips/val_{image_idx}", scalar=float(lpips), step=step)
|
writer.put_scalar(name=f"lpips/val_{image_idx}", scalar=float(lpips), step=step)
|
||||||
|
|
||||||
|
writer.put_scalar(name=writer.EventName.CURR_TEST_PSNR, scalar=float(psnr), step=step)
|
||||||
|
|
||||||
return psnr.item()
|
return psnr.item()
|
||||||
Reference in new issue
Block a user