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 ===============================