Skip to content

cibaca/federated-learning-on-raspberry-pi

 
 

Repository files navigation

PyTorch Robotics logo

Federated Learning with Raspberry PI (PySyft)

Scholars from the Secure and Private AI Scholarship Challenge by Facebook AI and Udacity working together to implement this tutorial by Daniele Gadler from OpenMined.

We will set up PySyft on two Raspberry Pis and learn how to train a Recurrent Neural Network on a Raspberry Pi via PySyft.

Would you like to learn more about Secure and Private AI? Join this free course from Udacity here


Purpose of the project

The purpose of using federated learning on a Raspberry Pi (RPI) is to build the model on the device so that data does not have to be moved to a centralized server. In addition to increased privacy, FL works well for Internet-of-Things applications because training can be done on the device instead of having to pass data between devices and a centralized server.

This project, which implements the OpenMined tutorial simulates the process using 2 RPIs to classify a person's surname with its most likely language of origin.

Read more about this here in the article written by Jess


Federated learning?

Would you like to know more about to federated learning? Look no further! Our team has prepared a few articles to get you up to speed:

All these articles can also be found here in our Wiki section.


Raspberry Pi?

Would you like to know what parts are needed and how to get started? Have a look at these articles written by the team:

All these articles can also be found here in our Wiki section.


Stuck on a problem?

Do not worry, we have it all covered for you. Head over to the troubleshooting section here


Implementations of the project

Have a look here to see the implementation of the project in different ways:


Code

  • Find the code and dataset for the project here.
  • Char RNN Names Classification by Nirupama Sing - Check the slides here

Shortcut to command line

Want a quick guide for the command line commands used? Have a look here.


Topics


Project leads

Contributors/Team

About

Federated Learning with Raspberry PI (PySyft)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%