digicatapult / dc-federated

A python library for federated learning supporting consortium scale deployment.
Apache License 2.0
8 stars 8 forks source link

Add server-port option to FedAvgServer and the two examples #4

Closed hassan-digicatapult closed 3 years ago

hassan-digicatapult commented 3 years ago

name: Add server-port option to FedAvgServer and the two example about:

Summary

The current implementation of FedAvg does not allow the caller to specify the server port which seems like an unnecessary limitation. This PR fixes that issue. This also requires updating the server script for the two examples MNIST and PlantVillage.

Motivation

Improve usability of the FedAvg algorithm.

Describe alternatives you've considered

Leaving it as it is, which is limiting.

Additional context

N/A.