Skip to content

A basic PyTorch implementation of the Federated Learning FedAvg algorithm.

Notifications You must be signed in to change notification settings

DCN-FAU-AvH/FL-FedAvg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages