"...text-generation-inference.git" did not exist on "a6c18c39bb9431e6d3aba407f1d30eb43d82c04d"
Unverified Commit 848838ff authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Fix docstring of Caltech101 dataset (#4342)

parent 7f71e7a0
......@@ -18,9 +18,10 @@ class Caltech101(VisionDataset):
root (string): Root directory of dataset where directory
``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
``annotation``. Can also be a list to output a tuple with all specified target types.
``category`` represents the target class, and ``annotation`` is a list of points
from a hand-generated outline. Defaults to ``category``.
``annotation``. Can also be a list to output a tuple with all specified
target types. ``category`` represents the target class, and
``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
and returns a transformed version. E.g, ``transforms.RandomCrop``
target_transform (callable, optional): A function/transform that takes in the
......
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