Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
1f8f7ea7
"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "69226588a523761a790b19679fbce6bba766ff30"
Commit
1f8f7ea7
authored
Jan 25, 2019
by
lhenault
Committed by
Francisco Massa
Jan 25, 2019
Browse files
Add support for .TIFF files in ImageFolder (#724)
parent
98ca260b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/datasets/folder.py
torchvision/datasets/folder.py
+1
-1
No files found.
torchvision/datasets/folder.py
View file @
1f8f7ea7
...
@@ -151,7 +151,7 @@ class DatasetFolder(data.Dataset):
...
@@ -151,7 +151,7 @@ class DatasetFolder(data.Dataset):
return
fmt_str
return
fmt_str
IMG_EXTENSIONS
=
[
'.jpg'
,
'.jpeg'
,
'.png'
,
'.ppm'
,
'.bmp'
,
'.pgm'
,
'.tif'
]
IMG_EXTENSIONS
=
[
'.jpg'
,
'.jpeg'
,
'.png'
,
'.ppm'
,
'.bmp'
,
'.pgm'
,
'.tif'
,
'.tiff'
]
def
pil_loader
(
path
):
def
pil_loader
(
path
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment