Closed lxc-love-zy closed 1 year ago
Hey at line 37 we are doing the sqrt. The last mean you see is the mean for all bands.
@chrieke can you close this? Unfortunately, I can't ....
I think RMSE is wrong. i
is not used inside the for
loop, which means that same operations are performed thrice. if you print(s)
inside the for
loop, the results is same for each channel.
I further checked with the RMSE equation np.sqrt(((img1- img2) ** 2).mean())
and sklearn.metrics.mean_squared_error
and found that these results are different than rmse
of this package.
Oh that is true, since here we still had the i
in the calculation. Not sure what removed it. Will make a PR. Thanks for the catch.
I checked the RMSE computing process and it returns a mean, but it should be np.sqrt at last.