Skip to content

Commit

Permalink
update params
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerroth committed Mar 8, 2024
1 parent 93a9d7c commit d5e4b13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
24 changes: 10 additions & 14 deletions examples/advanced/flower/cifar10/flower_cifar10.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": "a6c92407-974d-45b5-b42f-de363b090966",
"metadata": {},
"source": [
"# NVFlare launcher example with Flower"
"# Running Flower using NVIDIA FLARE Runtime"
]
},
{
Expand Down Expand Up @@ -48,6 +48,14 @@
"print(\"Simulator finished with run_status\", run_status)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "fd0c39da-81c3-4d5e-ac0f-06e0453d0f05",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "b452ff94-cf23-4788-9f55-a0b675849910",
Expand All @@ -74,19 +82,7 @@
"execution_count": null,
"id": "c90df20b-f3b3-4d4b-885b-830874a49552",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2024-03-08 17:44:23,951 - SubprocessLauncher - INFO - DEBUG flwr 2024-03-08 17:44:23,951 | server.py:187 | evaluate_round 26 received 3 results and 0 failures\n",
"2024-03-08 17:44:23,953 - SubprocessLauncher - INFO - DEBUG flwr 2024-03-08 17:44:23,951 | server.py:222 | fit_round 27: strategy sampled 3 clients (out of 3)\n",
"Testing: 100%|██████████| 105/105 [00:00<00:00, 131.68it/s]\n",
"Testing: 100%|██████████| 105/105 [00:00<00:00, 129.02it/s]\n",
"Testing: 100%|██████████| 105/105 [00:00<00:00, 124.83it/s]\n"
]
}
],
"outputs": [],
"source": [
"from nvflare import SimulatorRunner \n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def weighted_average(metrics: List[Tuple[int, Metrics]]) -> Metrics:
# Start Flower server
history = fl.server.start_server(
server_address="0.0.0.0:8080",
config=fl.server.ServerConfig(num_rounds=30),
config=fl.server.ServerConfig(num_rounds=300),
strategy=strategy,
)

Expand Down

0 comments on commit d5e4b13

Please sign in to comment.