mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-10-03 08:16:49 +02:00
Restore RGB normalization
This commit is contained in:
1 parent
6eff69a41a
commit
a951d700fc
2 files changed
+2
-2
No files matched your search
@@ -28,5 +28,5 @@ class StaticDataset(Dataset[Tensor]):
|
||||
transforms.Resize((112, 112), interpolation = transforms.InterpolationMode.BICUBIC),
|
||||
transforms.ColorJitter(brightness = 0.2, contrast = 0.2, saturation = 0.2, hue = 0.1),
|
||||
transforms.ToTensor(),
|
||||
transforms.Normalize(0.5, 0.5)
|
||||
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
|
||||
])
|
||||
Reference in new issue
Block a user