Open xyfJASON opened 2 weeks ago
When calculating SSIM, e.g., here:
ssim = ssim_loss(rgb_restored, rgb_gt, multichannel=True, data_range=2.0, channel_axis=-1)
The argument data_range is set to 2.0, but the value of rgb_restored and rgb_gt are actually between [0,1], as indicated by the code above this line. Is there a particular reason for setting data_range to 2.0?
data_range
rgb_restored
rgb_gt
When calculating SSIM, e.g., here:
The argument
data_range
is set to 2.0, but the value ofrgb_restored
andrgb_gt
are actually between [0,1], as indicated by the code above this line. Is there a particular reason for settingdata_range
to 2.0?