Skip to content

mikaelasanchez/federated-learning-on-raspberry-pi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Federated Learning with Raspberry PI (PySyft)

This is Mika's forked repository so it will not be up-to-date and only contain her contribution to the project

Scholars from the Secure and Private AI Scholarship Challenge from Facebook and Udacity working together to implement the tutorial from OpenMined: https://blog.openmined.org/federated-learning-of-a-rnn-on-raspberry-pis/

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

Topics

Project lead

Other Contributors/Team

Start Contributing

The tutorial on how to contribute can be found here. https://github.com/shashigharti/federated-learning-on-raspberry-pi/wiki/How-to-contribute

Getting Started:

Project Equipment Setup

This project requires the following equipment:

1. Raspberry PIs:

-- > 2 Raspberry PIs 3 B+ running Raspbian Stretch 4.14 -- > The PIs are connected to the internet via Ethernet cables. -- > Each PI has its own static IP(Internet Protocol) address.

2. Laptop or Desktop:

-- > The laptop or desktop machine is running Ubuntu 18.04 LTS and connected to the same LAN where the Raspberry PIs through a switch.

3. Ethernet Port

A TP-Link 5-Port Ethernet Switch was used

Libraries and Dependencies

The following are the major python libraries and dependencies used in the project

  1. Install Python 3.6.7 which is the version that seems to be compatible and more stable with PySyft and PyTorch at the moment.
  2. Install PyTorch 1.0.0 This section proves difficult and took several hours to complete. Some of the project members had the experience where their installation got stuck or even crashed halfway through. Before installing PyTorch a swap file was created. Then install PyTorch.
  3. Install PySyft and its dependencies

About

Federated Learning with Raspberry PI (PySyft)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • Roff 0.2%