Skip to content

PratikGarai/Federated-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Federated-Android

Federated Learning using Sockets on Android using Kivy - A Demo

As the name suggests, it is just a demo simulation for Federated learning on Android devices. Uses no big framework, but a custom Genetic model created by the Ahmed Gad. The code has been taken from this amazing series of blog posts by him. The implementation of the code in his repo didn't work for me due to broken installation paths, so I compiled all the needed files together at a single place. Also made it in a way that the only external requirement is Kivy and Numpy so that no issues are caused during building.

Here are the blog post urls :

  1. Part 1 : Client-Server Application
  2. Part 2 : Multiple Connections using Threading
  3. Part 3 : Training Models using Federated Learning
  4. Part 4 : Working with Mobile Devices

This repo is the implementation of Part 4.
The original codes are here.

How to execute

python server/main.py
python server/client.py
  1. Create, bind and starting listening on te server side.
  2. Create, connect and start training on the client side.

About

Federated Learning using Sockets on Android - A Demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages