mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
disable debugging
This commit is contained in:
parent
be5585a3b4
commit
069ab6391e
1 changed files with 4 additions and 4 deletions
|
@ -158,10 +158,10 @@ def _scale_array(l, a, b, clip=True):
|
||||||
# return (arr - np.min(arr)) / np.ptp(arr)
|
# return (arr - np.min(arr)) / np.ptp(arr)
|
||||||
l_min, a_min, b_min = np.min(l), np.min(a), np.min(b)
|
l_min, a_min, b_min = np.min(l), np.min(a), np.min(b)
|
||||||
l_ptp, a_ptp, b_ptp = np.ptp(l), np.ptp(a), np.ptp(b)
|
l_ptp, a_ptp, b_ptp = np.ptp(l), np.ptp(a), np.ptp(b)
|
||||||
l_max, a_max, b_max = np.max(l), np.max(a), np.max(b)
|
# l_max, a_max, b_max = np.max(l), np.max(a), np.max(b)
|
||||||
print('l*a*b* min:', l_min, a_min, b_min)
|
# print('l*a*b* min:', l_min, a_min, b_min)
|
||||||
print('l*a*b* ptp:', l_ptp, a_ptp, b_ptp)
|
# print('l*a*b* ptp:', l_ptp, a_ptp, b_ptp)
|
||||||
print('l*a*b* max:', l_max, a_max, b_max)
|
# print('l*a*b* max:', l_max, a_max, b_max)
|
||||||
|
|
||||||
l -= min(l_min, 0)
|
l -= min(l_min, 0)
|
||||||
a -= min(a_min, 0)
|
a -= min(a_min, 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue