From 87030bdcdfdf226dbcd6d0039533bad8b5dfceaa Mon Sep 17 00:00:00 2001 From: iperov Date: Tue, 27 Apr 2021 19:22:11 +0400 Subject: [PATCH] revert for more tests --- samplelib/SampleGeneratorFaceXSeg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samplelib/SampleGeneratorFaceXSeg.py b/samplelib/SampleGeneratorFaceXSeg.py index a1276f7..6eb29cf 100644 --- a/samplelib/SampleGeneratorFaceXSeg.py +++ b/samplelib/SampleGeneratorFaceXSeg.py @@ -154,8 +154,8 @@ class SampleGeneratorFaceXSeg(SampleGeneratorBase): mask[mask >= 0.5] = 1.0 mask = np.clip(mask, 0, 1) - if np.random.randint(4) < 3: - img = imagelib.apply_random_relight(img) + #if np.random.randint(4) < 3: + # img = imagelib.apply_random_relight(img) if np.random.randint(2) == 0: img = imagelib.apply_random_hsv_shift(img, mask=sd.random_circle_faded ([resolution,resolution]))