https://github.com/scaleoutsystems/fedn-sandbox
https://github.com/scaleoutsystems/fedn-sandbox
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/scaleoutsystems/fedn-sandbox
- Owner: scaleoutsystems
- License: apache-2.0
- Created: 2024-11-01T12:03:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-01T13:34:55.000Z (over 1 year ago)
- Last Synced: 2025-01-10T18:23:47.998Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 425 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prerequisites
- Docker and docker compose
- FEDn, install with ```pip3 install fedn```.
# Setting up a sandbox environment
To launch the environment, run:
```
docker-compose up
```
and wait for all services to initialize.
Next, add the following entry to your hosts file:
```
127.0.0.1 api-server combiner
```
If you want to connect the client from a different computer, you would have to change IP to the IP of the computer running the API server and the combiner.
Open the API_Example.ipynb notebook and run the first cells, setting the compute package and the seed model. Then start a client with:
```
fedn client start -in client.yaml
```
Once the client is running, you can proceed with the remaining steps in the notebook to start a session and plot the results.