Fixes for dataloader

This commit is contained in:
Jaret Burkett committed 2023-08-31 04:54:10 -06:00
1 parent addf024630
commit 4ca819a05e
2 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -251,8 +251,8 @@ class ImageProcessingDTOMixin:
transform: Union[None, transforms.Compose]
):
# todo make sure this matches
img = Image.open(self.path).convert('RGB')
try:
img = Image.open(self.path).convert('RGB')
img = exif_transpose(img)
except Exception as e:
print(f"Error: {e}")