Example projects#

Flower comes with a number of usage examples. The examples demonstrate how Flower can be used to federate different kinds of existing machine learning pipelines, usually leveraging popular machine learning frameworks such as PyTorch or TensorFlow.

The following examples are available as standalone projects. Quickstart TensorFlow/Keras —————————

The TensorFlow/Keras quickstart example shows CIFAR-10 image classification with MobileNetV2:

Quickstart PyTorch#

The PyTorch quickstart example shows CIFAR-10 image classification with a simple Convolutional Neural Network:

PyTorch: From Centralized To Federated#

This example shows how a regular PyTorch project can be federated using Flower:

Federated Learning on Raspberry Pi and Nvidia Jetson#

This example shows how Flower can be used to build a federated learning system that run across Raspberry Pi and Nvidia Jetson: