mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
rm initial clip
This commit is contained in:
parent
79d0ba91c4
commit
a136a98a84
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ def reinhard_color_transfer(target, source, clip=False, preserve_paper=False, ta
|
|||
OpenCV image (w, h, 3) NumPy array (float32)
|
||||
"""
|
||||
|
||||
np.clip(source, 0, 1, out=source)
|
||||
np.clip(target, 0, 1, out=target)
|
||||
# np.clip(source, 0, 1, out=source)
|
||||
# np.clip(target, 0, 1, out=target)
|
||||
|
||||
# convert the images from the RGB to L*ab* color space, being
|
||||
# sure to utilizing the floating point data type (note: OpenCV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue