rotated_mnist#
Module Contents#
Rotate MNIST and partition them. |
- class RotatedMNIST(root, path, num)#
Bases:
fedlab.contrib.dataset.basic_dataset.FedDataset
Rotate MNIST and partition them.
- Parameters:
- preprocess(thetas=[0, 90, 180, 270], download=True)#
Define the dataset partition process
- get_dataset(id, type='train')#
Get dataset class
- Parameters:
- Raises:
- get_data_loader(id, batch_size=None, type='train')#