Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DAR-3695][External] Handle exif data when loading images during training #924

Merged

Conversation

dorfmanrobert
Copy link
Contributor

@dorfmanrobert dorfmanrobert commented Sep 3, 2024

Problem

During model training (and inference), for files whose pixels do not correspond to their EXIF rotation metadata, the images are loaded without adjusting according to this metadata.

Solution

During training (and inference) apply the orientation if present.

Changelog

In Torch Dataloaders, reorient images according to EXIF rotation metadata if present.

Copy link

linear bot commented Sep 3, 2024

@dorfmanrobert dorfmanrobert changed the title handle exif data when loading images during training [DAR-3695][Internal] Handle exif data when loading images during training Sep 3, 2024
@dorfmanrobert dorfmanrobert changed the title [DAR-3695][Internal] Handle exif data when loading images during training [DAR-3695][External] Handle exif data when loading images during training Sep 3, 2024
@dorfmanrobert dorfmanrobert merged commit c0888e1 into master Sep 3, 2024
24 checks passed
@dorfmanrobert dorfmanrobert deleted the dar-3695-add-image-orientation-in-local-dataset branch September 3, 2024 10:38
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