Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Dynamic Flower model use on Android by wrapping Flower with Django REST Framework

License

Notifications You must be signed in to change notification settings

FedCampus/dyn_flower_android_drf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE: moved to FedKit


FedKit

Federated Learning (FL) and Federated Analytics (FA) development kit for FedCampus.

This repository contains the libraries used to implement the FL and FA functionalities of the FedCampus app.

Architecture

Backend

The backend server uses Django REST Framework to provide persistent service and on-demand, backend-configurable training.

The FL training steps are supported using the Flower FL framework. Flower servers use gRPC, and are spawned on-demand by the backend server.

Located at backend/. Please see backend/README.md for information on how to set up the backend server.

Mobile clients

Android client

The Android client package and demo is located at client/.

To try out the Android client, please see client/README.md.

To use the library in this repository to implement custom Android Flower clients, please see client/fedcampus/README.md.

iOS client

  • Training using Flower.
  • Communication with the Backend.

ML model generation

We support TensorFlow (Keras) models.

ML model for Android

The ML model generation script for Android is located at gen_tflite/. Please see gen_tflite/README.md for information on how to create models and convert them to .tflite files.

Development

Development on Python code

  • Use Python3.10 or above.
  • Install dependencies using requirements.txts.

Contributing

Please see CONTRIBUTING.md for FedCampus.

History

This repository is moved from dyn_flower_android_drf to FedKit. Please see the older Git history in the former repository.

About

Dynamic Flower model use on Android by wrapping Flower with Django REST Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published