We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transforms
OxfordIIITPet()
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) ...
Parameters:
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) ...
The text was updated successfully, but these errors were encountered:
Thanks for the report @hyperkai , please feel free to submit a PR for this
Sorry, something went wrong.
docs: add transforms in OxfordIIITPet. (fix pytorch#8812 )
OxfordIIITPet
9521981
Successfully merging a pull request may close this issue.
📚 The doc issue
The doc of
OxfordIIITPet()
says there istransforms
parameter as shown below:But
transforms
parameter isn't explained as shown below:Suggest a potential alternative/fix
So,
transforms
parameter should be explained as shown below:The text was updated successfully, but these errors were encountered: