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
target_types
OxfordIIITPet()
target_types parameter of OxfordIIITPet() accepts the multiple same values as shown below. *It's not useful to have the multiple same elements:
from torchvision.datasets import OxfordIIITPet my_data = OxfordIIITPet( root="data", target_types=["category", "binary-category", "segmentation", "category", "binary-category", "segmentation"] ) trainval_cate_data[0] # (<PIL.Image.Image image mode=RGB size=394x500>, # (0, 0, <PIL.PngImagePlugin.PngImageFile image mode=L size=394x500>, # 0, 0, <PIL.PngImagePlugin.PngImageFile image mode=L size=394x500>))
import torchvision torchvision.__version__ # '0.20.1'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Describe the bug
target_types
parameter of OxfordIIITPet() accepts the multiple same values as shown below. *It's not useful to have the multiple same elements:Versions
The text was updated successfully, but these errors were encountered: