-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs/SK-958 | Improve docs #675
Conversation
I have added a few comments. I think it will be better if we take out the APIClient instructions and make a separate quick stack for API-based communication. The one mentioned in this document will not work until we talk about tokens, URLs etc. I think it will cause confusion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes bring clarity to the instructions.
|
||
2. Install FEDn on your client | ||
------------------------------- | ||
First install the FEDn API on your local machine (client): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API and client-side libraries.
|
||
3. Create the compute package and seed model | ||
-------------------------------------------- | ||
**Create the compute package and seed model** | ||
|
||
In order to train a federated model using FEDn, your Studio project needs to be initialized with a ``compute package`` and a ``seed model``. The compute package is a code bundle containing the | ||
code used by the client to execute local training and local validation. The seed model is a first version of the global model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to give them the instructions to generate compute package and seed model:
Locate into the fedn/examples/mnist-pytorch folder.
fedn package create --path client
This will create a file called package.tgz in the root of the project.
Next, create the seed model:
fedn run build --path client
This will create a file called seed.npz in the root of the project.
Description
This PR imroves the docs based on Salman's experiences from running the tutorial in the workshop.