shaoxiongji / federated-learning

A PyTorch Implementation of Federated Learning http://doi.org/10.5281/zenodo.4321561
http://doi.org/10.5281/zenodo.4321561
MIT License
1.29k stars 372 forks source link

modify Fed.py #45

Open Michael112233 opened 4 months ago

Michael112233 commented 4 months ago

The samples of weights may be different. Therefore, the dict user len should be considered