An open API service indexing awesome lists of open source software.

https://github.com/yingding/federated-learning

this repository contains code examples for federated learning
https://github.com/yingding/federated-learning

Last synced: 14 days ago
JSON representation

this repository contains code examples for federated learning

Awesome Lists containing this project

README

          

# Introduction
this repository contains code examples for federated learning with Python3 programming language and TensorFlow Federated (TFF)

## Make a VENV with pip3

#### Create a VENV
```console
python3 -m venv /path/to/new/virtual/environment
```

#### Activate a VENV in console
```console
source /bin/activate

```

#### Deactivate a VENV in console
```console
(/your/venv): deactivate
```

## Export and Import Libs for TFF

#### export libs from virtual env
```console
pip3 freeze > requirements.txt
```

#### import libs into the VENV
```console
pip3 install -r requirements.txt
```

# References
* TensorFlow Federated Overview: https://www.tensorflow.org/federated
* TensorFlow Federated Tutorials: https://www.tensorflow.org/federated/tutorials/tutorials_overview