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.
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
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:
- Federated Learning On Raspberry Pi
- Federated Learning: An Overview
- Federated Learning on Raspberry Pi
- The Complete Beginners Guide to Federated Learning With LSTM With Pytorch
Would you like to know what parts are needed and how to get started? Have a look at these articles written by the team:
- A Step by Step guide to installing PyTorch in Raspberry Pi
- Connecting Raspberry Pi to the Internet
- First Steps with your Raspberry Pi
- Federated Learning of a Recurrent Neural Network for text classification, with Raspberry Pis working as remote workers
- Getting started with Raspberry Pi — Install Raspian on your Raspberry Pi using Windows
- Setup guide - What parts are needed for federated learning on Raspberry Pi?
- Project Equipment Setup
- A Step by Step guide to installing PySyft in Raspberry Pi
- Getting started with Raspberry Pi — Set up Raspberry Pi in headless mode using Windows
- Installing Raspberry Pi on Virtual Machine
- Setting Static IP address for Raspberry Pi
Do not worry, we have it all covered for you. Head over to the troubleshooting section here
Have a look here to see the implementation of the project in different ways:
- Process to run the project - Elena Kutanov
- Process to run the project - Sergio Valderrama
- PyTorch V1.0.0 Wheel file - Suparna S Nair
- Implementation of the code and guide - Alejandro Ahumada
- Implementation of the code using Nigerian surnames - Temitope Oladokun
- Shivams journey - Shivam Raisharma
- Implementing Federated learning on CIFAR10 Dataset - Ebinbin Ajagun
- Classifying names with a character-level RNN - Nirupama Singh
- Federated learning FashionMNIST - Sushil Ghimire
- Federated learning with LSTM - Ivoline Ngong
- 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
Want a quick guide for the command line commands used? Have a look here
- Helena Barmer - @Helena Barmer
- Shashi Gharti - @Shashi Gharti
- Jess - @Jess
- Nirupama Singh - @Nirupama Singh
- Pooja Vinod - @Pooja Vinod
- Alex Ahumada - @Alex Ahumada
- Elena Kutanov - @Elena Kutanov
- Ayesha Manzur - @Ayesha Manzur
- Ivoline Ngong - @Ivy
- Joyce Chidiadi - @Joyce
- Temitope Oladokun - @Temitope Oladokun
- Shivam Raisharma - @Shivam Raisharma
- Sankalp Dayal - @Sankalp Dayal
- Sushil Ghimire - @Sushil Ghimire
- Juan Carlos Kuri Pinto - @Juan Carlos Kuri Pinto
- Ebinbin Ajagun - @Ebinbin Ajagun
- Suparna S Nair - @Suparna S Nair
- Sayed Maheen Basheer - @Sayed Maheen Basheer
- Sergio Valderrama - @Sergio Valderrama
- Stanislav Ladyzhenskiy - @Stanislav Ladyzhenskiy
- Mikaela Sanchez - @Mika
- Muhammad Naufil - @Muhammad Naufil
- cibaca - @cibaca
- 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