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
9abf0a34
Commit
9abf0a34
authored
Apr 05, 2019
by
Ashok M
Committed by
Francisco Massa
Apr 05, 2019
Browse files
Added missing dot in image extensions (#836)
parent
6cabab3a
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 @
9abf0a34
...
@@ -139,7 +139,7 @@ class DatasetFolder(VisionDataset):
...
@@ -139,7 +139,7 @@ class DatasetFolder(VisionDataset):
return
len
(
self
.
samples
)
return
len
(
self
.
samples
)
IMG_EXTENSIONS
=
(
'.jpg'
,
'.jpeg'
,
'.png'
,
'.ppm'
,
'.bmp'
,
'.pgm'
,
'.tif'
,
'.tiff'
,
'webp'
)
IMG_EXTENSIONS
=
(
'.jpg'
,
'.jpeg'
,
'.png'
,
'.ppm'
,
'.bmp'
,
'.pgm'
,
'.tif'
,
'.tiff'
,
'
.
webp'
)
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