I have calculated the PSNR at local machine, and below is my psnr calc code:
mse = lambda x,y: (np.sum(np.square(y - x))) / float(x.size)
psnr = lambda x,y: 10*math.log10(255. ** 2 / mse(x,y))
and I get about 31.9 PSNR, however on the leaderboard I only get 26.72.
What's the difference causing that?