Skip to content

A simple federated learning implementation on MNIST dataset using PySyft. Main goal of the project was to get used to the PySyft federated learning functionality instead of using traditional PyTorch features.

License

Notifications You must be signed in to change notification settings

vivekkhimani/federated_learning_pysyft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing Federated Learning using PySyft

Basics:

  • Dataset - MNIST
  • Number of Workers - 32
  • Classification Model - CNN (see the details in models directory)
  • Tools Used - PySyft, PyTorch

Instructions:

  • Prerequisite: python3, pip3, pysyft, pytorch
  • RUN: "main_fed.py"
  • To edit the basic characteristics of the model, check "/utils/Arguments.py". No CLI has been provided for now.
  • To edit the classification model, check "/models/CNN.py"

Future Work:

  • Add a CLI to make the process of editing the arguments easier.
  • Facilitate training by selecting a subset of workers instead of using all the workers.

About

A simple federated learning implementation on MNIST dataset using PySyft. Main goal of the project was to get used to the PySyft federated learning functionality instead of using traditional PyTorch features.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages