mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-10-03 08:16:49 +02:00
This can be marked static
This commit is contained in:
1 parent
9bd68c3d14
commit
da51c5336d
2 files changed
+4
-2
No files matched your search
@@ -39,7 +39,8 @@ class DataLoader(TensorDataset):
|
||||
image_path_set[directory_path] = image_paths
|
||||
return image_paths, image_path_set
|
||||
|
||||
def compose_transforms(self) -> transforms:
|
||||
@staticmethod
|
||||
def compose_transforms() -> transforms:
|
||||
return transforms.Compose(
|
||||
[
|
||||
transforms.ToPILImage(),
|
||||
|
||||
Reference in new issue
Block a user