Skip to content

Commit

Permalink
update based on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chesterxgchen committed Aug 26, 2024
1 parent ab8743f commit 24f462b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 30 deletions.
18 changes: 4 additions & 14 deletions examples/hello-world/step-by-step/cifar10/stats/image_stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -467,21 +467,11 @@
"\n",
"**Run Job using Simulator CLI**\n",
"\n",
"you can skip this section if you want to move to view results.\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0cdc008c-2447-4d4a-9911-4c1fb1c28aaa",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"```\n",
"! python image_stats_job.py -co -j /tmp/nvflare/jobs/stats_image -n 2\n",
"! nvflare simulator /tmp/nvflare/jobs/stats_image -w /tmp/nvflare/image_stats -n 2 -t 2\n"
"! nvflare simulator /tmp/nvflare/jobs/stats_image -w /tmp/nvflare/image_stats -n 2 -t 2\n",
"\n",
"```\n"
]
},
{
Expand Down
21 changes: 5 additions & 16 deletions examples/hello-world/step-by-step/higgs/stats/tabular_stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,7 @@
"Now we can run the job with simulator. There are two ways to run this. \n",
"1) directly the job via job.sumulate() \n",
"2) generate job config, then use simulator CLI \n",
"\n",
"We will show both. \n",
"\n",
" \n",
"**Run job.simulator_run()**\n",
"\n",
"> note\n",
Expand All @@ -345,20 +343,11 @@
"\n",
"**Export job config, Run Job using Simulator CLI**\n",
"\n",
"you can skip this section if you want to move to view results.\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "181e3bb5-ab13-41c7-9f15-2ec812ccbe60",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"```\n",
"! python code/df_stats_job.py -co -j /tmp/nvflare/jobs/stats_df_job -n 3\n",
"! nvflare simulator /tmp/nvflare/jobs/stats_df_job/stats_df/ -w /tmp/nvflare/tabular/stats_df -n 3 -t 3"
"! nvflare simulator /tmp/nvflare/jobs/stats_df_job/stats_df/ -w /tmp/nvflare/tabular/stats_df -n 3 -t 3\n",
"\n",
"```\n"
]
},
{
Expand Down

0 comments on commit 24f462b

Please sign in to comment.