From bdb9e9e353f89e369228831963bd623fd94ea9b5 Mon Sep 17 00:00:00 2001 From: sowmyasris Date: Fri, 6 Sep 2024 14:42:22 +0200 Subject: [PATCH] Docs/SK-956 | Update docs to include new CLI entrypoints commands (#694) --- docs/projects.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/projects.rst b/docs/projects.rst index 4ff75549f..ff4c6e735 100644 --- a/docs/projects.rst +++ b/docs/projects.rst @@ -385,6 +385,15 @@ Then, standing inside the 'client folder', you can test *train* and *validate* b python train.py ../seed.npz ../model_update.npz --data_path data/clients/1/mnist.pt python validate.py ../model_update.npz ../validation.json --data_path data/clients/1/mnist.pt +You can also test *train* and *validate* entrypoint using CLI command: + +.. note:: Before running the fedn run train or fedn run validate commands, make sure to download the training and test data. The downloads are usually handled by the "fedn run startup" command in the examples provided by FEDn. + +.. code-block:: bash + + fedn run train --path client --input --output + fedn run validate --path client --input --output + Packaging for training on FEDn ===============================