kennethxu

Results 5 comments of kennethxu

+1 it is a real pain now to find which branch I have missed.

Got the same problem here and after dig deeper I think I found the reason for the failure and a fix. The problem comes from the line 368 of `facelib/utils/face_restoration_helper.py`...

So based on my very limited knowledge of image processing, the `adain_npy` is trying to match the brightness and contrast of the original image. But the code that shift the...

More polished code to guarantee clamping the pixel values to bit range. ``` def adain_npy(content_feat, style_feat): """Adaptive instance normalization for numpy. Args: content_feat (numpy): The input feature. style_feat (numpy): The...