Skip to content

Commit 59c9348

Browse files
committed
readme updated
1 parent 2adecf1 commit 59c9348

1 file changed

Lines changed: 23 additions & 2 deletions

File tree

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
# Federated Learning Example
1+
# Federated Learning mini-framework
2+
3+
This repo contains a Federated Learning (FL) setup with the Keras (Tensorflow) framework. The purpose is to have the
4+
codebase with which you can run FL experiments easily, for both IID and Non-IID data.
5+
6+
The two main components are: Server and Client. The **Server** contains the model description, distributes the data
7+
and coordinates the learning. And for all the clients it summarizes the results to update it's own (global) model.
8+
The **Clients** have different random chunks of data and the model description with the global model's weights. From
9+
this initialized status they can start the training on their own dataset for a few iterations. In a real world
10+
scenario the clients are edge devices and the training is running in parallel.
11+
12+
In this setup the client trainings are running sequentially and you can use only your CPU or just 1 GPU.
213

314
## Cifar10 experiments
415

@@ -7,4 +18,14 @@ Training on Cifar10 with IID data where we had 100 clients and for each round (g
718

819
`python fl.py -e 200 -c 100 -f 0.1 -lr 0.2 -b 64 -ce 1`
920

10-
<img src="art/fl_3_clients_accuracy.png" width="250">
21+
<img src="art/fl_3_clients_accuracy.png" width="350">
22+
23+
## About
24+
25+
Gábor Vecsei
26+
27+
- [Website](https://gaborvecsei.com)
28+
- [Twitter](https://twitter.com/GAwesomeBE)
29+
- [LinkedIn](https://www.linkedin.com/in/gaborvecsei)
30+
- [Personal Blog](https://gaborvecsei.wordpress.com/)
31+
- [Github](https://github.com/gaborvecsei)

0 commit comments

Comments
 (0)