mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
debug
This commit is contained in:
parent
252e581499
commit
4461129ca1
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ def lab_image_stats(image, mask=None):
|
||||||
|
|
||||||
|
|
||||||
def _scale_array(l, a, b, clip=True):
|
def _scale_array(l, a, b, clip=True):
|
||||||
|
print('l*a*b*:', l, a, b)
|
||||||
if clip:
|
if clip:
|
||||||
return np.clip(l, 0, 100), np.clip(a, -127, 127), np.clip(b, -127, 127)
|
return np.clip(l, 0, 100), np.clip(a, -127, 127), np.clip(b, -127, 127)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue