pathological_mnist#
Module Contents#
The partition stratigy in FedAvg. See http://proceedings.mlr.press/v54/mcmahan17a?ref=https://githubhelp.com |
- class PathologicalMNIST(root, path, num_clients=100, shards=200, download=True, preprocess=False)#
Bases:
fedlab.contrib.dataset.basic_dataset.FedDataset
The partition stratigy in FedAvg. See http://proceedings.mlr.press/v54/mcmahan17a?ref=https://githubhelp.com
- Parameters:
- preprocess(download=True)#
Define the dataset partition process
- get_dataset(id, type='train')#
Load subdataset for client with client ID
cid
from local file.