-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Range in MS-SSIM-Loss #39
Comments
DR does not mean the ratio between the maximum and minimum possible values of a given image (in that case, it would be akin to the bit depth). DR is just the ratio between the max and min pixel values. This, in the case of VAEs, depend upon the activation used. If sigmoid is used, the DR is indeed 1.0. However, if activation used is tanh, then DR is 2.0 (1.0 - (-1.0)). |
But in the following line (234 of mssim_vae.py) |
Nice catch. I agree that the |
Fixed in #46 |
Why do you compute the dynamic range in the MS-SSIM VAE from the data range of the reconstructed images. If I understand the original SSIM paper correctly, the dynamic range should be the largest values that the images might assume (e.g. 1.0)?
The text was updated successfully, but these errors were encountered: