Skip to content
Federated Learning with Raspberry PI (PySyft)
Jupyter Notebook
Branch: master
Clone or download
Latest commit 99bf3da Aug 19, 2019

README.md

PyTorch Robotics logo

Federated Learning with Raspberry PI (PySyft)

We are a group of scholars in the study group PyTorch Robotics 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.


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:


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:


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
  • Slides: Char RNN Names Classification - Check the slides here
  • What does it mean to train a Neural Network? Read article here

Shortcut to command line

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


Topics


Project leads

Contributors/Team


More information

  • For more articles, resources and links visit our wiki section here
  • Read this article about the shared experiences from three participants of the group: Virtual Team Experiences — Project Showcase Challenge
  • Future implementations of the project - Read our suggestions here
  • Jetson Nano: Setup for Federated Learning - Read more about this setup here
  • Would you like to learn more about Secure and Private AI? Join this free course from Udacity here
  • Join OpenMined Slack here
  • PyTorch Robotics logo designed by Alex Ahumada
You can’t perform that action at this time.