Skip to content

Commit

Permalink
Moved notebook into pytorch example folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Hellander committed Jan 24, 2024
1 parent 5a80fcf commit f70a7d5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"metadata": {},
"outputs": [],
"source": [
"client.set_package('../mnist-pytorch/package.tgz', 'numpyhelper')\n",
"client.set_initial_model('../mnist-pytorch/seed.npz')\n",
"client.set_package('package.tgz', 'numpyhelper')\n",
"client.set_initial_model('seed.npz')\n",
"seed_model = client.get_initial_model()"
]
},
Expand Down Expand Up @@ -96,7 +96,7 @@
},
{
"cell_type": "markdown",
"id": "48b1c772",
"id": "4eeea5aa",
"metadata": {},
"source": [
"Wait until the session finished. Then run a session using FedAdam:"
Expand All @@ -122,7 +122,7 @@
},
{
"cell_type": "markdown",
"id": "331beb08",
"id": "29552af9",
"metadata": {},
"source": [
"Next, we retrive all model validations from all clients, extract the training accuracy metric, and compute its mean value accross all clients"
Expand Down Expand Up @@ -187,7 +187,7 @@
},
{
"cell_type": "markdown",
"id": "1f2112ae",
"id": "40db4542",
"metadata": {},
"source": [
"Finally, plot the resulting accuracy"
Expand Down

0 comments on commit f70a7d5

Please sign in to comment.