This repo is a basic PyTorch implementation of the Federated Learning FedAvg algorithm.
The code is adapted from GitHub-FL.
It is easy to run with:
python fedavg.py --dataset mnist --iid 0 --model mlp1 --rounds 100
You can also check ./utils/arguments.py
to personalize different parameters.