folder¶
- class trojanvision.datasets.CUB200(data_format='folder', memory=False, **kwargs)[source]¶
CUB200 dataset introduced by Peter Welinder in 2010. It inherits
trojanvision.datasets.ImageFolder
.See also
- class trojanvision.datasets.CUB200_2011(data_format='folder', memory=False, **kwargs)[source]¶
CUB200_2011 dataset. It inherits
trojanvision.datasets.ImageFolder
.See also
- class trojanvision.datasets.GTSRB(norm_par={'mean': [0.3403, 0.3121, 0.3214], 'std': [0.2724, 0.2608, 0.2669]}, loss_weights=True, **kwargs)[source]¶
GTSRB dataset introduced by Johannes Stallkamp in 2011. It inherits
trojanvision.datasets.ImageFolder
.See also
- class trojanvision.datasets.ImageNet(norm_par={'mean': [0.485, 0.456, 0.406], 'std': [0.229, 0.224, 0.225]}, **kwargs)[source]¶
ImageNet (ILSVRC2012) dataset introduced by Jia Deng and Feifei Li in 2012. It inherits
trojanvision.datasets.ImageFolder
.See also
torchvision:
torchvision.datasets.ImageNet
website: https://image-net.org/about.php
Note
According to https://github.com/pytorch/vision/issues/1563, You need to personally visit https://image-net.org/download-images.php to download the dataset.
Expected files:
'{self.folder_path}/ILSVRC2012_devkit_t12.tar.gz'
'{self.folder_path}/ILSVRC2012_img_train.tar'
'{self.folder_path}/ILSVRC2012_img_val.tar'
'{self.folder_path}/meta.bin'
- class trojanvision.datasets.ISIC2018(data_format='folder', memory=False, **kwargs)[source]¶
ISIC2018 dataset introduced by Noel Codella in 2018. It inherits
trojanvision.datasets.ImageFolder
.See also
- class trojanvision.datasets.VGGface2(data_format='folder', memory=False, **kwargs)[source]¶
VGGface2 dataset introduced by Qiong Cao in 2018. It inherits
trojanvision.datasets.ImageFolder
.See also
paper: VGGFace2: A dataset for recognising faces across pose and age
website (expired dead link): https://www.robots.ox.ac.uk/~vgg/data/vgg_face2