mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2024-03-22 13:10:55 +08:00
revert for more tests
This commit is contained in:
parent
e53d1b1820
commit
87030bdcdf
|
@ -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]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user