Commit 3b450572 authored by Calvin Lee's avatar Calvin Lee Committed by Soumith Chintala
Browse files

Detect .tif files in ImageFolder (#461)

parent c9337292
...@@ -120,7 +120,7 @@ class DatasetFolder(data.Dataset): ...@@ -120,7 +120,7 @@ class DatasetFolder(data.Dataset):
return fmt_str return fmt_str
IMG_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.ppm', '.bmp', '.pgm'] IMG_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.ppm', '.bmp', '.pgm', '.tif']
def pil_loader(path): def pil_loader(path):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment