-
Notifications
You must be signed in to change notification settings - Fork 7.2k
transforms parameter of OxfordIIITPet() isn't explained #8812
Copy link
Copy link
Closed
Description
📚 The doc issue
The doc of OxfordIIITPet() says there is transforms parameter as shown below:
class classtorchvision.datasets.OxfordIIITPet(..., target_types: Union[Sequence[str], str] = 'category', transforms: Optional[Callable] = None, transform: Optional[Callable] = None, ...)
But transforms parameter isn't explained as shown below:
Parameters:
- root (str or pathlib.Path) ...
- split (string, optional) ...
- target_types (string, sequence of strings, optional) ...
- transform (callable, optional) ...
- target_transform (callable, optional) ...
- download (bool, optional) ...
Suggest a potential alternative/fix
So, transforms parameter should be explained as shown below:
Parameters:
- root (str or pathlib.Path) ...
- split (string, optional) ...
- target_types (string, sequence of strings, optional) ...
- transforms <- Here
- transform (callable, optional) ...
- target_transform (callable, optional) ...
- download (bool, optional) ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels