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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Recently I've switched from using the
piqfor my metrics totorchmetrics.After this switch, I've noticed that the reported
psnrsomehow turned negative.After investigating I've found the reason:
Here it can be seen that
piqcomputes thepsnrwithout 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