Skip to content

Commit 3b45057

Browse files
calvinleenycsoumith
authored andcommitted
Detect .tif files in ImageFolder (#461)
1 parent c933729 commit 3b45057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/folder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __repr__(self):
120120
return fmt_str
121121

122122

123-
IMG_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.ppm', '.bmp', '.pgm']
123+
IMG_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.ppm', '.bmp', '.pgm', '.tif']
124124

125125

126126
def pil_loader(path):

0 commit comments

Comments
 (0)