mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-05 20:42:11 -07:00
revert
This commit is contained in:
parent
6f5bccaa15
commit
d204e049d1
1 changed files with 0 additions and 2 deletions
|
@ -152,8 +152,6 @@ class SampleGeneratorFaceXSeg(SampleGeneratorBase):
|
|||
mask[mask >= 0.5] = 1.0
|
||||
mask = np.clip(mask, 0, 1)
|
||||
|
||||
img = imagelib.apply_random_overlay_triangle(img, max_alpha=0.25, mask=sd.random_circle_faded ([resolution,resolution]))
|
||||
|
||||
if np.random.randint(2) == 0:
|
||||
img = imagelib.apply_random_hsv_shift(img, mask=sd.random_circle_faded ([resolution,resolution]))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue