From ecee563dbbbc67383ab9b55f5e7e668dbeee717b Mon Sep 17 00:00:00 2001 From: Teodor Parvanov Date: Mon, 20 Jan 2025 17:10:35 +0100 Subject: [PATCH] Additional fixes for readme.md Signed-off-by: Teodor Parvanov --- .../experimental/workflow/CrowdGuard/readme.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openfl-tutorials/experimental/workflow/CrowdGuard/readme.md b/openfl-tutorials/experimental/workflow/CrowdGuard/readme.md index 8cada70c74..2cb2e16bb1 100644 --- a/openfl-tutorials/experimental/workflow/CrowdGuard/readme.md +++ b/openfl-tutorials/experimental/workflow/CrowdGuard/readme.md @@ -30,16 +30,18 @@ The demo script requires a dedicated allocation of at least 18GB of RAM to run w python -m venv venv source venv/bin/activate ``` -2) Install OpenFL from PyPi +2) Install OpenFL from the latest sources ```shell -pip install -U openfl +git clone https://github.com/securefederatedai/openfl.git && cd openfl +pip install -e . ``` 3) Install the requirements for Workflow API ```shell +cd openfl-tutorials/experimental/workflow/CrowdGuard pip install -r workflow_interface_requirements.txt ``` -4) Start the training script -Note: you can adjust the number of training rounds via the `--comm_round` parameter, with 5 yielding a reasonable execution time on CPU +4) Start the training script
+Note that the number of training rounds can be adjusted via the `--comm_round` parameter: ```shell python cifar10_crowdguard.py --comm_round 5 ``` \ No newline at end of file