A horizontally FL image classification demo in book Practicing Federated Learning Chapter 3.
Performance comparison between FL model and centralized training model:
In order to obtain the centralized training result, just modify the following parameters in utils/config.json
:
- "no_models": 1
- "k": 1
- "local_epochs": 1
More details please refer to - Practicing Federated Learning GitHub Repository