Difference between psnr
calculation in torchmetrics
and piq
#1843
Replies: 2 comments
-
I've also asked a similar question over at photosynthesis-team/piq. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nevermind. They first scale the tensors to [0, 1] making the first part of the subtraction 0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Recently I've switched from using the
piq
for my metrics totorchmetrics
.After this switch, I've noticed that the reported
psnr
somehow turned negative.After investigating I've found the reason:
Here it can be seen that
piq
computes thepsnr
without the first part of the subtraction (compare with the torchmetrics implementation.What is the reason for this difference?
Beta Was this translation helpful? Give feedback.
All reactions