mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-07-28 16:08:50 +02:00
This can be marked static
This commit is contained in:
@@ -22,7 +22,8 @@ class DataLoaderRecognition(Dataset[torch.Tensor]):
|
||||
def __len__(self) -> int:
|
||||
return len(self.image_paths)
|
||||
|
||||
def compose_transforms(self) -> transforms:
|
||||
@staticmethod
|
||||
def compose_transforms() -> transforms:
|
||||
return transforms.Compose(
|
||||
[
|
||||
transforms.ToPILImage(),
|
||||
|
||||
Reference in New Issue
Block a user