cifair100
load_data
¶
Load and return the ciFAIR100 dataset.
This is the cifar100 dataset but with test set duplicates removed and replaced. See https://arxiv.org/pdf/1902.00423.pdf or https://cvjena.github.io/cifair/ for details. Cite the paper if you use the dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root_dir |
str
|
The path to store the downloaded data. When |
None
|
image_key |
str
|
The key for image. |
'x'
|
label_key |
str
|
The key for label. |
'y'
|
Returns:
Type | Description |
---|---|
Tuple[NumpyDataset, NumpyDataset]
|
(train_data, test_data) |