mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-06-25 07:59:55 +02:00
Add HorizontalFlip to AugmentTransform
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Face Swapper
|
||||
============
|
||||
|
||||
> Face shape and feature aware identity transfer.
|
||||
> Face shape and occlusion aware identity transfer.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -84,12 +84,13 @@ class AugmentTransform:
|
||||
def compose_transforms() -> albumentations.Compose:
|
||||
return albumentations.Compose(
|
||||
[
|
||||
albumentations.RandomBrightnessContrast(p = 0.3),
|
||||
albumentations.HorizontalFlip(),
|
||||
albumentations.OneOf(
|
||||
[
|
||||
albumentations.MotionBlur(p = 0.1),
|
||||
albumentations.MedianBlur(p = 0.1)
|
||||
], p = 0.3),
|
||||
albumentations.RandomBrightnessContrast(p = 0.3),
|
||||
albumentations.ColorJitter(p = 0.1)
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user