jolibrain / joliGEN

Generative AI Image Toolset with GANs and Diffusion for Real-World Applications
https://www.joligen.com
Other
236 stars 31 forks source link

chore: clamp input real images before psnr to avoid errors #665

Closed beniz closed 2 months ago

beniz commented 2 months ago

Some inputs may have slightly negative values (they shouldn't), thus failing some metrics computations.