Skip to content

Conversation

@luyuxuan98
Copy link
Contributor

SSIMLoss previously passed [0,1]-scaled tensors directly into _ssim_map_pth. However, the SSIM calculation inside uses c1 and c2 constants defined with 255 scaling, leading to a mismatch.

SSIMLoss previously passed [0,1]-scaled tensors directly into
_ssim_map_pth. However, the SSIM calculation inside uses c1 and
c2 constants defined with 255 scaling, leading to a mismatch.
@Srameo Srameo merged commit e07c90d into Srameo:main Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants