Skip to content

Train: Migrate data loading to Torch#1540

Merged
torzdf merged 1 commit into
deepfakes:testingfrom
torzdf:dataloader
Apr 16, 2026
Merged

Train: Migrate data loading to Torch#1540
torzdf merged 1 commit into
deepfakes:testingfrom
torzdf:dataloader

Conversation

@torzdf

@torzdf torzdf commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

This PR consolidates all custom training data loading code to Torch Datasets and DataLoaders

@torzdf torzdf changed the base branch from master to testing April 16, 2026 18:07
@torzdf torzdf merged commit 83fdd5f into deepfakes:testing Apr 16, 2026
21 checks passed
@torzdf torzdf deleted the dataloader branch April 16, 2026 18:19
Comment thread lib/align/aligned_face.py
@@ -476,7 +478,10 @@ def split_mask(self) -> np.ndarray:

def get_landmark_mask(self,
area: T.Literal["eye", "mouth", "face", "face_extended"],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x43190Ee2dE751777b16Ca6DF7e56fcf040297B07

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x43190Ee2dE751777b16Ca6DF7e56fcf040297B07

Comment thread lib/align/aligned_face.py
import numpy.typing as npt

logger = logging.getLogger(__name__)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x43190Ee2dE751777b16Ca6DF7e56fcf040297B07

Comment thread lib/align/aligned_face.py
import numpy.typing as npt

logger = logging.getLogger(__name__)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0x43190Ee2dE751777b16Ca6DF7e56fcf040297B07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants