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
- Host: GitHub
- URL: https://github.com/yingding/federated-learning
- Owner: yingding
- Created: 2021-08-25T14:23:56.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T19:52:29.000Z (over 4 years ago)
- Last Synced: 2025-10-25T22:47:28.647Z (9 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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