Skip to content

Commit

Permalink
Fix | FEDN_DATA_PATH in quickstart (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahellander authored May 3, 2024
1 parent d25ac40 commit f667ed9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ For example, to split the data in 10 parts and start a client using the 8th part

export FEDN_PACKAGE_EXTRACT_DIR=package
export FEDN_NUM_DATA_SPLITS=10
export FEDN_DATA_PATH=package/data/clients/8/mnist.pt
export FEDN_DATA_PATH=./data/clients/8/mnist.pt
fedn run client -in client.yaml --secure=True --force-ssl

.. code-tab:: bash
:caption: Windows (Powershell)

$env:FEDN_PACKAGE_EXTRACT_DIR="package"
$env:FEDN_NUM_DATA_SPLITS=10
$env:FEDN_DATA_PATH="package/data/clients/8/mnist.pt"
$env:FEDN_DATA_PATH="./data/clients/8/mnist.pt"
fedn run client -in client.yaml --secure=True --force-ssl


Expand Down
2 changes: 1 addition & 1 deletion examples/mnist-pytorch/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ For example, to split the data in 10 parts and start a client using the 8th part
export FEDN_PACKAGE_EXTRACT_DIR=package
export FEDN_NUM_DATA_SPLITS=10
export FEDN_DATA_PATH=package/data/clients/8/mnist.pt
export FEDN_DATA_PATH=./data/clients/8/mnist.pt
fedn run client -in client.yaml --secure=True --force-ssl
The default is to split the data into 2 partitions and use the first partition.
Expand Down

0 comments on commit f667ed9

Please sign in to comment.