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
848838ff
Unverified
Commit
848838ff
authored
Sep 01, 2021
by
Nicolas Hug
Committed by
GitHub
Sep 01, 2021
Browse files
Fix docstring of Caltech101 dataset (#4342)
parent
7f71e7a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
torchvision/datasets/caltech.py
torchvision/datasets/caltech.py
+4
-3
No files found.
torchvision/datasets/caltech.py
View file @
848838ff
...
@@ -18,9 +18,10 @@ class Caltech101(VisionDataset):
...
@@ -18,9 +18,10 @@ class Caltech101(VisionDataset):
root (string): Root directory of dataset where directory
root (string): Root directory of dataset where directory
``caltech101`` exists or will be saved to if download is set to True.
``caltech101`` exists or will be saved to if download is set to True.
target_type (string or list, optional): Type of target to use, ``category`` or
target_type (string or list, optional): Type of target to use, ``category`` or
``annotation``. Can also be a list to output a tuple with all specified target types.
``annotation``. Can also be a list to output a tuple with all specified
``category`` represents the target class, and ``annotation`` is a list of points
target types. ``category`` represents the target class, and
from a hand-generated outline. Defaults to ``category``.
``annotation`` is a list of points from a hand-generated outline.
Defaults to ``category``.
transform (callable, optional): A function/transform that takes in an PIL image
transform (callable, optional): A function/transform that takes in an PIL image
and returns a transformed version. E.g, ``transforms.RandomCrop``
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
target_transform (callable, optional): A function/transform that takes in the
...
...
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