Skip to content

Commit 4f736ee

Browse files
committed
Added tif extension
1 parent d086e02 commit 4f736ee

File tree

1 file changed

+1
-1
lines changed
  • pytorch_toolbelt/utils

1 file changed

+1
-1
lines changed

pytorch_toolbelt/utils/fs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def has_image_ext(fname: str):
1212
name, ext = os.path.splitext(fname)
13-
return ext.lower() in {'.bmp', '.png', '.jpeg', '.jpg', '.tiff'}
13+
return ext.lower() in {'.bmp', '.png', '.jpeg', '.jpg', '.tiff', 'tif'}
1414

1515

1616
def find_in_dir(dirname: str):

0 commit comments

Comments
 (0)