mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-23 08:05:28 +08:00
update benchmarking; add clip to mipnerf lpips
This commit is contained in:
1 parent
d0f0f8da2d
commit
39b67e6fe9
2 files changed
+3
-5
No files matched your search
@@ -173,7 +173,7 @@ class MipNerfGraph(Graph):
|
||||
coarse_psnr = self.psnr(image, rgb_coarse)
|
||||
fine_psnr = self.psnr(image, rgb_fine)
|
||||
fine_ssim = self.ssim(image, rgb_fine)
|
||||
fine_lpips = self.lpips(image, rgb_fine)
|
||||
fine_lpips = self.lpips(image, torch.clip(rgb_fine, min=-1, max=1))
|
||||
|
||||
writer.put_scalar(name=f"psnr/val_{image_idx}-coarse", scalar=float(coarse_psnr), step=step)
|
||||
writer.put_scalar(name=f"psnr/val_{image_idx}-fine", scalar=float(fine_psnr), step=step)
|
||||
|
||||
Reference in new issue
Block a user