Skip to content

Commit

Permalink
fixing code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankJonasmoelle committed Aug 20, 2024
1 parent 625b1f7 commit 329f9db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/async-clients/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@ Prepare the example environment, the compute package and seed model
Standing in the folder fedn/examples/async-clients

.. code-block::
pip install -r requirements.txt
Create the compute package and seed model:

.. code-block::
fedn package create --path client
.. code-block::
fedn run build --path client
Expand All @@ -52,22 +55,26 @@ Running a simulation
Deploy FEDn on localhost. Standing in the the FEDn root directory:

.. code-block::
docker-compose up
Initialize FEDn with the compute package and seed model

.. code-block::
python init_fedn.py
Start simulating clients

.. code-block::
python run_clients.py
Start the experiment / training sessions:

.. code-block::
python run_experiment.py
Once global models start being produced, you can start analyzing results using API Client, refer to the notebook "Experiment.ipynb" for instructions.
Expand Down

0 comments on commit 329f9db

Please sign in to comment.