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,
Thanks for this tool. I use both pytorch_mssim.ssim and skimage.measure.compare_ssim to compute ssim, but the results are different. For example, ssim evaluation on an image sequence:
pytorch_msssim.ssim: [0.9655, 0.9500, 0.9324, 0.9229, 0.9191, 0.9154]
skimage.measure.compare_ssim: [0.97794482, 0.96226299, 0.948432, 0.9386946, 0.93113704, 0.92531453]
Why will this happen?
The text was updated successfully, but these errors were encountered:
Hi, I use the evaluation code below:
for skimage.measure.compare_ssim, I calculate ssim along each channel, then average them.
gt[t][i].shape = (b,3,h,w), value range(0,1), numpy float16
result:(0.9767,0.9038,0.8849)
for pytorch_msssim: from pytorch_msssim import ssim as ssim_func
img[opt.n_past:][t].shape = (b,3,h,w), value range(0,1), torch.cuda.FloatTensor
result:(0.9688, 0.8888, 0.8743)
Why are results still different?
Hi,
Thanks for this tool. I use both pytorch_mssim.ssim and skimage.measure.compare_ssim to compute ssim, but the results are different. For example, ssim evaluation on an image sequence:
pytorch_msssim.ssim: [0.9655, 0.9500, 0.9324, 0.9229, 0.9191, 0.9154]
skimage.measure.compare_ssim: [0.97794482, 0.96226299, 0.948432, 0.9386946, 0.93113704, 0.92531453]
Why will this happen?
The text was updated successfully, but these errors were encountered: