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
70ed29d0
Unverified
Commit
70ed29d0
authored
Dec 07, 2020
by
Robert-Jan Bruintjes
Committed by
GitHub
Dec 07, 2020
Browse files
DatasetFolder: change documentation to include files in subfolders. (#3131)
parent
d3d39367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
torchvision/datasets/folder.py
torchvision/datasets/folder.py
+4
-4
No files found.
torchvision/datasets/folder.py
View file @
70ed29d0
...
@@ -85,11 +85,11 @@ class DatasetFolder(VisionDataset):
...
@@ -85,11 +85,11 @@ class DatasetFolder(VisionDataset):
root/class_x/xxx.ext
root/class_x/xxx.ext
root/class_x/xxy.ext
root/class_x/xxy.ext
root/class_x/xxz.ext
root/class_x/
[...]/
xxz.ext
root/class_y/123.ext
root/class_y/123.ext
root/class_y/nsdf3.ext
root/class_y/nsdf3.ext
root/class_y/asd932_.ext
root/class_y/
[...]/
asd932_.ext
Args:
Args:
root (string): Root directory path.
root (string): Root directory path.
...
@@ -211,11 +211,11 @@ class ImageFolder(DatasetFolder):
...
@@ -211,11 +211,11 @@ class ImageFolder(DatasetFolder):
root/dog/xxx.png
root/dog/xxx.png
root/dog/xxy.png
root/dog/xxy.png
root/dog/xxz.png
root/dog/
[...]/
xxz.png
root/cat/123.png
root/cat/123.png
root/cat/nsdf3.png
root/cat/nsdf3.png
root/cat/asd932_.png
root/cat/
[...]/
asd932_.png
Args:
Args:
root (string): Root directory path.
root (string): Root directory 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