Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An implementation of the FedAvg algorithm

This repo is a basic PyTorch implementation of the Federated Learning FedAvg algorithm.

The code is adapted from GitHub-FL.

Run

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.

Example results

results

About

A basic PyTorch implementation of the Federated Learning FedAvg algorithm.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages