MCPcopy Create free account
hub / github.com/CausalLearning/robust-unlearnable-examples / datasetCIFAR100

Function datasetCIFAR100

utils/data.py:78–80  ·  view source on GitHub ↗
(root='./path', train=True, transform=None)

Source from the content-addressed store, hash-verified

76 transform=transform, download=True)
77
78def datasetCIFAR100(root='./path', train=True, transform=None):
79 return torchvision.datasets.CIFAR100(root=root, train=train,
80 transform=transform, download=True)
81
82def datasetTinyImageNet(root='./path', train=True, transform=None):
83 if train: root = os.path.join(root, 'tiny-imagenet_train.pkl')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected