You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi this bug fix enables correct behavior, but now the documentation is not consistent with the source paper. In the source paper the ratio is <1 the way it is stated here it is supposed to be >1. I do not think this is a issue, but maybe noteworthy in the documentation.
馃悰 Bug
It should be divided by the
ratio
, rather than multiplied by theratio
, otherwise it will amplify the correct indicator by the square of theratio
.torchmetrics/src/torchmetrics/functional/image/ergas.py
Line 82 in ca7c8eb
For reference, below is a correct implementation by matlab:
https://github.com/liangjiandeng/DLPan-Toolbox/blob/main/02-Test-toolbox-for-traditional-and-DL(Matlab)/Quality_Indices/ERGAS.m#L32
The text was updated successfully, but these errors were encountered: