- the folder to store the data
-
data_preprocessing: processing tools
-
model: the folder to store the model (parent models) and training tools
-
standalone: the folder to store the different algorithms
-
client.py: the functions executed in client such as training and pruning
-
api.py: the functions executed in the server, i.e. aggregation, and the whole logic in algorithm.
-
model_trainer.py: store the class of model for corresponding algorithm
-
-
utils: the folder to store the tools for logging, FLOPS computation, etc.
- the folder to store the core functions of FedML
- main running interface for different baselines, where .sh files stored.
replace work_dir
/nfs/da-dpfl/
in config.yaml with the root of your project
/your_path_to_project/
pip3 install -r requirements.txt
sh setup_permission.sh
- sh /your_path_to_fedml/fedml_adpfl/cifar10.sh
- sh /your_path_to_fedml/fedml_dispfl/cifar10.sh